| RuyiNetLeaderboardServicePostScoreToLeaderboard Method (Int32, Int32, String, ActionBoolean) |
[This is preliminary documentation and is subject to change.]
Adds a score to a leaderboard.
Namespace:
Ruyi.SDK.Online
Assembly:
RuyiSDK (in RuyiSDK.dll) Version: 0.9.3.3995 (0.9.3.3995)
Syntax public void PostScoreToLeaderboard(
int index,
int score,
string leaderboardId,
Action<bool> callback
)
Parameters
- index
- Type: SystemInt32
The index of user - score
- Type: SystemInt32
The score to post - leaderboardId
- Type: SystemString
The ID of the leaderboard to post to. - callback
- Type: SystemActionBoolean
The function to call when the data is retrieved.
See Also