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 { int lvRange = -1; int lv = MonoSingleton <GameManager> .Instance.Player.CalcLevel(); int rankMatchScore = MonoSingleton <GameManager> .Instance.Player.RankMatchScore; int rankMatchClass = (int)MonoSingleton <GameManager> .Instance.Player.RankMatchClass; string deviceId = MonoSingleton <GameManager> .Instance.DeviceId; if (instance.JoinRankMatchRoomCheckParam(self.mJoinPlayerParam.Serialize(), lv, lvRange, deviceId, rankMatchScore, 900, 100, rankMatchClass, MonoSingleton <GameManager> .Instance.RankMatchMatchedEnemies)) { return; } DebugUtility.Log("error:" + (object)instance.LastError); self.FailureLobby(); } }