Пример #1
0
        public void LoadLeaderboard(Leaderboard board, FriendCollection friends, Gamer gamer)
        {
            LeaderboardIdentity identity = LeaderboardInfo.GetIdentity(board);

            Request    = LeaderboardReader.BeginRead(identity, friends, gamer, friends.Count + 1, null, gamer);
            Reader     = null;
            ReadState  = AsyncRequest.FullRead;
            NumEntries = 0;
            ResetCaches();
            Columns         = LeaderboardInfo.GetColumns(board);
            LeaderboardName = LeaderboardInfo.GetName(board);
        }
Пример #2
0
        public void LoadLeaderboard(Leaderboard board)
        {
            LeaderboardIdentity identity = LeaderboardInfo.GetIdentity(board);

            Request    = LeaderboardReader.BeginRead(identity, 0, 50, null, null);
            Reader     = null;
            ReadState  = AsyncRequest.FullRead;
            NumEntries = 0;
            ResetCaches();
            Columns         = LeaderboardInfo.GetColumns(board);
            LeaderboardName = LeaderboardInfo.GetName(board);
        }