UI_RoleInfoUI.cs 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.RoleInfo
  4. {
  5. public partial class UI_RoleInfoUI
  6. {
  7. public GComponent target;
  8. public Controller m_type;
  9. public GLoader m_loaBg;
  10. public GLoader m_Top_img;
  11. public GRichTextField m_txtVersion;
  12. public GButton m_btnHelp;
  13. public GButton m_btnBack;
  14. public GTextField m_leagueName;
  15. public GComponent m_comHead;
  16. public GTextField m_txtExp;
  17. public GTextField m_txtLvl;
  18. public GTextField m_txtRoleName;
  19. public GLoader m_loaChangeName;
  20. public GTextInput m_txtSlogan;
  21. public GTextField m_txtSloganLabel;
  22. public GGroup m_grpHead;
  23. public UI_ButtonCollectProgress m_btnSuitGuide;
  24. public UI_ButtonCollectProgress m_btnCardGuide;
  25. public UI_ButtonCollectProgress m_btnTaskArchieveGuide;
  26. public GButton m_btnExchange;
  27. public GButton m_btnExchangeTheme;
  28. public GList m_badgeList;
  29. public GGroup m_center;
  30. public GList m_photoList;
  31. public GButton m_btnSkill;
  32. public GTextField m_txtRoleID;
  33. public GButton m_btnCopy;
  34. public GButton m_btnSetting;
  35. public GButton m_btnShare;
  36. public Transition m_Hide;
  37. public Transition m_Show;
  38. public const string URL = "ui://374k3dwvd4iw6k";
  39. public const string PACKAGE_NAME = "RoleInfo";
  40. public const string RES_NAME = "RoleInfoUI";
  41. private static UI_RoleInfoUI _proxy;
  42. public static UI_RoleInfoUI Create(GObject gObject = null)
  43. {
  44. var ui = new UI_RoleInfoUI();
  45. if(gObject == null)
  46. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  47. else
  48. ui.target = (GComponent)gObject;
  49. ui.Init(ui.target);
  50. return ui;
  51. }
  52. public static UI_RoleInfoUI Proxy(GObject gObject = null)
  53. {
  54. if(_proxy == null)
  55. {
  56. _proxy = new UI_RoleInfoUI();
  57. }
  58. var ui = _proxy;
  59. if(gObject == null)
  60. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  61. else
  62. ui.target = (GComponent)gObject;
  63. ui.Init(ui.target);
  64. return ui;
  65. }
  66. public static void ProxyEnd()
  67. {
  68. if (_proxy != null)
  69. {
  70. _proxy.Dispose();
  71. }
  72. }
  73. public static void ClearProxy()
  74. {
  75. ProxyEnd();
  76. _proxy = null;
  77. }
  78. private void Init(GComponent comp)
  79. {
  80. m_type = comp.GetController("type");
  81. m_loaBg = (GLoader)comp.GetChild("loaBg");
  82. m_Top_img = (GLoader)comp.GetChild("Top_img");
  83. m_txtVersion = (GRichTextField)comp.GetChild("txtVersion");
  84. m_btnHelp = (GButton)comp.GetChild("btnHelp");
  85. m_btnBack = (GButton)comp.GetChild("btnBack");
  86. m_leagueName = (GTextField)comp.GetChild("leagueName");
  87. m_comHead = (GComponent)comp.GetChild("comHead");
  88. m_txtExp = (GTextField)comp.GetChild("txtExp");
  89. m_txtLvl = (GTextField)comp.GetChild("txtLvl");
  90. m_txtRoleName = (GTextField)comp.GetChild("txtRoleName");
  91. m_loaChangeName = (GLoader)comp.GetChild("loaChangeName");
  92. m_txtSlogan = (GTextInput)comp.GetChild("txtSlogan");
  93. m_txtSloganLabel = (GTextField)comp.GetChild("txtSloganLabel");
  94. m_grpHead = (GGroup)comp.GetChild("grpHead");
  95. m_btnSuitGuide = (UI_ButtonCollectProgress)UI_ButtonCollectProgress.Create(comp.GetChild("btnSuitGuide"));
  96. m_btnCardGuide = (UI_ButtonCollectProgress)UI_ButtonCollectProgress.Create(comp.GetChild("btnCardGuide"));
  97. m_btnTaskArchieveGuide = (UI_ButtonCollectProgress)UI_ButtonCollectProgress.Create(comp.GetChild("btnTaskArchieveGuide"));
  98. m_btnExchange = (GButton)comp.GetChild("btnExchange");
  99. m_btnExchangeTheme = (GButton)comp.GetChild("btnExchangeTheme");
  100. m_badgeList = (GList)comp.GetChild("badgeList");
  101. m_center = (GGroup)comp.GetChild("center");
  102. m_photoList = (GList)comp.GetChild("photoList");
  103. m_btnSkill = (GButton)comp.GetChild("btnSkill");
  104. m_txtRoleID = (GTextField)comp.GetChild("txtRoleID");
  105. m_btnCopy = (GButton)comp.GetChild("btnCopy");
  106. m_btnSetting = (GButton)comp.GetChild("btnSetting");
  107. m_btnShare = (GButton)comp.GetChild("btnShare");
  108. m_Hide = comp.GetTransition("Hide");
  109. m_Show = comp.GetTransition("Show");
  110. }
  111. public void Dispose(bool disposeTarget = false)
  112. {
  113. m_type = null;
  114. m_loaBg = null;
  115. m_Top_img = null;
  116. m_txtVersion = null;
  117. m_btnHelp = null;
  118. m_btnBack = null;
  119. m_leagueName = null;
  120. m_comHead = null;
  121. m_txtExp = null;
  122. m_txtLvl = null;
  123. m_txtRoleName = null;
  124. m_loaChangeName = null;
  125. m_txtSlogan = null;
  126. m_txtSloganLabel = null;
  127. m_grpHead = null;
  128. m_btnSuitGuide.Dispose();
  129. m_btnSuitGuide = null;
  130. m_btnCardGuide.Dispose();
  131. m_btnCardGuide = null;
  132. m_btnTaskArchieveGuide.Dispose();
  133. m_btnTaskArchieveGuide = null;
  134. m_btnExchange = null;
  135. m_btnExchangeTheme = null;
  136. m_badgeList = null;
  137. m_center = null;
  138. m_photoList = null;
  139. m_btnSkill = null;
  140. m_txtRoleID = null;
  141. m_btnCopy = null;
  142. m_btnSetting = null;
  143. m_btnShare = null;
  144. m_Hide = null;
  145. m_Show = null;
  146. if(disposeTarget && target != null)
  147. {
  148. target.RemoveFromParent();
  149. target.Dispose();
  150. }
  151. target = null;
  152. }
  153. }
  154. }