Ruyi SDK
Namespaces
Ruyi.SDK.Online
RuyiNetLeaderboardService Class
RuyiNetLeaderboardService Methods
CreateLeaderboard Method
GetGLobalLeaderboardPage Method
GetGlobalLeaderboardView Method
GetSocialLeaderboard Method
PostScoreToLeaderboard Method
Click or drag to resizeClick or drag to resize

RuyiNetLeaderboardServiceGetGlobalLeaderboardView Method

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

Retrieves data from a leaderboard centered around the current player.

Namespace:  Ruyi.SDK.Online
Assembly:  SDK.RuyiSDKAsync (in SDK.RuyiSDKAsync.dll) Version: 0.9.3.3995
Syntax
C#
Copy
public Task<RuyiNetLeaderboardResponse> GetGlobalLeaderboardView(
	int index,
	string id,
	SortOrder sort,
	int beforeCount,
	int afterCount
)

Parameters

index
Type: SystemInt32
The index of user
id
Type: SystemString
The ID of the leaderboard to retrieve.
sort
Type: Ruyi.SDK.BrainCloudApiSortOrder
How to sort the data.
beforeCount
Type: SystemInt32
How many entries before the current player to retrieve.
afterCount
Type: SystemInt32
How many entries after the current player to retrieve.

Return Value

Type: TaskRuyiNetLeaderboardResponse

[Missing <returns> documentation for "M:Ruyi.SDK.Online.RuyiNetLeaderboardService.GetGlobalLeaderboardView(System.Int32,System.String,Ruyi.SDK.BrainCloudApi.SortOrder,System.Int32,System.Int32)"]

See Also

Reference

RuyiNetLeaderboardService 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