UI_ItemExchangeUI.cs 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.CommonGame
  4. {
  5. public partial class UI_ItemExchangeUI
  6. {
  7. public GComponent target;
  8. public UI_ComBg000 m_comBg;
  9. public GTextField m_txtOwned;
  10. public GTextField m_txtDesc;
  11. public GLoader m_loaRarity;
  12. public GLoader m_loaIcon;
  13. public GTextField m_txtExchangeCount;
  14. public GTextField m_txtGong;
  15. public GTextField m_txtShang;
  16. public GTextField m_txtJue;
  17. public GTextField m_txtZhi;
  18. public GGroup m_grpScore;
  19. public GList m_listTag;
  20. public GList m_listItem;
  21. public GTextField m_txtShow;
  22. public UI_Button2 m_btnMinus;
  23. public UI_Button16 m_btnAdd;
  24. public UI_Button3 m_btnMax;
  25. public GTextField m_txtCostCount;
  26. public GTextField m_txtTips;
  27. public UI_ComCostCurrency m_comCost;
  28. public GTextField m_txtRmbCost;
  29. public GButton m_btnCancle;
  30. public GButton m_btnConfirm;
  31. public GGroup m_bgpBtn;
  32. public GGroup m_grpBtn;
  33. public GTextField m_txtLock;
  34. public GGroup m_grpLock;
  35. public const string URL = "ui://eg2y0ldps5s9tik";
  36. public const string PACKAGE_NAME = "CommonGame";
  37. public const string RES_NAME = "ItemExchangeUI";
  38. private static UI_ItemExchangeUI _proxy;
  39. public static UI_ItemExchangeUI Create(GObject gObject = null)
  40. {
  41. var ui = new UI_ItemExchangeUI();
  42. if(gObject == null)
  43. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  44. else
  45. ui.target = (GComponent)gObject;
  46. ui.Init(ui.target);
  47. return ui;
  48. }
  49. public static UI_ItemExchangeUI Proxy(GObject gObject = null)
  50. {
  51. if(_proxy == null)
  52. {
  53. _proxy = new UI_ItemExchangeUI();
  54. }
  55. var ui = _proxy;
  56. if(gObject == null)
  57. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  58. else
  59. ui.target = (GComponent)gObject;
  60. ui.Init(ui.target);
  61. return ui;
  62. }
  63. public static void ProxyEnd()
  64. {
  65. if (_proxy != null)
  66. {
  67. _proxy.Dispose();
  68. }
  69. }
  70. public static void ClearProxy()
  71. {
  72. ProxyEnd();
  73. _proxy = null;
  74. }
  75. private void Init(GComponent comp)
  76. {
  77. m_comBg = (UI_ComBg000)UI_ComBg000.Create(comp.GetChild("comBg"));
  78. m_txtOwned = (GTextField)comp.GetChild("txtOwned");
  79. m_txtDesc = (GTextField)comp.GetChild("txtDesc");
  80. m_loaRarity = (GLoader)comp.GetChild("loaRarity");
  81. m_loaIcon = (GLoader)comp.GetChild("loaIcon");
  82. m_txtExchangeCount = (GTextField)comp.GetChild("txtExchangeCount");
  83. m_txtGong = (GTextField)comp.GetChild("txtGong");
  84. m_txtShang = (GTextField)comp.GetChild("txtShang");
  85. m_txtJue = (GTextField)comp.GetChild("txtJue");
  86. m_txtZhi = (GTextField)comp.GetChild("txtZhi");
  87. m_grpScore = (GGroup)comp.GetChild("grpScore");
  88. m_listTag = (GList)comp.GetChild("listTag");
  89. m_listItem = (GList)comp.GetChild("listItem");
  90. m_txtShow = (GTextField)comp.GetChild("txtShow");
  91. m_btnMinus = (UI_Button2)UI_Button2.Create(comp.GetChild("btnMinus"));
  92. m_btnAdd = (UI_Button16)UI_Button16.Create(comp.GetChild("btnAdd"));
  93. m_btnMax = (UI_Button3)UI_Button3.Create(comp.GetChild("btnMax"));
  94. m_txtCostCount = (GTextField)comp.GetChild("txtCostCount");
  95. m_txtTips = (GTextField)comp.GetChild("txtTips");
  96. m_comCost = (UI_ComCostCurrency)UI_ComCostCurrency.Create(comp.GetChild("comCost"));
  97. m_txtRmbCost = (GTextField)comp.GetChild("txtRmbCost");
  98. m_btnCancle = (GButton)comp.GetChild("btnCancle");
  99. m_btnConfirm = (GButton)comp.GetChild("btnConfirm");
  100. m_bgpBtn = (GGroup)comp.GetChild("bgpBtn");
  101. m_grpBtn = (GGroup)comp.GetChild("grpBtn");
  102. m_txtLock = (GTextField)comp.GetChild("txtLock");
  103. m_grpLock = (GGroup)comp.GetChild("grpLock");
  104. }
  105. public void Dispose(bool disposeTarget = false)
  106. {
  107. m_comBg.Dispose();
  108. m_comBg = null;
  109. m_txtOwned = null;
  110. m_txtDesc = null;
  111. m_loaRarity = null;
  112. m_loaIcon = null;
  113. m_txtExchangeCount = null;
  114. m_txtGong = null;
  115. m_txtShang = null;
  116. m_txtJue = null;
  117. m_txtZhi = null;
  118. m_grpScore = null;
  119. m_listTag = null;
  120. m_listItem = null;
  121. m_txtShow = null;
  122. m_btnMinus.Dispose();
  123. m_btnMinus = null;
  124. m_btnAdd.Dispose();
  125. m_btnAdd = null;
  126. m_btnMax.Dispose();
  127. m_btnMax = null;
  128. m_txtCostCount = null;
  129. m_txtTips = null;
  130. m_comCost.Dispose();
  131. m_comCost = null;
  132. m_txtRmbCost = null;
  133. m_btnCancle = null;
  134. m_btnConfirm = null;
  135. m_bgpBtn = null;
  136. m_grpBtn = null;
  137. m_txtLock = null;
  138. m_grpLock = null;
  139. if(disposeTarget && target != null)
  140. {
  141. target.RemoveFromParent();
  142. target.Dispose();
  143. }
  144. target = null;
  145. }
  146. }
  147. }