Esempio n. 1
0
 protected void HandleGetStatHelper(object sender, XboxLiveUserEventArgs args)
 {
     if (this.xboxLiveUser == null)
     {
         this.xboxLiveUser = SignInManager.Instance.GetPlayer(this.PlayerNumber);
     }
     if (this.xboxLiveUser != null && this.xboxLiveUser.IsSignedIn)
     {
         if (args.User.Gamertag == this.xboxLiveUser.Gamertag)
         {
             this.HandleGetStat(args.User, this.ID);
         }
     }
 }
 private void LocalUserAdded(object sender, XboxLiveUserEventArgs e)
 {
     this.statsAddedLocalUser = true;
     this.Refresh();
 }