| RuyiNetGamificationServiceAwardAchievement Method |
[This is preliminary documentation and is subject to change.]
Award a single achievement to the player.
Namespace:
Ruyi.SDK.Online
Assembly:
RuyiSDK (in RuyiSDK.dll) Version: 0.9.3.3995 (0.9.3.3995)
Syntax public void AwardAchievement(
int index,
string achievementId,
Action<RuyiNetAchievement> callback
)
Parameters
- index
- Type: SystemInt32
The index of the user. - achievementId
- Type: SystemString
The ID of the achievement to unlock. - callback
- Type: SystemActionRuyiNetAchievement
Called when the achievement is unlocked.
See Also