| | |
| | | { |
| | | _itemInfo = info.itemDatas[i]; |
| | | |
| | | if (_itemInfo.place == (int)RoleEquipType.retClothes) |
| | | if (_itemInfo.place == (int)RoleEquipType.Clothes) |
| | | { |
| | | SwitchClothes((uint)_itemInfo.id); |
| | | break; |
| | |
| | | { |
| | | _itemInfo = info.itemDatas[i]; |
| | | |
| | | if (_itemInfo.place == (int)RoleEquipType.retWeapon) |
| | | if (_itemInfo.place == (int)RoleEquipType.Weapon) |
| | | { |
| | | SwitchWeapon((uint)_itemInfo.id); |
| | | } |
| | | else if (_itemInfo.place == (int)RoleEquipType.retWeapon2) |
| | | else if (_itemInfo.place == (int)RoleEquipType.Weapon2) |
| | | { |
| | | SwitchSecondary((uint)_itemInfo.id); |
| | | } |
| | | else if (_itemInfo.place == (int)RoleEquipType.retWing) |
| | | else if (_itemInfo.place == (int)RoleEquipType.Wing) |
| | | { |
| | | SwitchWing((uint)_itemInfo.id); |
| | | } |