| | |
| | | {
|
| | | _itemInfo = m_PlayerInfo.itemDatas[i];
|
| | |
|
| | | if (_itemInfo.place == (int)RoleEquipType.retClothes)
|
| | | if (_itemInfo.place == (int)RoleEquipType.Clothes)
|
| | | {
|
| | | //m_SuitLevel = 0;
|
| | | //if (_itemInfo.isSuit == 1)
|
| | |
| | | {
|
| | | _itemInfo = m_PlayerInfo.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);
|
| | | }
|
| | | else if (_itemInfo.place == (int)RoleEquipType.retSpiritAnimal)
|
| | | else if (_itemInfo.place == (int)RoleEquipType.SpiritAnimal)
|
| | | {
|
| | | SwitchGuard((uint)_itemInfo.id);
|
| | | }
|