| RuyiNetLeaderboardServiceGetGlobalLeaderboardView Method (Int32, String, SortOrder, Int32, Int32, ActionRuyiNetLeaderboardPage) |
[This is preliminary documentation and is subject to change.]
Retrieves data from a leaderboard centered around the current player.
Namespace:
Ruyi.SDK.Online
Assembly:
RuyiSDK (in RuyiSDK.dll) Version: 0.9.3.3995 (0.9.3.3995)
Syntax public void GetGlobalLeaderboardView(
int index,
string leaderboardId,
SortOrder sort,
int beforeCount,
int afterCount,
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. - beforeCount
- Type: SystemInt32
How many entries before the current player to retrieve. - afterCount
- Type: SystemInt32
How many entries after the current player to retrieve. - callback
- Type: SystemActionRuyiNetLeaderboardPage
The function to call when the data is retrieved.
See Also