UI_RoleInfoUI.cs 5.7 KB

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