UI_MainUI.cs 10 KB

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