UI_RoleInfoUI.cs 5.2 KB

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