|
@@ -14,6 +14,8 @@ namespace GFGGame
|
|
private int _itemId;
|
|
private int _itemId;
|
|
private long _count;
|
|
private long _count;
|
|
private List<int[]> _itemList = new List<int[]>();
|
|
private List<int[]> _itemList = new List<int[]>();
|
|
|
|
+ // private LongPressGesture _longPressAdd;
|
|
|
|
+ // private LongPressGesture _longPressMinus;
|
|
|
|
|
|
public override void Dispose()
|
|
public override void Dispose()
|
|
{
|
|
{
|
|
@@ -78,11 +80,8 @@ namespace GFGGame
|
|
_ui.m_txtOwned.SetVar("count", "" + ItemDataManager.GetItemNum(itemCfg.id)).FlushVars();
|
|
_ui.m_txtOwned.SetVar("count", "" + ItemDataManager.GetItemNum(itemCfg.id)).FlushVars();
|
|
_ui.m_txtDesc.text = string.IsNullOrEmpty(itemCfg.desc) ? "暂无描述" : itemCfg.desc;
|
|
_ui.m_txtDesc.text = string.IsNullOrEmpty(itemCfg.desc) ? "暂无描述" : itemCfg.desc;
|
|
_ui.m_loaIcon.url = ResPathUtil.GetIconPath(itemCfg);
|
|
_ui.m_loaIcon.url = ResPathUtil.GetIconPath(itemCfg);
|
|
- RarityIconController.UpdateRarityIcon(_ui.m_loaRarity, itemCfg.id, false);
|
|
|
|
- _ui.m_loaRarity.visible = itemCfg.itemType == ConstItemType.DRESS_UP;
|
|
|
|
- _ui.m_txtExchangeCount.visible = false;
|
|
|
|
- _ui.m_comCost.target.visible = false;
|
|
|
|
-
|
|
|
|
|
|
+ _ui.m_txtRmbCost.visible = false;
|
|
|
|
+
|
|
UpdateThItemList(itemCfg);
|
|
UpdateThItemList(itemCfg);
|
|
_ui.m_listItem.numItems = _itemList.Count; //itemCfg.itemsArr.Length;
|
|
_ui.m_listItem.numItems = _itemList.Count; //itemCfg.itemsArr.Length;
|
|
_ui.m_listItem.visible = itemCfg.itemType == ConstItemType.USEABLE &&
|
|
_ui.m_listItem.visible = itemCfg.itemType == ConstItemType.USEABLE &&
|