UI_MainUI.cs 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.Main
  4. {
  5. public partial class UI_MainUI
  6. {
  7. public GComponent target;
  8. public Controller m_type;
  9. public GLoader m_loaBg;
  10. public GComponent m_valueBar;
  11. public GTextField m_grpLeaguetext;
  12. public GGroup m_grpLeagueTips;
  13. public UI_ButtonModle1 m_btnMain;
  14. public UI_ButtonModle1 m_btnXiuFang;
  15. public UI_ButtonModle1 m_btnHuanZhuang;
  16. public UI_ButtonModle1 m_btnZhaiXing;
  17. public UI_ButtonModle1 m_btnCiPai;
  18. public UI_ButtonModle1 m_btnHaiZhiShi;
  19. public GGraph m_BottomEffectHolder;
  20. public UI_ComponentHeadBar m_headBar;
  21. public GButton m_btnYouJian;
  22. public GButton m_btnGongGao;
  23. public GList m_list;
  24. public UI_ButtonChange m_btnChange;
  25. public UI_ComAd m_comListAd;
  26. public UI_BtnModle1 m_btnDailyWelfare;
  27. public UI_BtnModle2 m_btnActivityDay7;
  28. public UI_BtnModle2 m_btnActivityLuckyBox;
  29. public UI_BtnModle2 m_btnOpenServerActivity;
  30. public UI_BtnModle2 m_btnActivityAfuGift;
  31. public UI_BtnModle2 m_btnWanShiLi;
  32. public UI_BtnModle m_btnFirstRecharge;
  33. public UI_BtnModle m_btnGiftBag1;
  34. public UI_BtnModle m_btnGiftBag2;
  35. public GGroup m_grpLeft;
  36. public GTextField m_serverTime;
  37. public GGroup m_grpMove;
  38. public GLoader m_loaGuidestudio;
  39. public Transition m_openViewAction;
  40. public const string URL = "ui://mfvz4q8kq08x0";
  41. public const string PACKAGE_NAME = "Main";
  42. public const string RES_NAME = "MainUI";
  43. private static UI_MainUI _proxy;
  44. public static UI_MainUI Create(GObject gObject = null)
  45. {
  46. var ui = new UI_MainUI();
  47. if(gObject == null)
  48. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  49. else
  50. ui.target = (GComponent)gObject;
  51. ui.Init(ui.target);
  52. return ui;
  53. }
  54. public static UI_MainUI Proxy(GObject gObject = null)
  55. {
  56. if(_proxy == null)
  57. {
  58. _proxy = new UI_MainUI();
  59. }
  60. var ui = _proxy;
  61. if(gObject == null)
  62. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  63. else
  64. ui.target = (GComponent)gObject;
  65. ui.Init(ui.target);
  66. return ui;
  67. }
  68. public static void ProxyEnd()
  69. {
  70. if (_proxy != null)
  71. {
  72. _proxy.Dispose();
  73. }
  74. }
  75. public static void ClearProxy()
  76. {
  77. ProxyEnd();
  78. _proxy = null;
  79. }
  80. private void Init(GComponent comp)
  81. {
  82. m_type = comp.GetController("type");
  83. m_loaBg = (GLoader)comp.GetChild("loaBg");
  84. m_valueBar = (GComponent)comp.GetChild("valueBar");
  85. m_grpLeaguetext = (GTextField)comp.GetChild("grpLeaguetext");
  86. m_grpLeagueTips = (GGroup)comp.GetChild("grpLeagueTips");
  87. m_btnMain = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnMain"));
  88. m_btnXiuFang = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnXiuFang"));
  89. m_btnHuanZhuang = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnHuanZhuang"));
  90. m_btnZhaiXing = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnZhaiXing"));
  91. m_btnCiPai = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnCiPai"));
  92. m_btnHaiZhiShi = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnHaiZhiShi"));
  93. m_BottomEffectHolder = (GGraph)comp.GetChild("BottomEffectHolder");
  94. m_headBar = (UI_ComponentHeadBar)UI_ComponentHeadBar.Create(comp.GetChild("headBar"));
  95. m_btnYouJian = (GButton)comp.GetChild("btnYouJian");
  96. m_btnGongGao = (GButton)comp.GetChild("btnGongGao");
  97. m_list = (GList)comp.GetChild("list");
  98. m_btnChange = (UI_ButtonChange)UI_ButtonChange.Create(comp.GetChild("btnChange"));
  99. m_comListAd = (UI_ComAd)UI_ComAd.Create(comp.GetChild("comListAd"));
  100. m_btnDailyWelfare = (UI_BtnModle1)UI_BtnModle1.Create(comp.GetChild("btnDailyWelfare"));
  101. m_btnActivityDay7 = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnActivityDay7"));
  102. m_btnActivityLuckyBox = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnActivityLuckyBox"));
  103. m_btnOpenServerActivity = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnOpenServerActivity"));
  104. m_btnActivityAfuGift = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnActivityAfuGift"));
  105. m_btnWanShiLi = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnWanShiLi"));
  106. m_btnFirstRecharge = (UI_BtnModle)UI_BtnModle.Create(comp.GetChild("btnFirstRecharge"));
  107. m_btnGiftBag1 = (UI_BtnModle)UI_BtnModle.Create(comp.GetChild("btnGiftBag1"));
  108. m_btnGiftBag2 = (UI_BtnModle)UI_BtnModle.Create(comp.GetChild("btnGiftBag2"));
  109. m_grpLeft = (GGroup)comp.GetChild("grpLeft");
  110. m_serverTime = (GTextField)comp.GetChild("serverTime");
  111. m_grpMove = (GGroup)comp.GetChild("grpMove");
  112. m_loaGuidestudio = (GLoader)comp.GetChild("loaGuidestudio");
  113. m_openViewAction = comp.GetTransition("openViewAction");
  114. }
  115. public void Dispose(bool disposeTarget = false)
  116. {
  117. m_type = null;
  118. m_loaBg = null;
  119. m_valueBar = null;
  120. m_grpLeaguetext = null;
  121. m_grpLeagueTips = null;
  122. m_btnMain.Dispose();
  123. m_btnMain = null;
  124. m_btnXiuFang.Dispose();
  125. m_btnXiuFang = null;
  126. m_btnHuanZhuang.Dispose();
  127. m_btnHuanZhuang = null;
  128. m_btnZhaiXing.Dispose();
  129. m_btnZhaiXing = null;
  130. m_btnCiPai.Dispose();
  131. m_btnCiPai = null;
  132. m_btnHaiZhiShi.Dispose();
  133. m_btnHaiZhiShi = null;
  134. m_BottomEffectHolder = null;
  135. m_headBar.Dispose();
  136. m_headBar = null;
  137. m_btnYouJian = null;
  138. m_btnGongGao = null;
  139. m_list = null;
  140. m_btnChange.Dispose();
  141. m_btnChange = null;
  142. m_comListAd.Dispose();
  143. m_comListAd = null;
  144. m_btnDailyWelfare.Dispose();
  145. m_btnDailyWelfare = null;
  146. m_btnActivityDay7.Dispose();
  147. m_btnActivityDay7 = null;
  148. m_btnActivityLuckyBox.Dispose();
  149. m_btnActivityLuckyBox = null;
  150. m_btnOpenServerActivity.Dispose();
  151. m_btnOpenServerActivity = null;
  152. m_btnActivityAfuGift.Dispose();
  153. m_btnActivityAfuGift = null;
  154. m_btnWanShiLi.Dispose();
  155. m_btnWanShiLi = null;
  156. m_btnFirstRecharge.Dispose();
  157. m_btnFirstRecharge = null;
  158. m_btnGiftBag1.Dispose();
  159. m_btnGiftBag1 = null;
  160. m_btnGiftBag2.Dispose();
  161. m_btnGiftBag2 = null;
  162. m_grpLeft = null;
  163. m_serverTime = null;
  164. m_grpMove = null;
  165. m_loaGuidestudio = null;
  166. m_openViewAction = null;
  167. if(disposeTarget && target != null)
  168. {
  169. target.RemoveFromParent();
  170. target.Dispose();
  171. }
  172. target = null;
  173. }
  174. }
  175. }