示例#1
0
 private static void OnSignOutCompleted(object sender, SignOutCompletedEventArgs e)
 {
     XboxLiveObject.CurrentUser    = null;
     XboxLiveObject.CurrentContext = null;
     SaveDataHandler.ResetCache();
     StatTracker.Reset();
     if (!(Engine.Room is RoomMain) && !(Engine.Room is RoomInit))
     {
         Engine.ChangeRoom <RoomMain>();
     }
     XboxLiveObject.SignOutCompleted?.Invoke(sender, e);
 }