Example #1
0
    public override void RequestLeaderboardEntries(string level, int playerCount, int from, int to, LeaderboardAction action)
    {
        currDownloadedEntries.Clear();
        for (int i = 0; i < to; i++)
        {
            currDownloadedEntries.Add(new LeaderboardEntry(null, new CSteamID(), 0, 0, 0, 0, 0, 0));
        }
        currAction      = action;
        downloadRange   = new Vector2(from, to);
        downloadEntries = true;

        SteamAPICall_t findHandle = SteamUserStats.FindLeaderboard(level + " - " + playerCount);

        LeaderboardFindResult.Set(findHandle, OnLeaderboardFindResult);
    }
Example #2
0
 public virtual void RequestLeaderboardEntries(string level, int playerCount, int from, int to, LeaderboardAction action)
 {
 }