| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- // using System.Collections.Generic;
- // using System.Linq;
- // using ET;
- //
- // namespace GFGGame
- // {
- // public class EquipmentExchangeView: BaseWindow
- // {
- // private UI.BagEquipment.UI_EquipmentExchangeUI _ui;
- // private long _itemId;
- // private long _count;
- // private List<int[]> _itemList = new List<int[]>();
- //
- // public override void Dispose()
- // {
- // if (_ui != null)
- // {
- // _ui.Dispose();
- // _ui = null;
- // }
- // base.Dispose();
- // }
- //
- // protected override void OnInit()
- // {
- // base.OnInit();
- //
- // packageName = UI.Bag.UI_ItemExchangeUI.PACKAGE_NAME;
- // _ui = UI.BagEquipment.UI_EquipmentExchangeUI.Create();
- // this.viewCom = _ui.target;
- // this.viewCom.Center();
- // this.modal = true;
- //
- // _ui.m_comBg.GetChild("btnClose").asCom.onClick.Add(Hide);
- //
- // }
- //
- // protected override void OnShown()
- // {
- // base.OnShown();
- // _itemId = (long)this.viewData;//接收从父页面的数据
- // _count = 1;
- //
- // UpdateView();
- // // UpdateUseView();
- // }
- //
- // private void UpdateView()
- // {
- // BagEquipmentComponent equipmentComponent = GameGlobal.zoneScene.GetComponent<BagEquipmentComponent>();
- // int configId = equipmentComponent.EquipmentDic[_itemId].ConfigId;
- // _ui.m_txtDesc.text =EquipmentCfgArray.Instance.GetCfg(configId).Name;
- // }
- //
- // }
- // }
|