| RuyiNetLeaderboardServicePostScoreToDynamicLeaderboard Method (Int32, Int32, String, RuyiNetLeaderboardType, RuyiNetRotationType, Int64, Int32, String, ActionBoolean) |
[This is preliminary documentation and is subject to change.]
Adds a score to a leaderboard that will be dynamically created if it doesn't exist.
Namespace:
Ruyi.SDK.Online
Assembly:
RuyiSDK (in RuyiSDK.dll) Version: 0.9.3.3995 (0.9.3.3995)
Syntax public void PostScoreToDynamicLeaderboard(
int index,
int score,
string leaderboardId,
RuyiNetLeaderboardType leaderboardType,
RuyiNetRotationType rotationType,
long rotationReset,
int retainedCount,
string data,
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. - leaderboardType
- Type: Ruyi.SDK.OnlineRuyiNetLeaderboardType
The type of leaderboard to create. - rotationType
- Type: Ruyi.SDK.OnlineRuyiNetRotationType
The rotation type of the leaderboard to create. - rotationReset
- Type: SystemInt64
The time the leaderboard will reset. - retainedCount
- Type: SystemInt32
How many versions of the leaderboard to retain. - data
- Type: SystemString
Custom data for the developer to use. - callback
- Type: SystemActionBoolean
The function to call when the data is retrieved.
See Also