|
Task< ReadOnlyCollection< LCStatistic > > | GetStatistics (IEnumerable< LCUser > users) |
| Gets the statistics of the users.
|
|
Task< ReadOnlyCollection< LCStatistic > > | GetStatistics (IEnumerable< LCObject > objects) |
| Gets the statistics of the objects.
|
|
Task< ReadOnlyCollection< LCStatistic > > | GetStatistics (IEnumerable< string > entities) |
| Gets the statistics of the entities.
|
|
async Task< ReadOnlyCollection< LCLeaderboardArchive > > | GetArchives (int skip=0, int limit=10) |
| Gets historical data of this leaderboard.
|
|
Task< ReadOnlyCollection< LCRanking > > | GetResults (int version=-1, int skip=0, int limit=10, IEnumerable< string > selectKeys=null, IEnumerable< string > includeKeys=null, IEnumerable< string > includeStatistics=null) |
| Gets the rankings.
|
|
async Task< ReadOnlyCollection< LCRanking > > | GetResultsAroundUser (int version=-1, int skip=0, int limit=10, IEnumerable< string > selectKeys=null, IEnumerable< string > includeKeys=null, IEnumerable< string > includeStatistics=null) |
| Get the rankings that around the currently logged in user.
|
|
Task< ReadOnlyCollection< LCRanking > > | GetResults (LCUser aroundUser, int version=-1, int skip=0, int limit=10, IEnumerable< string > selectKeys=null, IEnumerable< string > includeKeys=null, IEnumerable< string > includeStatistics=null) |
| Get the rankings that around the user.
|
|
Task< ReadOnlyCollection< LCRanking > > | GetResults (LCObject aroundObject, int version=-1, int skip=0, int limit=10, IEnumerable< string > selectKeys=null, IEnumerable< string > includeKeys=null, IEnumerable< string > includeStatistics=null) |
| Get the rankings that around the object.
|
|
Task< ReadOnlyCollection< LCRanking > > | GetResults (string aroundEntity, int version=-1, int skip=0, int limit=10) |
| Get the rankings that around the entity.
|
|
Task< ReadOnlyCollection< LCRanking > > | GetGroupResults (IEnumerable< string > ids, int version=-1, int skip=0, int limit=10, IEnumerable< string > selectKeys=null, IEnumerable< string > includeKeys=null, IEnumerable< string > includeStatistics=null) |
|
Task< ReadOnlyCollection< LCRanking > > | GetGroupResultsAroundUser (LCUser user, IEnumerable< string > ids, int version=-1, int skip=0, int limit=10, IEnumerable< string > selectKeys=null, IEnumerable< string > includeKeys=null, IEnumerable< string > includeStatistics=null) |
|
async Task< LCLeaderboard > | UpdateUpdateStrategy (LCLeaderboardUpdateStrategy updateStrategy) |
| Updates the update strategy of this LCLeaderboard.
|
|
async Task< LCLeaderboard > | UpdateVersionChangeInterval (LCLeaderboardVersionChangeInterval versionChangeInterval) |
| Updates the interval of the version that this LCLeaderboard changes.
|
|
async Task< LCLeaderboard > | Fetch () |
| Fetches leaderboard data.
|
|
async Task< LCLeaderboard > | Reset () |
| Resets this leaderboard.
|
|
async Task | Destroy () |
| Destroys this leaderboard.
|
|
|
static async Task< LCLeaderboard > | CreateLeaderboard (string statisticName, LCLeaderboardOrder order=LCLeaderboardOrder.Descending, LCLeaderboardUpdateStrategy updateStrategy=LCLeaderboardUpdateStrategy.Better, LCLeaderboardVersionChangeInterval versionChangeInterval=LCLeaderboardVersionChangeInterval.Week, string memberType=USER_MEMBER_TYPE) |
| Creates a LCLeaderboard with a statistic name.
|
|
static LCLeaderboard | CreateWithoutData (string statisticName, string memberType=USER_MEMBER_TYPE) |
| Creates an empty leaderboard with a specified name.
|
|
static Task< LCLeaderboard > | GetLeaderboard (string statisticName) |
| Gets the LCLeaderboard with the given name.
|
|
static Task< ReadOnlyCollection< LCStatistic > > | UpdateStatistics (LCUser user, Dictionary< string, double > statistics, bool overwrite=false) |
| Updates the statistic of the user.
|
|
static Task< ReadOnlyCollection< LCStatistic > > | UpdateStatistics (LCObject obj, Dictionary< string, double > statistics, bool overwrite=false) |
| Updates the statistic of the object.
|
|
static Task< ReadOnlyCollection< LCStatistic > > | UpdateStatistics (string entity, Dictionary< string, double > statistics, bool overwrite=false) |
| Updates the statistic of the entity.
|
|
static Task< ReadOnlyCollection< LCStatistic > > | GetStatistics (LCUser user, IEnumerable< string > statisticNames=null) |
| Gets the statistics of the user.
|
|
static Task< ReadOnlyCollection< LCStatistic > > | GetStatistics (LCObject obj, IEnumerable< string > statisticNames=null) |
| Gets the statistics of the object.
|
|
static Task< ReadOnlyCollection< LCStatistic > > | GetStatistics (string entity, IEnumerable< string > statisticNames=null) |
| Gets the statistics of the entity.
|
|
static Task | DeleteStatistics (LCUser user, IEnumerable< string > statisticNames) |
| Deletes the statistics of the user with the given names.
|
|
static Task | DeleteStatistics (LCObject obj, IEnumerable< string > statisticNames) |
| Deletes the statistics of the object with the given names.
|
|
static Task | DeleteStatistics (string entity, IEnumerable< string > statisticNames) |
| Deletes the statistics of the entity with the given names.
|
|
LCLeaderboard represents LeanCloud leaderboard and contains static functions that handle the statistic.