| | |
| | | }
|
| | | }
|
| | |
|
| | | 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);
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | }
|
| | |
|
| | |
|
| | | 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>())
|
| | | {
|
| | |
| | | });
|
| | |
|
| | | attrData.SetTipsFuncBtn(ItemWinBtnType.strength, (ItemWinBtnType, ItemAttrData) => {
|
| | | dogzModel.OpenDogzFuncEvent(1);
|
| | | dogzModel.OpenDogzFuncEvent(1,attrData.index);
|
| | | });
|
| | | }
|
| | |
|