예제 #1
0
        // TODO: This should return a reference to an obj that can cancel all requests.
        public void ExecuteAsync(GhostScoresDidLoadHandler handler)
        {
            _handler = handler;
            OKLeaderboard leaderboard = new OKLeaderboard();

            leaderboard.LeaderboardID = this.LeaderboardID;

            // Kick off the chain...
            leaderboard.GetFacebookFriendsScores(FacebookFriendsScoresDidLoad);
        }
예제 #2
0
        // TODO: This should return a reference to an obj that can cancel all requests.
        public void ExecuteAsync(GhostScoresDidLoadHandler handler)
        {
            _handler = handler;
            OKLeaderboard leaderboard = new OKLeaderboard();
            leaderboard.LeaderboardID = this.LeaderboardID;

            // Kick off the chain...
            leaderboard.GetFacebookFriendsScores(FacebookFriendsScoresDidLoad);
        }