UI_LeagueAnsweringUI.cs 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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 GButton m_btnBack;
  14. public GTextField m_txtTime;
  15. public GButton m_btnRule;
  16. public GTextField m_txtRightCount;
  17. public GTextField m_txtAnswerTime;
  18. public GTextField m_txtAnswerNum;
  19. public GTextField m_txtContent;
  20. public GList m_listResult;
  21. public GTextInput m_txtResult;
  22. public GTextField m_txtRightCount1;
  23. public GLoader m_loaIocn;
  24. public UI_ComHeadIcon m_comRightHead;
  25. public GImage m_imgFail;
  26. public GTextField m_txtInfo;
  27. public GTextField m_txtCdTime;
  28. public GTextField m_txtJoinNum;
  29. public GList m_listJoin;
  30. public GList m_listChat;
  31. public GTextInput m_txtChat;
  32. public GButton m_btnSend;
  33. public const string URL = "ui://tw70qm9dpvb453";
  34. public const string PACKAGE_NAME = "League";
  35. public const string RES_NAME = "LeagueAnsweringUI";
  36. private static UI_LeagueAnsweringUI _proxy;
  37. public static UI_LeagueAnsweringUI Create(GObject gObject = null)
  38. {
  39. var ui = new UI_LeagueAnsweringUI();
  40. if(gObject == null)
  41. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  42. else
  43. ui.target = (GComponent)gObject;
  44. ui.Init(ui.target);
  45. return ui;
  46. }
  47. public static UI_LeagueAnsweringUI Proxy(GObject gObject = null)
  48. {
  49. if(_proxy == null)
  50. {
  51. _proxy = new UI_LeagueAnsweringUI();
  52. }
  53. var ui = _proxy;
  54. if(gObject == null)
  55. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  56. else
  57. ui.target = (GComponent)gObject;
  58. ui.Init(ui.target);
  59. return ui;
  60. }
  61. public static void ProxyEnd()
  62. {
  63. if (_proxy != null)
  64. {
  65. _proxy.Dispose();
  66. }
  67. }
  68. public static void ClearProxy()
  69. {
  70. ProxyEnd();
  71. _proxy = null;
  72. }
  73. private void Init(GComponent comp)
  74. {
  75. m_ctrlHasIcon = comp.GetController("ctrlHasIcon");
  76. m_ctrlQuestionState = comp.GetController("ctrlQuestionState");
  77. m_ctrlQuestionType = comp.GetController("ctrlQuestionType");
  78. m_ctrlResult = comp.GetController("ctrlResult");
  79. m_loaBg = (GLoader)comp.GetChild("loaBg");
  80. m_btnBack = (GButton)comp.GetChild("btnBack");
  81. m_txtTime = (GTextField)comp.GetChild("txtTime");
  82. m_btnRule = (GButton)comp.GetChild("btnRule");
  83. m_txtRightCount = (GTextField)comp.GetChild("txtRightCount");
  84. m_txtAnswerTime = (GTextField)comp.GetChild("txtAnswerTime");
  85. m_txtAnswerNum = (GTextField)comp.GetChild("txtAnswerNum");
  86. m_txtContent = (GTextField)comp.GetChild("txtContent");
  87. m_listResult = (GList)comp.GetChild("listResult");
  88. m_txtResult = (GTextInput)comp.GetChild("txtResult");
  89. m_txtRightCount1 = (GTextField)comp.GetChild("txtRightCount1");
  90. m_loaIocn = (GLoader)comp.GetChild("loaIocn");
  91. m_comRightHead = (UI_ComHeadIcon)UI_ComHeadIcon.Create(comp.GetChild("comRightHead"));
  92. m_imgFail = (GImage)comp.GetChild("imgFail");
  93. m_txtInfo = (GTextField)comp.GetChild("txtInfo");
  94. m_txtCdTime = (GTextField)comp.GetChild("txtCdTime");
  95. m_txtJoinNum = (GTextField)comp.GetChild("txtJoinNum");
  96. m_listJoin = (GList)comp.GetChild("listJoin");
  97. m_listChat = (GList)comp.GetChild("listChat");
  98. m_txtChat = (GTextInput)comp.GetChild("txtChat");
  99. m_btnSend = (GButton)comp.GetChild("btnSend");
  100. }
  101. public void Dispose(bool disposeTarget = false)
  102. {
  103. m_ctrlHasIcon = null;
  104. m_ctrlQuestionState = null;
  105. m_ctrlQuestionType = null;
  106. m_ctrlResult = null;
  107. m_loaBg = null;
  108. m_btnBack = null;
  109. m_txtTime = null;
  110. m_btnRule = null;
  111. m_txtRightCount = null;
  112. m_txtAnswerTime = null;
  113. m_txtAnswerNum = null;
  114. m_txtContent = null;
  115. m_listResult = null;
  116. m_txtResult = null;
  117. m_txtRightCount1 = null;
  118. m_loaIocn = null;
  119. m_comRightHead.Dispose();
  120. m_comRightHead = null;
  121. m_imgFail = null;
  122. m_txtInfo = null;
  123. m_txtCdTime = null;
  124. m_txtJoinNum = null;
  125. m_listJoin = null;
  126. m_listChat = null;
  127. m_txtChat = null;
  128. m_btnSend = null;
  129. if(disposeTarget && target != null)
  130. {
  131. target.RemoveFromParent();
  132. target.Dispose();
  133. }
  134. target = null;
  135. }
  136. }
  137. }