UI_MainUI.cs 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  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 GGraph m_BottomEffectHolder;
  14. public UI_ComponentHeadBar m_headBar;
  15. public GButton m_btnYouJian;
  16. public GButton m_btnGongGao;
  17. public GList m_list;
  18. public UI_ButtonChange m_btnChange;
  19. public UI_BtnModle2 m_btnActivityAfuGift;
  20. public UI_BtnModle2 m_btnWanShiLi;
  21. public UI_BtnModle2 m_btnTea;
  22. public UI_BtnModle2 m_btnOpenServerActivity;
  23. public UI_BtnModle1 m_btnActivityLuckyBox;
  24. public UI_BtnModle2 m_btnActivityZCJB;
  25. public UI_BtnModle2 m_btnGetYuanXiao;
  26. public UI_BtnModle2 m_btnActivityFYJY;
  27. public GTextField m_serverTime;
  28. public GLoader m_loaGuidestudio;
  29. public UI_ComAd m_comListAd;
  30. public UI_BtnModle m_btnFirstRecharge;
  31. public UI_BtnModle m_btnGiftBag1;
  32. public UI_BtnModle m_btnGiftBag2;
  33. public UI_BtnModle1 m_btnShow;
  34. public UI_ButtonModle1 m_btnZhaiXing;
  35. public UI_ButtonModleEffect m_btnMain;
  36. public UI_ButtonModle1 m_btnCiPai;
  37. public UI_ButtonModle1 m_btnXiuFang;
  38. public UI_ButtonModle1 m_btnHuanZhuang;
  39. public UI_ButtonModleEffect m_btnHaiZhiShi;
  40. public UI_BtnModle1 m_btnDailyWelfare;
  41. public UI_BtnModle1 m_btnNewPlayerReward;
  42. public UI_BtnModle3 m_btnSevenReward;
  43. public UI_BtnModle1 m_btnPearRebate;
  44. public UI_BtnModle1 m_btnNewYearRedEnvelope;
  45. public UI_BtnModle1 m_btnActivityDay7;
  46. public GGroup m_AllUI;
  47. public GGraph m_touchMask;
  48. public Transition m_openViewAction;
  49. public Transition m_hide;
  50. public Transition m_show;
  51. public const string URL = "ui://mfvz4q8kq08x0";
  52. public const string PACKAGE_NAME = "Main";
  53. public const string RES_NAME = "MainUI";
  54. private static UI_MainUI _proxy;
  55. public static UI_MainUI Create(GObject gObject = null)
  56. {
  57. var ui = new UI_MainUI();
  58. if(gObject == null)
  59. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  60. else
  61. ui.target = (GComponent)gObject;
  62. ui.Init(ui.target);
  63. return ui;
  64. }
  65. public static UI_MainUI Proxy(GObject gObject = null)
  66. {
  67. if(_proxy == null)
  68. {
  69. _proxy = new UI_MainUI();
  70. }
  71. var ui = _proxy;
  72. if(gObject == null)
  73. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  74. else
  75. ui.target = (GComponent)gObject;
  76. ui.Init(ui.target);
  77. return ui;
  78. }
  79. public static void ProxyEnd()
  80. {
  81. if (_proxy != null)
  82. {
  83. _proxy.Dispose();
  84. }
  85. }
  86. public static void ClearProxy()
  87. {
  88. ProxyEnd();
  89. _proxy = null;
  90. }
  91. private void Init(GComponent comp)
  92. {
  93. m_type = comp.GetController("type");
  94. m_loaBg = (GLoader)comp.GetChild("loaBg");
  95. m_valueBar = (GComponent)comp.GetChild("valueBar");
  96. m_grpLeaguetext = (GTextField)comp.GetChild("grpLeaguetext");
  97. m_grpLeagueTips = (GGroup)comp.GetChild("grpLeagueTips");
  98. m_BottomEffectHolder = (GGraph)comp.GetChild("BottomEffectHolder");
  99. m_headBar = (UI_ComponentHeadBar)UI_ComponentHeadBar.Create(comp.GetChild("headBar"));
  100. m_btnYouJian = (GButton)comp.GetChild("btnYouJian");
  101. m_btnGongGao = (GButton)comp.GetChild("btnGongGao");
  102. m_list = (GList)comp.GetChild("list");
  103. m_btnChange = (UI_ButtonChange)UI_ButtonChange.Create(comp.GetChild("btnChange"));
  104. m_btnActivityAfuGift = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnActivityAfuGift"));
  105. m_btnWanShiLi = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnWanShiLi"));
  106. m_btnTea = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnTea"));
  107. m_btnOpenServerActivity = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnOpenServerActivity"));
  108. m_btnActivityLuckyBox = (UI_BtnModle1)UI_BtnModle1.Create(comp.GetChild("btnActivityLuckyBox"));
  109. m_btnActivityZCJB = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnActivityZCJB"));
  110. m_btnGetYuanXiao = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnGetYuanXiao"));
  111. m_btnActivityFYJY = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnActivityFYJY"));
  112. m_serverTime = (GTextField)comp.GetChild("serverTime");
  113. m_loaGuidestudio = (GLoader)comp.GetChild("loaGuidestudio");
  114. m_comListAd = (UI_ComAd)UI_ComAd.Create(comp.GetChild("comListAd"));
  115. m_btnFirstRecharge = (UI_BtnModle)UI_BtnModle.Create(comp.GetChild("btnFirstRecharge"));
  116. m_btnGiftBag1 = (UI_BtnModle)UI_BtnModle.Create(comp.GetChild("btnGiftBag1"));
  117. m_btnGiftBag2 = (UI_BtnModle)UI_BtnModle.Create(comp.GetChild("btnGiftBag2"));
  118. m_btnShow = (UI_BtnModle1)UI_BtnModle1.Create(comp.GetChild("btnShow"));
  119. m_btnZhaiXing = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnZhaiXing"));
  120. m_btnMain = (UI_ButtonModleEffect)UI_ButtonModleEffect.Create(comp.GetChild("btnMain"));
  121. m_btnCiPai = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnCiPai"));
  122. m_btnXiuFang = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnXiuFang"));
  123. m_btnHuanZhuang = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnHuanZhuang"));
  124. m_btnHaiZhiShi = (UI_ButtonModleEffect)UI_ButtonModleEffect.Create(comp.GetChild("btnHaiZhiShi"));
  125. m_btnDailyWelfare = (UI_BtnModle1)UI_BtnModle1.Create(comp.GetChild("btnDailyWelfare"));
  126. m_btnNewPlayerReward = (UI_BtnModle1)UI_BtnModle1.Create(comp.GetChild("btnNewPlayerReward"));
  127. m_btnSevenReward = (UI_BtnModle3)UI_BtnModle3.Create(comp.GetChild("btnSevenReward"));
  128. m_btnPearRebate = (UI_BtnModle1)UI_BtnModle1.Create(comp.GetChild("btnPearRebate"));
  129. m_btnNewYearRedEnvelope = (UI_BtnModle1)UI_BtnModle1.Create(comp.GetChild("btnNewYearRedEnvelope"));
  130. m_btnActivityDay7 = (UI_BtnModle1)UI_BtnModle1.Create(comp.GetChild("btnActivityDay7"));
  131. m_AllUI = (GGroup)comp.GetChild("AllUI");
  132. m_touchMask = (GGraph)comp.GetChild("touchMask");
  133. m_openViewAction = comp.GetTransition("openViewAction");
  134. m_hide = comp.GetTransition("hide");
  135. m_show = comp.GetTransition("show");
  136. }
  137. public void Dispose(bool disposeTarget = false)
  138. {
  139. m_type = null;
  140. m_loaBg = null;
  141. m_valueBar = null;
  142. m_grpLeaguetext = null;
  143. m_grpLeagueTips = null;
  144. m_BottomEffectHolder = null;
  145. m_headBar.Dispose();
  146. m_headBar = null;
  147. m_btnYouJian = null;
  148. m_btnGongGao = null;
  149. m_list = null;
  150. m_btnChange.Dispose();
  151. m_btnChange = null;
  152. m_btnActivityAfuGift.Dispose();
  153. m_btnActivityAfuGift = null;
  154. m_btnWanShiLi.Dispose();
  155. m_btnWanShiLi = null;
  156. m_btnTea.Dispose();
  157. m_btnTea = null;
  158. m_btnOpenServerActivity.Dispose();
  159. m_btnOpenServerActivity = null;
  160. m_btnActivityLuckyBox.Dispose();
  161. m_btnActivityLuckyBox = null;
  162. m_btnActivityZCJB.Dispose();
  163. m_btnActivityZCJB = null;
  164. m_btnGetYuanXiao.Dispose();
  165. m_btnGetYuanXiao = null;
  166. m_btnActivityFYJY.Dispose();
  167. m_btnActivityFYJY = null;
  168. m_serverTime = null;
  169. m_loaGuidestudio = null;
  170. m_comListAd.Dispose();
  171. m_comListAd = null;
  172. m_btnFirstRecharge.Dispose();
  173. m_btnFirstRecharge = null;
  174. m_btnGiftBag1.Dispose();
  175. m_btnGiftBag1 = null;
  176. m_btnGiftBag2.Dispose();
  177. m_btnGiftBag2 = null;
  178. m_btnShow.Dispose();
  179. m_btnShow = null;
  180. m_btnZhaiXing.Dispose();
  181. m_btnZhaiXing = null;
  182. m_btnMain.Dispose();
  183. m_btnMain = null;
  184. m_btnCiPai.Dispose();
  185. m_btnCiPai = null;
  186. m_btnXiuFang.Dispose();
  187. m_btnXiuFang = null;
  188. m_btnHuanZhuang.Dispose();
  189. m_btnHuanZhuang = null;
  190. m_btnHaiZhiShi.Dispose();
  191. m_btnHaiZhiShi = null;
  192. m_btnDailyWelfare.Dispose();
  193. m_btnDailyWelfare = null;
  194. m_btnNewPlayerReward.Dispose();
  195. m_btnNewPlayerReward = null;
  196. m_btnSevenReward.Dispose();
  197. m_btnSevenReward = null;
  198. m_btnPearRebate.Dispose();
  199. m_btnPearRebate = null;
  200. m_btnNewYearRedEnvelope.Dispose();
  201. m_btnNewYearRedEnvelope = null;
  202. m_btnActivityDay7.Dispose();
  203. m_btnActivityDay7 = null;
  204. m_AllUI = null;
  205. m_touchMask = null;
  206. m_openViewAction = null;
  207. m_hide = null;
  208. m_show = null;
  209. if(disposeTarget && target != null)
  210. {
  211. target.RemoveFromParent();
  212. target.Dispose();
  213. }
  214. target = null;
  215. }
  216. }
  217. }