Ruyi SDK
Namespaces
Ruyi.SDK.Online
RuyiNetGamificationService Class
RuyiNetGamificationService Methods
AwardAchievement Method
AwardAchievements Method
ReadAchievedAchievements Method
ReadAchievements Method
Click or drag to resizeClick or drag to resize

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
C#
Copy
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

Reference

RuyiNetGamificationService Class
Ruyi.SDK.Online Namespace

Copyright ©Zhongshan Subor Advanced Technology Co., Ltd. 2017-2018, All right reserved

Send comments on this topic to dev-support@playruyi.com