UI_MainUI.cs 11 KB

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