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

RuyiNetLeaderboardServiceGetPlayerScore Method (Int32, String, Int32, ActionRuyiNetPlayerScore)

[This is preliminary documentation and is subject to change.]

Retrieves the player's score for 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 GetPlayerScore(
	int index,
	string leaderboardId,
	int versionId,
	Action<RuyiNetPlayerScore> callback
)

Parameters

index
Type: SystemInt32
The index of user
leaderboardId
Type: SystemString
The ID of the leaderboard to retrieve.
versionId
Type: SystemInt32
The version of the leaderboard to retrieve data for.
callback
Type: SystemActionRuyiNetPlayerScore
The function to call when the data is retrieved.
See Also

Reference

RuyiNetLeaderboardService Class
GetPlayerScore 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