Beamable SDK
|
This class defines the main entry point for the Leaderboards feature. More...
Public Member Functions | |
LeaderboardService (PlatformService platform, IBeamableRequester requester, UserDataCache< RankEntry >.FactoryFunction cacheFactory) | |
Public Member Functions inherited from Beamable.Common.Api.Leaderboards.LeaderboardApi | |
LeaderboardApi (IBeamableRequester requester, IUserContext userContext, UserDataCache< RankEntry >.FactoryFunction factoryFunction) | |
UserDataCache< RankEntry > | GetCache (string boardId) |
Promise< RankEntry > | GetUser (LeaderboardRef leaderBoard, long gamerTag) |
Promise< RankEntry > | GetUser (string boardId, long gamerTag) |
Promise< LeaderBoardView > | GetBoard (LeaderboardRef leaderBoard, int @from, int max, long? focus=null, long? outlier=null) |
Promise< LeaderBoardView > | GetBoard (string boardId, int @from, int max, long? focus=null, long? outlier=null) |
Promise< LeaderBoardView > | GetRanks (LeaderboardRef leaderBoard, List< long > ids) |
Promise< LeaderBoardView > | GetRanks (string boardId, List< long > ids) |
Promise< EmptyResponse > | SetScore (LeaderboardRef leaderBoard, double score, IDictionary< string, object > stats=null) |
Promise< EmptyResponse > | SetScore (string boardId, double score, IDictionary< string, object > stats=null) |
Promise< EmptyResponse > | IncrementScore (LeaderboardRef leaderBoard, double score, IDictionary< string, object > stats=null) |
Promise< EmptyResponse > | IncrementScore (string boardId, double score, IDictionary< string, object > stats=null) |
Public Member Functions inherited from Beamable.Common.Api.Leaderboards.ILeaderboardApi | |
Promise< LeaderBoardView > | GetBoard (LeaderboardRef leaderBoard, int from, int max, long? focus=null, long? outlier=null) |
Promise< LeaderBoardView > | GetBoard (string boardId, int from, int max, long? focus=null, long? outlier=null) |
Additional Inherited Members | |
Protected Member Functions inherited from Beamable.Common.Api.Leaderboards.LeaderboardApi | |
Promise< EmptyResponse > | Update (string boardId, double score, bool increment=false, IDictionary< string, object > stats=null) |
Properties inherited from Beamable.Common.Api.Leaderboards.LeaderboardApi | |
IBeamableRequester | Requester [get] |
IUserContext | UserContext [get] |
This class defines the main entry point for the Leaderboards feature.