| | |
| | |
|
| | | void DisplayPlayer()
|
| | | {
|
| | | var clothes = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.retClothes);
|
| | | var clothes = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.Clothes);
|
| | | var clothesId = clothes == null ? 0 : (int)clothes.itemInfo.ItemID;
|
| | |
|
| | | var wings = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.retWing);
|
| | | var wings = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.Wing);
|
| | | var wingsId = wings == null ? 0 : (int)wings.itemInfo.ItemID;
|
| | |
|
| | | var secondary = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.retWeapon2);
|
| | | var secondary = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.Weapon2);
|
| | | var secondaryId = secondary == null ? 0 : (int)secondary.itemInfo.ItemID;
|
| | |
|
| | | var fashionClothes = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.retFashionClothes);
|
| | | var fashionClothes = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.FashionClothes);
|
| | | var fashionClothesId = fashionClothes == null ? 0 : (int)fashionClothes.itemInfo.ItemID;
|
| | |
|
| | | var fashionSecondary = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.retFashionWeapon2);
|
| | | var fashionSecondary = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.FashionWeapon2);
|
| | | var fashionSecondaryId = fashionSecondary == null ? 0 : (int)fashionSecondary.itemInfo.ItemID;
|
| | |
|
| | | var data = new UI3DPlayerExhibitionData
|
| | |
| | | if (viewPlayerData != null)
|
| | | {
|
| | | clothesId = 0;
|
| | | var itemData = roleParticularModel.GetItemData(RoleEquipType.retClothes);
|
| | | var itemData = roleParticularModel.GetItemData(RoleEquipType.Clothes);
|
| | | if (itemData != null)
|
| | | {
|
| | | clothesId = itemData.ItemID;
|
| | | }
|
| | | fashionClothesId = 0;
|
| | | itemData = roleParticularModel.GetItemData(RoleEquipType.retFashionClothes);
|
| | | itemData = roleParticularModel.GetItemData(RoleEquipType.FashionClothes);
|
| | | if (itemData != null)
|
| | | {
|
| | | fashionClothesId = itemData.ItemID;
|
| | | }
|
| | | wingsId = 0;
|
| | | itemData = roleParticularModel.GetItemData(RoleEquipType.retWing);
|
| | | itemData = roleParticularModel.GetItemData(RoleEquipType.Wing);
|
| | | if (itemData != null)
|
| | | {
|
| | | wingsId = itemData.ItemID;
|
| | | }
|
| | | secondaryId = 0;
|
| | | itemData = roleParticularModel.GetItemData(RoleEquipType.retWeapon2);
|
| | | itemData = roleParticularModel.GetItemData(RoleEquipType.Weapon2);
|
| | | if (itemData != null)
|
| | | {
|
| | | secondaryId = itemData.ItemID;
|
| | | }
|
| | | fashionSecondaryId = 0;
|
| | | itemData = roleParticularModel.GetItemData(RoleEquipType.retFashionWeapon2);
|
| | | itemData = roleParticularModel.GetItemData(RoleEquipType.FashionWeapon2);
|
| | | if (itemData != null)
|
| | | {
|
| | | fashionSecondaryId = itemData.ItemID;
|