| | |
| | | useItemModel = singlePack.GetItemModelByIndex(itemIndex);
|
| | | if (useItemModel == null) return;
|
| | |
|
| | | if(useItemModel.chinItemModel.Type == (int)ItemType.Box)
|
| | | switch(useItemModel.chinItemModel.Type)
|
| | | {
|
| | | case (int)ItemType.Box:
|
| | | BoxModel.SetModel(useItemModel.itemInfo.ItemGUID, useItemModel.itemInfo.ItemID);
|
| | | return;
|
| | | case 83:
|
| | | var fashionModel = ModelCenter.Instance.GetModel<FashionDressModel>();
|
| | | fashionModel.jumpFashionDress = useItemModel.chinItemModel.EffectValueA1;
|
| | | WindowCenter.Instance.Open<RolePanel>(false,5);
|
| | | return;
|
| | | }
|
| | |
|
| | | if (useItemModel.itemId == 951)
|
| | | {
|
| | | int startLockIndex = singlePack.openGridCount - playerPack.InitBagGridCnt;
|