Ejemplo n.º 1
0
        // 游戏中途退出战场进入主城
        public void onReqExitWar()
        {
            Debug.Log("onReqExitWar");
            SoundPlayHandler.StopSceneSound();
            EntityEventHelper.Instance.SendCommand(EntityFactory.MainHeroID, EntityLogicDef.ENTITY_CMD_REQ_EXIT_WAR);

            // 隐藏聊天框
            ChatForceConditionHide ChatData = new ChatForceConditionHide();

            ChatData.bForceHide = true;
            UISystem.Instance.SendWndMessage(WndMsgID.WND_MSG_CHATBOX_CONDITIONHIDE, ChatData);
        }
Ejemplo n.º 2
0
 public void SetForceConditionHide(ChatForceConditionHide data)
 {
     this.SetVisible(!data.bForceHide);
 }