| | |
| | |
|
| | | protected override void OnPreOpen()
|
| | | {
|
| | | FuncOpen.Instance.IsFuncOpen(8, true);
|
| | |
|
| | | MountModel.Event_MountHA301A += OnMountSkinAdd;
|
| | | m_ScrollerController.OnRefreshCell += OnRefreshGridCell;
|
| | | mountModel.onMountSkinActive += onMountSkinActive;
|
| | |
| | |
|
| | | private void OnClickDeblockingBtton()//解锁按钮
|
| | | {
|
| | | if (!FuncOpen.Instance.IsFuncOpen(8, true))
|
| | | {
|
| | | return;
|
| | | }
|
| | |
|
| | | HorseConfig horsefig = HorseConfig.Get(signHorseID);
|
| | | int MaterialNumber = playerPack.GetItemCountByID(PackType.Item, horsefig.UnlockItemID);//获取背包解锁材料的数量
|
| | | if (MaterialNumber >= horsefig.UnlockItemCnt)
|