private void OnCreateGame(GameState.CreateGamePhase phase, object userData)
 {
     if (phase == GameState.CreateGamePhase.CREATED)
     {
         GameState.Get().UnregisterCreateGameListener(new GameState.CreateGameCallback(this.OnCreateGame));
         this.HandleGameStart();
     }
 }
 private void OnCreateGame(GameState.CreateGamePhase phase, object userData)
 {
     if (phase == GameState.CreateGamePhase.CREATING)
     {
         this.InitCardBacks();
         base.StartCoroutine(this.NotifyPlayersOfBoardLoad());
     }
     else if (phase == GameState.CreateGamePhase.CREATED)
     {
         CardBackManager.Get().UpdateAllCardBacks();
     }
 }
Exemple #3
0
 public void OnCreateGame(GameState.CreateGamePhase phase, object userData)
 {
     object[] objArray1 = new object[] { phase, userData };
     base.method_8("OnCreateGame", objArray1);
 }
Exemple #4
0
 public void GameState_CreateGameEvent(GameState.CreateGamePhase createGamePhase, object userData)
 {
     object[] objArray1 = new object[] { createGamePhase, userData };
     base.method_8("GameState_CreateGameEvent", objArray1);
 }