| System/Dogz/DogzModel.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/Dogz/DogzWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/KnapSack/Logic/ItemTipsModel.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/Strengthening/GodBeastReinforcementWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | 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
@@ -742,9 +742,13 @@ dogzModel.CheckPutOff(dogzModel.GetDogzEquipPlaceByIndex(attrData.index)); }); attrData.SetTipsFuncBtn(ItemWinBtnType.strength, (ItemWinBtnType, ItemAttrData) => { dogzModel.OpenDogzFuncEvent(1); }); if(dogzModel.TryGetAssistDogzState(dogzModel.presentSelectDogz)) { attrData.SetTipsFuncBtn(ItemWinBtnType.strength, (ItemWinBtnType, ItemAttrData) => { dogzModel.OpenDogzFuncEvent(1, attrData.index); }); } } /// <summary> System/Strengthening/GodBeastReinforcementWin.cs
@@ -39,6 +39,7 @@ public static event Action<int> ChooseToModify; private List<GodBeastClass> GodBeastList = new List<GodBeastClass>(); private int CurrentlySelected = 0; private int JumpIndex = 0; #region Built-in protected override void BindController() { @@ -53,7 +54,7 @@ { CurrentlySelected = 0; GetGodBeast();//获取神兽强化装备信息 m_ScrollerController.OnRefreshCell += OnRefreshGridCell; if (godBeastModel.ItemPlace != -1) { for (int i = 0; i < GodBeastList.Count; i++) @@ -67,7 +68,7 @@ { return x.ItemPlace == godBeastModel.ItemPlace; }); m_ScrollerController.JumpIndex(Index); JumpIndex = Index; } } } @@ -77,14 +78,17 @@ { CurrentlySelected = GodBeastList[0].LocationMarker; GetDogZBagIndex(); m_ScrollerController.JumpIndex(0); JumpIndex = 0; } } m_ScrollerController.OnRefreshCell += OnRefreshGridCell; } OnCreateGridLineCell(m_ScrollerController); m_GodBeastSlidingList.Init(); m_GodBeastAttributes.Init(); m_GodBeastAttributes.GetGodBeastLocationMarker(CurrentlySelected); m_GodBeastAttributes.GetGodBeastLocationMarker(CurrentlySelected); m_ScrollerController.JumpIndex(JumpIndex); } protected override void OnAfterOpen() @@ -95,6 +99,7 @@ protected override void OnPreClose() { JumpIndex = 0; godBeastModel.ItemPlace = -1; // godBeastModel.Absorption_Dic.Clear(); playerPack.RefreshItemCountAct -= RefreshItemCountAct;