Example #1
0
            public LeaderboardReaderAction(
                object state,
                AsyncCallback callback,
                LeaderboardIdentity identity,
                int start,
                int size,
                Gamer pivot,
                IEnumerable <Gamer> gamers
                )
            {
                AsyncState      = state;
                Callback        = callback;
                IsCompleted     = false;
                AsyncWaitHandle = new ManualResetEvent(true);

                ID         = identity;
                PageStart  = start;
                PageSize   = size;
                PivotGamer = pivot;
                Gamers     = gamers;

                Leaderboards.TryGetValue(ID.Key, out Leaderboard);
            }