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

RuyiNetLeaderboardServicePostScoreToDynamicLeaderboard Method (Int32, Int32, String, RuyiNetLeaderboardType, RuyiNetRotationType, Int64, Int32, 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
C#
Copy
public void PostScoreToDynamicLeaderboard(
	int index,
	int score,
	string leaderboardId,
	RuyiNetLeaderboardType leaderboardType,
	RuyiNetRotationType rotationType,
	long rotationReset,
	int retainedCount,
	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.
callback
Type: SystemActionBoolean
The function to call when the data is retrieved.
See Also

Reference

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