少年修仙传客户端代码仓库
Client_PangDeRong
2018-09-21 6620a0f079c05219522ce2f17e2d7e091f00f1bc
1885 神兽功能开发
3个文件已修改
11 ■■■■ 已修改文件
System/Dogz/DogzModel.cs 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Dogz/DogzWin.cs 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/Logic/ItemTipsModel.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Dogz/DogzModel.cs
@@ -161,12 +161,12 @@
            }
        }
        public event Action<int> OpenFuncEvent;
        public void OpenDogzFuncEvent(int functionOrder)
        public event Action<int,int> OpenFuncEvent;
        public void OpenDogzFuncEvent(int functionOrder,int equipIndex)
        {
            if(OpenFuncEvent != null)
            {
                OpenFuncEvent(functionOrder);
                OpenFuncEvent(functionOrder,equipIndex);
            }
        }
System/Dogz/DogzWin.cs
@@ -70,8 +70,9 @@
        }
        private void OnOpenFuncEvent(int order)
        private void OnOpenFuncEvent(int order,int equipIndex)
        {
            ModelCenter.Instance.GetModel<GodBeastModel>().ItemPlace = equipIndex;
            funcBtnGroup.TriggerByOrder(order);
            if(WindowCenter.Instance.CheckOpen<DogzPackWin>())
            {
System/KnapSack/Logic/ItemTipsModel.cs
@@ -743,7 +743,7 @@
            });
            attrData.SetTipsFuncBtn(ItemWinBtnType.strength, (ItemWinBtnType, ItemAttrData) => {
                dogzModel.OpenDogzFuncEvent(1);
                dogzModel.OpenDogzFuncEvent(1,attrData.index);
            });
        }