| RuyiNetLeaderboardServiceGetSocialLeaderboard Method |
[This is preliminary documentation and is subject to change.]
Retrieves a leaderboard for all the users friends.
Namespace:
Ruyi.SDK.Online
Assembly:
RuyiSDK (in RuyiSDK.dll) Version: 0.9.3.3995 (0.9.3.3995)
Syntax public void GetSocialLeaderboard(
int index,
string leaderboardId,
bool replaceName,
Action<RuyiNetLeaderboardPage> callback
)
Parameters
- index
- Type: SystemInt32
The index of user - leaderboardId
- Type: SystemString
The ID of the leaderboard to retrieve. - replaceName
- Type: SystemBoolean
If this is true the current player’s name will be replaced with “You”. - callback
- Type: SystemActionRuyiNetLeaderboardPage
The function to call when the data is retrieved.
See Also