| | |
| | | ItemModel _itemModel = null;
|
| | |
|
| | | // 先取得衣服的阶数
|
| | | _itemModel = _equipModel.GetItemModelByIndex((int)RoleEquipType.Clothes);
|
| | | _itemModel = _equipModel.GetItemByIndex((int)RoleEquipType.Clothes);
|
| | | if (_itemModel == null)
|
| | | {
|
| | | return;
|
| | |
| | |
|
| | | for (int i = _start; i <= _end; ++i)
|
| | | {
|
| | | _itemModel = _equipModel.GetItemModelByIndex(i);
|
| | | _itemModel = _equipModel.GetItemByIndex(i);
|
| | |
|
| | | if (_itemModel == null)
|
| | | {
|
| | |
| | | SinglePackModel _horsePackModel = _packModel.GetSinglePackModel(PackType.Equip);
|
| | | if (_horsePackModel != null)
|
| | | {
|
| | | ItemModel _horseItem = _horsePackModel.GetItemModelByIndex((int)RoleEquipType.mount);
|
| | | ItemModel _horseItem = _horsePackModel.GetItemByIndex((int)RoleEquipType.mount);
|
| | | SwitchHorse((uint)_horseItem.itemId);
|
| | | }
|
| | | }
|