Ruyi SDK
Namespaces
Ruyi.SDK.Online
RuyiNetLeaderboardService Class
RuyiNetLeaderboardService Methods
PostScoreToLeaderboard Method
PostScoreToLeaderboard Method (Int32, Int32, String, Action(Boolean))
PostScoreToLeaderboard Method (Int32, Int32, String, String, Action(Boolean))
Click or drag to resizeClick or drag to resize

RuyiNetLeaderboardServicePostScoreToLeaderboard Method (Int32, Int32, String, 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
C#
Copy
public void PostScoreToLeaderboard(
	int index,
	int score,
	string leaderboardId,
	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.
data
Type: SystemString
Custom data for the developer to use.
callback
Type: SystemActionBoolean
The function to call when the data is retrieved.
See Also

Reference

RuyiNetLeaderboardService Class
PostScoreToLeaderboard Overload
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