EquipmentExchangeView.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. // using System.Collections.Generic;
  2. // using System.Linq;
  3. // using ET;
  4. //
  5. // namespace GFGGame
  6. // {
  7. // public class EquipmentExchangeView: BaseWindow
  8. // {
  9. // private UI.BagEquipment.UI_EquipmentExchangeUI _ui;
  10. // private long _itemId;
  11. // private long _count;
  12. // private List<int[]> _itemList = new List<int[]>();
  13. //
  14. // public override void Dispose()
  15. // {
  16. // if (_ui != null)
  17. // {
  18. // _ui.Dispose();
  19. // _ui = null;
  20. // }
  21. // base.Dispose();
  22. // }
  23. //
  24. // protected override void OnInit()
  25. // {
  26. // base.OnInit();
  27. //
  28. // packageName = UI.Bag.UI_ItemExchangeUI.PACKAGE_NAME;
  29. // _ui = UI.BagEquipment.UI_EquipmentExchangeUI.Create();
  30. // this.viewCom = _ui.target;
  31. // this.viewCom.Center();
  32. // this.modal = true;
  33. //
  34. // _ui.m_comBg.GetChild("btnClose").asCom.onClick.Add(Hide);
  35. //
  36. // }
  37. //
  38. // protected override void OnShown()
  39. // {
  40. // base.OnShown();
  41. // _itemId = (long)this.viewData;//接收从父页面的数据
  42. // _count = 1;
  43. //
  44. // UpdateView();
  45. // // UpdateUseView();
  46. // }
  47. //
  48. // private void UpdateView()
  49. // {
  50. // BagEquipmentComponent equipmentComponent = GameGlobal.zoneScene.GetComponent<BagEquipmentComponent>();
  51. // int configId = equipmentComponent.EquipmentDic[_itemId].ConfigId;
  52. // _ui.m_txtDesc.text =EquipmentCfgArray.Instance.GetCfg(configId).Name;
  53. // }
  54. //
  55. // }
  56. // }