コード例 #1
0
 public override void OnRoomLeaved()
 {
     Logd("OnRoomLeaved. {0}/{1}", FieldManager.IsValidInGameNoQuest(), MonoBehaviourSingleton <InGameProgress> .IsValid());
     base.isLeave = true;
     if (InGameManager.IsReentry())
     {
         if (MonoBehaviourSingleton <InGameProgress> .IsValid())
         {
             MonoBehaviourSingleton <InGameProgress> .I.FieldReentry();
         }
     }
     else if (!base.isBattleRetire && IsStageStart() && !MonoBehaviourSingleton <CoopManager> .I.coopRoom.isOfflinePlay && !MonoBehaviourSingleton <CoopManager> .I.coopStage.isQuestClose)
     {
         string text = StringTable.Get(STRING_CATEGORY.IN_GAME, 100u);
         UIInGamePopupDialog.PushOpen(text, false, 1.8f);
         MonoBehaviourSingleton <GoWrapManager> .I.trackBattleDisconnect();
     }
 }