UI_RoleInfoUI.cs 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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 GList m_badgeList;
  28. public GGroup m_center;
  29. public GList m_photoList;
  30. public GButton m_btnSkill;
  31. public GTextField m_txtRoleID;
  32. public GButton m_btnCopy;
  33. public GButton m_btnSetting;
  34. public GButton m_btnShare;
  35. public Transition m_Hide;
  36. public Transition m_Show;
  37. public const string URL = "ui://374k3dwvd4iw6k";
  38. public const string PACKAGE_NAME = "RoleInfo";
  39. public const string RES_NAME = "RoleInfoUI";
  40. private static UI_RoleInfoUI _proxy;
  41. public static UI_RoleInfoUI Create(GObject gObject = null)
  42. {
  43. var ui = new UI_RoleInfoUI();
  44. if(gObject == null)
  45. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  46. else
  47. ui.target = (GComponent)gObject;
  48. ui.Init(ui.target);
  49. return ui;
  50. }
  51. public static UI_RoleInfoUI Proxy(GObject gObject = null)
  52. {
  53. if(_proxy == null)
  54. {
  55. _proxy = new UI_RoleInfoUI();
  56. }
  57. var ui = _proxy;
  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 void ProxyEnd()
  66. {
  67. if (_proxy != null)
  68. {
  69. _proxy.Dispose();
  70. }
  71. }
  72. public static void ClearProxy()
  73. {
  74. ProxyEnd();
  75. _proxy = null;
  76. }
  77. private void Init(GComponent comp)
  78. {
  79. m_type = comp.GetController("type");
  80. m_loaBg = (GLoader)comp.GetChild("loaBg");
  81. m_Top_img = (GLoader)comp.GetChild("Top_img");
  82. m_txtVersion = (GRichTextField)comp.GetChild("txtVersion");
  83. m_btnHelp = (GButton)comp.GetChild("btnHelp");
  84. m_btnBack = (GButton)comp.GetChild("btnBack");
  85. m_leagueName = (GTextField)comp.GetChild("leagueName");
  86. m_comHead = (GComponent)comp.GetChild("comHead");
  87. m_txtExp = (GTextField)comp.GetChild("txtExp");
  88. m_txtLvl = (GTextField)comp.GetChild("txtLvl");
  89. m_txtRoleName = (GTextField)comp.GetChild("txtRoleName");
  90. m_loaChangeName = (GLoader)comp.GetChild("loaChangeName");
  91. m_txtSlogan = (GTextInput)comp.GetChild("txtSlogan");
  92. m_txtSloganLabel = (GTextField)comp.GetChild("txtSloganLabel");
  93. m_grpHead = (GGroup)comp.GetChild("grpHead");
  94. m_btnSuitGuide = (UI_ButtonCollectProgress)UI_ButtonCollectProgress.Create(comp.GetChild("btnSuitGuide"));
  95. m_btnCardGuide = (UI_ButtonCollectProgress)UI_ButtonCollectProgress.Create(comp.GetChild("btnCardGuide"));
  96. m_btnTaskArchieveGuide = (UI_ButtonCollectProgress)UI_ButtonCollectProgress.Create(comp.GetChild("btnTaskArchieveGuide"));
  97. m_btnExchange = (GButton)comp.GetChild("btnExchange");
  98. m_badgeList = (GList)comp.GetChild("badgeList");
  99. m_center = (GGroup)comp.GetChild("center");
  100. m_photoList = (GList)comp.GetChild("photoList");
  101. m_btnSkill = (GButton)comp.GetChild("btnSkill");
  102. m_txtRoleID = (GTextField)comp.GetChild("txtRoleID");
  103. m_btnCopy = (GButton)comp.GetChild("btnCopy");
  104. m_btnSetting = (GButton)comp.GetChild("btnSetting");
  105. m_btnShare = (GButton)comp.GetChild("btnShare");
  106. m_Hide = comp.GetTransition("Hide");
  107. m_Show = comp.GetTransition("Show");
  108. }
  109. public void Dispose(bool disposeTarget = false)
  110. {
  111. m_type = null;
  112. m_loaBg = null;
  113. m_Top_img = null;
  114. m_txtVersion = null;
  115. m_btnHelp = null;
  116. m_btnBack = null;
  117. m_leagueName = null;
  118. m_comHead = null;
  119. m_txtExp = null;
  120. m_txtLvl = null;
  121. m_txtRoleName = null;
  122. m_loaChangeName = null;
  123. m_txtSlogan = null;
  124. m_txtSloganLabel = null;
  125. m_grpHead = null;
  126. m_btnSuitGuide.Dispose();
  127. m_btnSuitGuide = null;
  128. m_btnCardGuide.Dispose();
  129. m_btnCardGuide = null;
  130. m_btnTaskArchieveGuide.Dispose();
  131. m_btnTaskArchieveGuide = null;
  132. m_btnExchange = null;
  133. m_badgeList = null;
  134. m_center = null;
  135. m_photoList = null;
  136. m_btnSkill = null;
  137. m_txtRoleID = null;
  138. m_btnCopy = null;
  139. m_btnSetting = null;
  140. m_btnShare = null;
  141. m_Hide = null;
  142. m_Show = null;
  143. if(disposeTarget && target != null)
  144. {
  145. target.RemoveFromParent();
  146. target.Dispose();
  147. }
  148. target = null;
  149. }
  150. }
  151. }