예제 #1
0
 private void GetLeaderboardCompleted(object sender, XboxLivePrefab.StatEventArgs e)
 {
     if (e.EventData.ErrorInfo == null)
     {
         LeaderboardResultEventArgs leaderboardArgs = (LeaderboardResultEventArgs)e.EventData.EventArgs;
         UpdateData(leaderboardArgs.Result);
     }
 }
예제 #2
0
    private void GetLeaderboardCompleted(object sender, XboxLivePrefab.StatEventArgs e)
    {
        if (e.EventData.ErrorInfo != null)
        {
            return;
        }

        LeaderboardResultEventArgs leaderboardArgs = (LeaderboardResultEventArgs)e.EventData.EventArgs;

        this.LoadResult(leaderboardArgs.Result);
    }
        private void GetLeaderboardCompleted(object sender, StatEventArgs e)
        {
            if (e.EventData.ErrorCode != 0)
            {
                return;
            }

            LeaderboardResultEventArgs leaderboardArgs = (LeaderboardResultEventArgs)e.EventData.EventArgs;

            this.LoadResult(leaderboardArgs.Result);
        }
예제 #4
0
    private void GetLeaderboardCompleted(object sender, XboxLivePrefab.StatEventArgs e)
    {
#if ENABLE_WINMD_SUPPORT
        if (e.EventData.ErrorCode != 0)
        {
            return;
        }

        LeaderboardResultEventArgs leaderboardArgs = (LeaderboardResultEventArgs)e.EventData.EventArgs;
        this.LoadResult(leaderboardArgs.Result);
#endif
    }