UI_RoleInfoUI.cs 5.4 KB

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