UI_ArenaUI.cs 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.Arena
  4. {
  5. public partial class UI_ArenaUI
  6. {
  7. public GComponent target;
  8. public Controller m_c1;
  9. public GButton m_btnBack;
  10. public GComponent m_valueBar;
  11. public GLoader m_loaScore0;
  12. public GComponent m_comTag;
  13. public GLoader m_loaScore1;
  14. public GLoader m_loaScore2;
  15. public GTextField m_txtTime;
  16. public GButton m_btnRule;
  17. public GGroup m_gtpTop;
  18. public UI_BtnRelect m_btnReSelect;
  19. public UI_BtnFight m_btnFight;
  20. public GList m_listTarget;
  21. public GLoader m_loaDanIcon;
  22. public GTextField m_txtName;
  23. public GTextField m_txtRank;
  24. public GTextField m_txtDanTitle;
  25. public GTextField m_txtFightScore;
  26. public UI_BtnRecord m_btnDress;
  27. public UI_BtnQuickFight m_btnQuickFight;
  28. public UI_BtnRecord m_btnRecord;
  29. public UI_BtnRecord m_btnReward;
  30. public UI_BtnRecord m_btnRank;
  31. public UI_BtnRecord m_btnShop;
  32. public GButton m_btnAddFightCount;
  33. public UI_BtnRefresh m_btnRefresh;
  34. public GTextField m_txtMoneyCount;
  35. public GTextField m_txtFightCount;
  36. public GTextField m_txtRefreshCount;
  37. public GComponent m_comCostCurrent;
  38. public GGroup m_grpBottom;
  39. public const string URL = "ui://4lc5fhlbpsph0";
  40. public const string PACKAGE_NAME = "Arena";
  41. public const string RES_NAME = "ArenaUI";
  42. private static UI_ArenaUI _proxy;
  43. public static UI_ArenaUI Create(GObject gObject = null)
  44. {
  45. var ui = new UI_ArenaUI();
  46. if(gObject == null)
  47. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  48. else
  49. ui.target = (GComponent)gObject;
  50. ui.Init(ui.target);
  51. return ui;
  52. }
  53. public static UI_ArenaUI Proxy(GObject gObject = null)
  54. {
  55. if(_proxy == null)
  56. {
  57. _proxy = new UI_ArenaUI();
  58. }
  59. var ui = _proxy;
  60. if(gObject == null)
  61. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  62. else
  63. ui.target = (GComponent)gObject;
  64. ui.Init(ui.target);
  65. return ui;
  66. }
  67. public static void ProxyEnd()
  68. {
  69. if (_proxy != null)
  70. {
  71. _proxy.Dispose();
  72. }
  73. }
  74. public static void ClearProxy()
  75. {
  76. ProxyEnd();
  77. _proxy = null;
  78. }
  79. private void Init(GComponent comp)
  80. {
  81. m_c1 = comp.GetController("c1");
  82. m_btnBack = (GButton)comp.GetChild("btnBack");
  83. m_valueBar = (GComponent)comp.GetChild("valueBar");
  84. m_loaScore0 = (GLoader)comp.GetChild("loaScore0");
  85. m_comTag = (GComponent)comp.GetChild("comTag");
  86. m_loaScore1 = (GLoader)comp.GetChild("loaScore1");
  87. m_loaScore2 = (GLoader)comp.GetChild("loaScore2");
  88. m_txtTime = (GTextField)comp.GetChild("txtTime");
  89. m_btnRule = (GButton)comp.GetChild("btnRule");
  90. m_gtpTop = (GGroup)comp.GetChild("gtpTop");
  91. m_btnReSelect = (UI_BtnRelect)UI_BtnRelect.Create(comp.GetChild("btnReSelect"));
  92. m_btnFight = (UI_BtnFight)UI_BtnFight.Create(comp.GetChild("btnFight"));
  93. m_listTarget = (GList)comp.GetChild("listTarget");
  94. m_loaDanIcon = (GLoader)comp.GetChild("loaDanIcon");
  95. m_txtName = (GTextField)comp.GetChild("txtName");
  96. m_txtRank = (GTextField)comp.GetChild("txtRank");
  97. m_txtDanTitle = (GTextField)comp.GetChild("txtDanTitle");
  98. m_txtFightScore = (GTextField)comp.GetChild("txtFightScore");
  99. m_btnDress = (UI_BtnRecord)UI_BtnRecord.Create(comp.GetChild("btnDress"));
  100. m_btnQuickFight = (UI_BtnQuickFight)UI_BtnQuickFight.Create(comp.GetChild("btnQuickFight"));
  101. m_btnRecord = (UI_BtnRecord)UI_BtnRecord.Create(comp.GetChild("btnRecord"));
  102. m_btnReward = (UI_BtnRecord)UI_BtnRecord.Create(comp.GetChild("btnReward"));
  103. m_btnRank = (UI_BtnRecord)UI_BtnRecord.Create(comp.GetChild("btnRank"));
  104. m_btnShop = (UI_BtnRecord)UI_BtnRecord.Create(comp.GetChild("btnShop"));
  105. m_btnAddFightCount = (GButton)comp.GetChild("btnAddFightCount");
  106. m_btnRefresh = (UI_BtnRefresh)UI_BtnRefresh.Create(comp.GetChild("btnRefresh"));
  107. m_txtMoneyCount = (GTextField)comp.GetChild("txtMoneyCount");
  108. m_txtFightCount = (GTextField)comp.GetChild("txtFightCount");
  109. m_txtRefreshCount = (GTextField)comp.GetChild("txtRefreshCount");
  110. m_comCostCurrent = (GComponent)comp.GetChild("comCostCurrent");
  111. m_grpBottom = (GGroup)comp.GetChild("grpBottom");
  112. }
  113. public void Dispose(bool disposeTarget = false)
  114. {
  115. m_c1 = null;
  116. m_btnBack = null;
  117. m_valueBar = null;
  118. m_loaScore0 = null;
  119. m_comTag = null;
  120. m_loaScore1 = null;
  121. m_loaScore2 = null;
  122. m_txtTime = null;
  123. m_btnRule = null;
  124. m_gtpTop = null;
  125. m_btnReSelect.Dispose();
  126. m_btnReSelect = null;
  127. m_btnFight.Dispose();
  128. m_btnFight = null;
  129. m_listTarget = null;
  130. m_loaDanIcon = null;
  131. m_txtName = null;
  132. m_txtRank = null;
  133. m_txtDanTitle = null;
  134. m_txtFightScore = null;
  135. m_btnDress.Dispose();
  136. m_btnDress = null;
  137. m_btnQuickFight.Dispose();
  138. m_btnQuickFight = null;
  139. m_btnRecord.Dispose();
  140. m_btnRecord = null;
  141. m_btnReward.Dispose();
  142. m_btnReward = null;
  143. m_btnRank.Dispose();
  144. m_btnRank = null;
  145. m_btnShop.Dispose();
  146. m_btnShop = null;
  147. m_btnAddFightCount = null;
  148. m_btnRefresh.Dispose();
  149. m_btnRefresh = null;
  150. m_txtMoneyCount = null;
  151. m_txtFightCount = null;
  152. m_txtRefreshCount = null;
  153. m_comCostCurrent = null;
  154. m_grpBottom = null;
  155. if(disposeTarget && target != null)
  156. {
  157. target.RemoveFromParent();
  158. target.Dispose();
  159. }
  160. target = null;
  161. }
  162. }
  163. }