UI_LeagueAnsweringUI.cs 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.League
  4. {
  5. public partial class UI_LeagueAnsweringUI
  6. {
  7. public GComponent target;
  8. public Controller m_ctrlHasIcon;
  9. public Controller m_ctrlQuestionState;
  10. public Controller m_ctrlQuestionType;
  11. public Controller m_ctrlResult;
  12. public GLoader m_loaBg;
  13. public GGraph m_holder;
  14. public GButton m_btnBack;
  15. public GTextField m_txtTime;
  16. public GButton m_btnRule;
  17. public GTextField m_txtRightCount;
  18. public GTextField m_txtAnswerTime;
  19. public GTextField m_txtAnswerNum;
  20. public GTextField m_txtContent;
  21. public GTextInput m_txtResult;
  22. public GImage m_imgFault;
  23. public GList m_listResult;
  24. public GLoader m_loaIocn;
  25. public UI_ComHeadIcon m_comRightHead;
  26. public GGraph m_holderHead;
  27. public GImage m_imgFail;
  28. public GTextField m_txtInfo;
  29. public GTextField m_txtCdTime;
  30. public GTextField m_txtRightCount1;
  31. public GTextField m_txtJoinNum;
  32. public GList m_listJoin;
  33. public GList m_listChat;
  34. public GTextInput m_txtChat;
  35. public UI_Button22 m_btnSend;
  36. public const string URL = "ui://tw70qm9dpvb453";
  37. public const string PACKAGE_NAME = "League";
  38. public const string RES_NAME = "LeagueAnsweringUI";
  39. private static UI_LeagueAnsweringUI _proxy;
  40. public static UI_LeagueAnsweringUI Create(GObject gObject = null)
  41. {
  42. var ui = new UI_LeagueAnsweringUI();
  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_LeagueAnsweringUI Proxy(GObject gObject = null)
  51. {
  52. if(_proxy == null)
  53. {
  54. _proxy = new UI_LeagueAnsweringUI();
  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_ctrlHasIcon = comp.GetController("ctrlHasIcon");
  79. m_ctrlQuestionState = comp.GetController("ctrlQuestionState");
  80. m_ctrlQuestionType = comp.GetController("ctrlQuestionType");
  81. m_ctrlResult = comp.GetController("ctrlResult");
  82. m_loaBg = (GLoader)comp.GetChild("loaBg");
  83. m_holder = (GGraph)comp.GetChild("holder");
  84. m_btnBack = (GButton)comp.GetChild("btnBack");
  85. m_txtTime = (GTextField)comp.GetChild("txtTime");
  86. m_btnRule = (GButton)comp.GetChild("btnRule");
  87. m_txtRightCount = (GTextField)comp.GetChild("txtRightCount");
  88. m_txtAnswerTime = (GTextField)comp.GetChild("txtAnswerTime");
  89. m_txtAnswerNum = (GTextField)comp.GetChild("txtAnswerNum");
  90. m_txtContent = (GTextField)comp.GetChild("txtContent");
  91. m_txtResult = (GTextInput)comp.GetChild("txtResult");
  92. m_imgFault = (GImage)comp.GetChild("imgFault");
  93. m_listResult = (GList)comp.GetChild("listResult");
  94. m_loaIocn = (GLoader)comp.GetChild("loaIocn");
  95. m_comRightHead = (UI_ComHeadIcon)UI_ComHeadIcon.Create(comp.GetChild("comRightHead"));
  96. m_holderHead = (GGraph)comp.GetChild("holderHead");
  97. m_imgFail = (GImage)comp.GetChild("imgFail");
  98. m_txtInfo = (GTextField)comp.GetChild("txtInfo");
  99. m_txtCdTime = (GTextField)comp.GetChild("txtCdTime");
  100. m_txtRightCount1 = (GTextField)comp.GetChild("txtRightCount1");
  101. m_txtJoinNum = (GTextField)comp.GetChild("txtJoinNum");
  102. m_listJoin = (GList)comp.GetChild("listJoin");
  103. m_listChat = (GList)comp.GetChild("listChat");
  104. m_txtChat = (GTextInput)comp.GetChild("txtChat");
  105. m_btnSend = (UI_Button22)UI_Button22.Create(comp.GetChild("btnSend"));
  106. }
  107. public void Dispose(bool disposeTarget = false)
  108. {
  109. m_ctrlHasIcon = null;
  110. m_ctrlQuestionState = null;
  111. m_ctrlQuestionType = null;
  112. m_ctrlResult = null;
  113. m_loaBg = null;
  114. m_holder = null;
  115. m_btnBack = null;
  116. m_txtTime = null;
  117. m_btnRule = null;
  118. m_txtRightCount = null;
  119. m_txtAnswerTime = null;
  120. m_txtAnswerNum = null;
  121. m_txtContent = null;
  122. m_txtResult = null;
  123. m_imgFault = null;
  124. m_listResult = null;
  125. m_loaIocn = null;
  126. m_comRightHead.Dispose();
  127. m_comRightHead = null;
  128. m_holderHead = null;
  129. m_imgFail = null;
  130. m_txtInfo = null;
  131. m_txtCdTime = null;
  132. m_txtRightCount1 = null;
  133. m_txtJoinNum = null;
  134. m_listJoin = null;
  135. m_listChat = null;
  136. m_txtChat = null;
  137. m_btnSend.Dispose();
  138. m_btnSend = null;
  139. if(disposeTarget && target != null)
  140. {
  141. target.RemoveFromParent();
  142. target.Dispose();
  143. }
  144. target = null;
  145. }
  146. }
  147. }