Ruyi SDK
Namespaces
Ruyi.SDK.Online
RuyiNetLeaderboardService Class
RuyiNetLeaderboardService Methods
GetGlobalLeaderboardPage Method
GetGlobalLeaderboardPage Method (Int32, String, SortOrder, Int32, Int32, Action(RuyiNetLeaderboardPage))
GetGlobalLeaderboardPage Method (Int32, String, SortOrder, Int32, Int32, Int32, Action(RuyiNetLeaderboardPage))
Click or drag to resizeClick or drag to resize

RuyiNetLeaderboardServiceGetGlobalLeaderboardPage Method (Int32, String, SortOrder, Int32, Int32, ActionRuyiNetLeaderboardPage)

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

Retrieves paginated data from a leaderboard.

Namespace:  Ruyi.SDK.Online
Assembly:  RuyiSDK (in RuyiSDK.dll) Version: 0.9.3.3995 (0.9.3.3995)
Syntax
C#
Copy
public void GetGlobalLeaderboardPage(
	int index,
	string leaderboardId,
	SortOrder sort,
	int startIndex,
	int endIndex,
	Action<RuyiNetLeaderboardPage> callback
)

Parameters

index
Type: SystemInt32
The index of user
leaderboardId
Type: SystemString
The ID of the leaderboard to retrieve.
sort
Type: Ruyi.SDK.BrainCloudApiSortOrder
How to sort the data.
startIndex
Type: SystemInt32
The first entry to retrieve.
endIndex
Type: SystemInt32
The last entry to retrieve.
callback
Type: SystemActionRuyiNetLeaderboardPage
The function to call when the data is retrieved.
See Also

Reference

RuyiNetLeaderboardService Class
GetGlobalLeaderboardPage Overload
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