protected override void OnClose()
 {
     if (this.mTransfer != null)
     {
         GameLogic.SetPause(false);
         this.AniDisable();
         GameLogic.Release.Game.JoyEnable(true);
         Facade.Instance.SendNotification("BATTLE_CHOOSESKILL_TO_BATTLE_CLOSE");
         if (this.mTransfer.type == ChooseSkillProxy.ChooseSkillType.eLevel)
         {
             if ((GameLogic.Self != null) && (GameLogic.Self.OnLevelUp != null))
             {
                 GameLogic.Self.OnLevelUp(this.level);
             }
             if ((GameLogic.Release.Mode != null) && (GameLogic.Release.Mode.RoomGenerate != null))
             {
                 RoomGenerateBase.EventCloseTransfer data = new RoomGenerateBase.EventCloseTransfer {
                     windowid = WindowID.WindowID_ChooseSkill
                 };
                 GameLogic.Release.Mode.RoomGenerate.EventClose(data);
             }
         }
         this.mTransfer = null;
     }
 }
Example #2
0
 protected override void OnClose()
 {
     GameLogic.SetPause(false);
     RoomGenerateBase.EventCloseTransfer data = new RoomGenerateBase.EventCloseTransfer {
         windowid = WindowID.WindowID_EventChect1,
         data     = this.resultType
     };
     GameLogic.Release.Mode.RoomGenerate.EventClose(data);
 }
Example #3
0
 protected override void OnEventClose(RoomGenerateBase.EventCloseTransfer data)
 {
     if (data.windowid == WindowID.WindowID_EventChect1)
     {
         TurnTableType type = (TurnTableType)data.data;
         if (type != TurnTableType.Boss)
         {
             base.roomCtrl.OpenDoor(true);
         }
     }
 }
 protected override void OnClose()
 {
     GameLogic.SetPause(false);
     RoomGenerateBase.EventCloseTransfer data = new RoomGenerateBase.EventCloseTransfer {
         windowid = WindowID.WindowID_EventAngel
     };
     GameLogic.Release.Mode.RoomGenerate.EventClose(data);
     if ((GameLogic.Self != null) && (GameLogic.Self.OnMissAngel != null))
     {
         GameLogic.Self.OnMissAngel();
     }
 }
Example #5
0
 protected override void OnClose()
 {
     if (this.show_currency)
     {
         this.show_currency = false;
         WindowUI.CloseCurrency();
     }
     this.mAdTurnCtrl.Deinit();
     this.mSeqPool.Clear();
     GameLogic.SetPause(false);
     RoomGenerateBase.EventCloseTransfer data = new RoomGenerateBase.EventCloseTransfer {
         windowid = WindowID.WindowID_GameTurnTable,
         data     = this.resultType
     };
     GameLogic.Release.Mode.RoomGenerate.EventClose(data);
 }
Example #6
0
 protected override void OnEventClose(RoomGenerateBase.EventCloseTransfer data)
 {
 }