public override void OnActivate(int pinID) { switch (pinID) { case 101: DebugUtility.Log("Start Create Room"); ((Behaviour) this).set_enabled(true); this.IsLINE = false; this.mStateMachine = new StateMachine<FlowNode_MultiPlayJoinRoom>(this); this.mStateMachine.GotoState<FlowNode_MultiPlayJoinRoom.State_CreateRoom>(); break; case 102: DebugUtility.Log("Start Join Room"); ((Behaviour) this).set_enabled(true); this.IsLINE = false; this.mStateMachine = new StateMachine<FlowNode_MultiPlayJoinRoom>(this); this.mStateMachine.GotoState<FlowNode_MultiPlayJoinRoom.State_JoinRoom>(); break; case 103: DebugUtility.Log("Start Create/Join Room LINE"); ((Behaviour) this).set_enabled(true); this.IsLINE = true; if (JSON_MyPhotonRoomParam.GetMyCreatorFUID().Equals(FlowNode_OnUrlSchemeLaunch.LINEParam_decided.creatorFUID)) { DebugUtility.Log("Creating LINERoom iname:" + GlobalVars.SelectedQuestID + " type:" + (object) GlobalVars.SelectedMultiPlayRoomType + " creatorFUID:" + FlowNode_OnUrlSchemeLaunch.LINEParam_decided.creatorFUID); this.mStateMachine = new StateMachine<FlowNode_MultiPlayJoinRoom>(this); this.mStateMachine.GotoState<FlowNode_MultiPlayJoinRoom.State_CreateRoom>(); break; } DebugUtility.Log("Joining LINERoom iname:" + GlobalVars.SelectedQuestID + " type:" + (object) GlobalVars.SelectedMultiPlayRoomType + " creatorFUID:" + FlowNode_OnUrlSchemeLaunch.LINEParam_decided.creatorFUID + " name:" + GlobalVars.SelectedMultiPlayRoomName); this.mStateMachine = new StateMachine<FlowNode_MultiPlayJoinRoom>(this); this.mStateMachine.GotoState<FlowNode_MultiPlayJoinRoom.State_JoinRoom>(); break; case 200: DebugUtility.Log("Start Versus Create Room"); ((Behaviour) this).set_enabled(true); this.IsLINE = false; this.mStateMachine = new StateMachine<FlowNode_MultiPlayJoinRoom>(this); this.mStateMachine.GotoState<FlowNode_MultiPlayJoinRoom.State_VersusCreate>(); break; case 201: DebugUtility.Log("Start Versus Join Room"); ((Behaviour) this).set_enabled(true); this.IsLINE = false; this.mStateMachine = new StateMachine<FlowNode_MultiPlayJoinRoom>(this); this.mStateMachine.GotoState<FlowNode_MultiPlayJoinRoom.State_VersusJoin>(); break; case 202: DebugUtility.Log("Start Versus Rank Join Room"); ((Behaviour) this).set_enabled(true); this.IsLINE = false; this.mStateMachine = new StateMachine<FlowNode_MultiPlayJoinRoom>(this); this.mStateMachine.GotoState<FlowNode_MultiPlayJoinRoom.State_VersusTowerJoin>(); break; case 300: DebugUtility.Log("Start MultiTower CreateRoom"); ((Behaviour) this).set_enabled(true); this.IsLINE = false; this.mStateMachine = new StateMachine<FlowNode_MultiPlayJoinRoom>(this); this.mStateMachine.GotoState<FlowNode_MultiPlayJoinRoom.State_TowerCreate>(); break; case 301: DebugUtility.Log("Start MultiTower JoinRoom"); ((Behaviour) this).set_enabled(true); this.IsLINE = false; this.mStateMachine = new StateMachine<FlowNode_MultiPlayJoinRoom>(this); this.mStateMachine.GotoState<FlowNode_MultiPlayJoinRoom.State_TowerJoin>(); break; case 302: DebugUtility.Log("Start MultiTower Resume JoinRoom"); ((Behaviour) this).set_enabled(true); this.IsLINE = false; this.mStateMachine = new StateMachine<FlowNode_MultiPlayJoinRoom>(this); this.mStateMachine.GotoState<FlowNode_MultiPlayJoinRoom.State_ResumeTowerJoinRoom>(); break; } }