少年修仙传客户端代码仓库
client_linchunjie
2018-12-22 cd4790cf2bc76ee632dabbea424ba61d8dafab8a
5367 【前端】【1.4】聚魂功能开发
4个文件已修改
35 ■■■■■ 已修改文件
System/MainInterfacePanel/HeadPortraitTip.cs 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/LowSettingTip.cs 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Message/MessageWin.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Role/RoleModel.cs 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/HeadPortraitTip.cs
@@ -319,9 +319,7 @@
        void HeadButton()
        {
            // DesignDebug.Log("头像点击框");
            WindowCenter.Instance.Close<MainInterfaceWin>();
            WindowCenter.Instance.Open<RolePanel>();
            ModelCenter.Instance.GetModel<RoleModel>().OpenRolePanel();
        }
        void OnPromoteBtn()
System/MainInterfacePanel/LowSettingTip.cs
@@ -63,10 +63,9 @@
        void Role1Button()
        {
            WindowCenter.Instance.Close<MainInterfaceWin>();
            WindowCenter.Instance.Open<RolePanel>();
           /* DesignDebug.Log("角色按钮")*/;
            ModelCenter.Instance.GetModel<RoleModel>().OpenRolePanel();
        }
        void OnClickBagualuBtn()
        {
System/Message/MessageWin.cs
@@ -40,6 +40,7 @@
        public void ShowFixedTip(string tip, ArrayList infoList = null)
        {
            transform.SetAsLastSibling();
            m_FixedTip0.SetExtenalData(infoList);
            m_FixedTip0.text = tip;
            if (!m_ContianerFixedTip0.gameObject.activeInHierarchy)
@@ -51,6 +52,7 @@
        public void ShowFixedTips(string tip, ArrayList infoList = null)
        {
            transform.SetAsLastSibling();
            var _index = m_FixedTipDisplays.FindIndex((x) =>
             {
                 return !x;
@@ -94,6 +96,7 @@
            {
                return;
            }
            transform.SetAsLastSibling();
            var _hint = ServerTipDetails.RequireServerTip();
            if (_hint != null)
            {
System/Role/RoleModel.cs
@@ -84,6 +84,27 @@
                }
            }
        }
        public void OpenRolePanel()
        {
            var functionOrder = 0;
            var godWeaponModel = ModelCenter.Instance.GetModel<MagicianModel>();
            var gatherSoulModel = ModelCenter.Instance.GetModel<GatheringSoulModel>();
            if (MainRedDot.Instance.roleRedpoint.state != RedPointState.None)
            {
                functionOrder = 0;
            }
            else if (godWeaponModel.magicianRedpoint.state != RedPointState.None)
            {
                functionOrder = 3;
            }
            else if (gatherSoulModel.redpoint.state != RedPointState.None)
            {
                functionOrder = 4;
            }
            WindowCenter.Instance.Close<MainInterfaceWin>();
            WindowCenter.Instance.Open<RolePanel>(false, functionOrder);
        }
    }
}