Ruyi SDK
Namespaces
Ruyi.SDK.Online
RuyiNetLeaderboardService Class
RuyiNetLeaderboardService Methods
CreateLeaderboard Method
GetGLobalLeaderboardPage Method
GetGlobalLeaderboardView Method
GetSocialLeaderboard Method
PostScoreToLeaderboard Method
Click or drag to resizeClick or drag to resize

RuyiNetLeaderboardServiceCreateLeaderboard Method

[This is preliminary documentation and is subject to change.]

Create a leaderboard. This will be deprecated when the developer portal is available.

Namespace:  Ruyi.SDK.Online
Assembly:  SDK.RuyiSDKAsync (in SDK.RuyiSDKAsync.dll) Version: 0.9.3.3995
Syntax
C#
Copy
public Task<RuyiNetResponse> CreateLeaderboard(
	int index,
	string id,
	RuyiNetLeaderboardType type,
	RuyiNetRotationType rotationType
)

Parameters

index
Type: SystemInt32
The index of user
id
Type: SystemString
The ID of the new leaderboard.
type
Type: Ruyi.SDK.OnlineRuyiNetLeaderboardType
The type of leaderboard to create.
rotationType
Type: Ruyi.SDK.OnlineRuyiNetRotationType
How often the leaderboard will rotate scores.

Return Value

Type: TaskRuyiNetResponse

[Missing <returns> documentation for "M:Ruyi.SDK.Online.RuyiNetLeaderboardService.CreateLeaderboard(System.Int32,System.String,Ruyi.SDK.Online.RuyiNetLeaderboardType,Ruyi.SDK.Online.RuyiNetRotationType)"]

See Also

Reference

RuyiNetLeaderboardService Class
Ruyi.SDK.Online Namespace

Copyright ©Zhongshan Subor Advanced Technology Co., Ltd. 2017-2018, All right reserved

Send comments on this topic to dev-support@playruyi.com