From 283a720f06b0834b71ce8413a28caf24eeedc017 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期二, 19 二月 2019 23:43:01 +0800
Subject: [PATCH] 3335 物品管理相关功能重构。
---
System/Realm/RealmPropertyUpWin.cs | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/System/Realm/RealmPropertyUpWin.cs b/System/Realm/RealmPropertyUpWin.cs
index 6005e42..c4612d7 100644
--- a/System/Realm/RealmPropertyUpWin.cs
+++ b/System/Realm/RealmPropertyUpWin.cs
@@ -309,22 +309,22 @@
m_ModelRawImage.rectTransform.sizeDelta = new Vector2(680, 510);
var clothes = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.Clothes);
- var _clothesId = clothes == null ? 0 : (int)clothes.itemInfo.ItemID;
+ var _clothesId = clothes == null ? 0 : (int)clothes.itemId;
var weapon = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.Weapon);
- var _weaponId = weapon == null ? 0 : (int)weapon.itemInfo.ItemID;
+ var _weaponId = weapon == null ? 0 : (int)weapon.itemId;
var secondary = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.Weapon2);
- var _secondaryId = secondary == null ? 0 : (int)secondary.itemInfo.ItemID;
+ var _secondaryId = secondary == null ? 0 : (int)secondary.itemId;
var fashionClothes = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.FashionClothes);
- var fashionClothesId = fashionClothes == null ? 0 : (int)fashionClothes.itemInfo.ItemID;
+ var fashionClothesId = fashionClothes == null ? 0 : (int)fashionClothes.itemId;
var fashionWeapon = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.FashionWeapon);
- var fashionWeaponId = fashionWeapon == null ? 0 : (int)fashionWeapon.itemInfo.ItemID;
+ var fashionWeaponId = fashionWeapon == null ? 0 : (int)fashionWeapon.itemId;
var fashionSecondary = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.FashionWeapon2);
- var fashionSecondaryId = fashionSecondary == null ? 0 : (int)fashionSecondary.itemInfo.ItemID;
+ var fashionSecondaryId = fashionSecondary == null ? 0 : (int)fashionSecondary.itemId;
var model = ModelCenter.Instance.GetModel<MagicianModel>();
Dictionary<int, int> dict = new Dictionary<int, int>();
--
Gitblit v1.8.0