public override void Begin(FlowNode_MultiPlayJoinRoom self)
 {
   MyPhoton instance = PunMonoSingleton<MyPhoton>.Instance;
   self.mJoinPlayerParam = JSON_MyPhotonPlayerParam.Create(0, 0);
   if (self.mJoinPlayerParam == null)
   {
     self.FailureLobby();
   }
   else
   {
     if (instance.JoinRandomRoom(self.VERSUS_PLAYER_MAX, self.mJoinPlayerParam.Serialize(), GlobalVars.MultiPlayVersusKey, GlobalVars.SelectedMultiPlayRoomName, -1, -1))
       return;
     DebugUtility.Log("error:" + (object) instance.LastError);
     self.FailureLobby();
   }
 }
 public override void Begin(FlowNode_MultiPlayJoinRoom self)
 {
   MyPhoton instance1 = PunMonoSingleton<MyPhoton>.Instance;
   self.mJoinPlayerParam = JSON_MyPhotonPlayerParam.Create(0, 0);
   if (self.mJoinPlayerParam == null)
   {
     self.FailureLobby();
   }
   else
   {
     GameManager instance2 = MonoSingleton<GameManager>.Instance;
     QuestParam quest = instance2.FindQuest(GlobalVars.SelectedQuestID);
     MultiTowerFloorParam mtFloorParam = instance2.GetMTFloorParam(GlobalVars.SelectedQuestID);
     if (instance1.JoinRandomRoom((byte) (short) quest.playerNum, self.mJoinPlayerParam.Serialize(), mtFloorParam.tower_id, (string) null, GlobalVars.SelectedMultiTowerFloor, 1))
       return;
     DebugUtility.Log("error:" + (object) instance1.LastError);
     self.FailureLobby();
   }
 }