Beamable SDK
Public Member Functions | Public Attributes | List of all members
Beamable.Common.Api.Leaderboards.LeaderBoardView Class Reference
Collaboration diagram for Beamable.Common.Api.Leaderboards.LeaderBoardView:
Collaboration graph
[legend]

Public Member Functions

Dictionary< long, RankEntryToDictionary ()
 Convert the rankings list into a dictionary from gamertag to RankEntry. More...
 
List< RankEntryToList ()
 Make a copy of the rankings list More...
 

Public Attributes

string lbId
 The leaderboard id
 
long boardsize
 How many players the leaderboard may contain
 
RankEntry rankgt
 The RankEntry of the current player
 
List< RankEntryrankings
 A set of RankEntrys that represent this section of the leaderboard view. Use the ToDictionary method to convert this list into a dictionary for more convenient access.
 

Member Function Documentation

◆ ToDictionary()

Dictionary< long, RankEntry > Beamable.Common.Api.Leaderboards.LeaderBoardView.ToDictionary ( )
inline

Convert the rankings list into a dictionary from gamertag to RankEntry.

Returns
A dictionary where each key is a gamertag, pointing the RankEntry for that player.

◆ ToList()

List< RankEntry > Beamable.Common.Api.Leaderboards.LeaderBoardView.ToList ( )
inline

Make a copy of the rankings list

Returns
A copy of the rankings list

The documentation for this class was generated from the following file: