UIGuildAuditApplyView_Generate.lua 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. ---@class UIGuildAuditApply__Generate_allAllowBtn
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public button UnityEngine.UI.Button
  4. ---@class UIGuildAuditApply__Generate_allRefuseBtn
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public button UnityEngine.UI.Button
  7. ---@class UIGuildAuditApply__Generate_desTxt
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public text UnityEngine.UI.Text
  10. ---@class UIGuildAuditApply__Generate_peopleList
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public loopGridView SuperScrollView.LoopGridView
  13. ---@class UIGuildAuditApply__Generate_peopleNum
  14. ---@field public gameObject UnityEngine.GameObject
  15. ---@field public text UnityEngine.UI.Text
  16. ---@class UIGuildAuditApply__Generate_btnClose
  17. ---@field public gameObject UnityEngine.GameObject
  18. ---@field public button UnityEngine.UI.Button
  19. ---@class UIGuildAuditApply__Generate_AnyBtn
  20. ---@field public gameObject UnityEngine.GameObject
  21. ---@field public button UnityEngine.UI.Button
  22. ---@class UIGuildAuditApply__Generate
  23. ---@field private gameObject UnityEngine.GameObject
  24. ---@field private transform UnityEngine.Transform
  25. ---@field private AnyBtn UIGuildAuditApply__Generate_AnyBtn
  26. ---@field private btnClose UIGuildAuditApply__Generate_btnClose
  27. ---@field private peopleNum UIGuildAuditApply__Generate_peopleNum
  28. ---@field private peopleList UIGuildAuditApply__Generate_peopleList
  29. ---@field private guildPeopleApplyItem UnityEngine.GameObject
  30. ---@field private emptyTips UnityEngine.GameObject
  31. ---@field private bg UnityEngine.GameObject
  32. ---@field private desTxt UIGuildAuditApply__Generate_desTxt
  33. ---@field private bottom UnityEngine.GameObject
  34. ---@field private allRefuseBtn UIGuildAuditApply__Generate_allRefuseBtn
  35. ---@field private allAllowBtn UIGuildAuditApply__Generate_allAllowBtn
  36. local UIGuildAuditApplyView = class("UIGuildAuditApplyView", require("UIViewBase"))
  37. function UIGuildAuditApplyView:ctor()
  38. end
  39. ---@private
  40. function UIGuildAuditApplyView:SetActive(result)
  41. self.gameObject:SetActive(result)
  42. end
  43. ---@private
  44. function UIGuildAuditApplyView:InitGenerate(Root, data)
  45. self.transform = Root
  46. self.inited = true
  47. if self.super.Init then
  48. self.super.Init(self)
  49. end
  50. local tmp
  51. self:InitGenerate__1(Root,data)
  52. self:InitGenerate__2(Root,data)
  53. self:InitGenerate__3(Root,data)
  54. self:InitGenerate__4(Root,data)
  55. self:InitGenerate__5(Root,data)
  56. self:InitGenerate__6(Root,data)
  57. self:InitGenerate__7(Root,data)
  58. self:InitGenerate__8(Root,data)
  59. self:InitGenerate__9(Root,data)
  60. self:InitGenerate__10(Root,data)
  61. self:InitGenerate__11(Root,data)
  62. end
  63. ---@private
  64. function UIGuildAuditApplyView:InitGenerate__1(Root, data)
  65. --[[
  66. UIAnimator/Alpha
  67. --]]
  68. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  69. if tolua.getpeer(tmp) == nil then
  70. tolua.setpeer(tmp, {})
  71. end
  72. self.AnyBtn = tmp
  73. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  74. end
  75. ---@private
  76. function UIGuildAuditApplyView:InitGenerate__2(Root, data)
  77. --[[
  78. UIAnimator/Window/Bg/CloseBox/BtnClose
  79. --]]
  80. local tmp = Root:Find("UIAnimator/Window/Bg/CloseBox/BtnClose").gameObject
  81. if tolua.getpeer(tmp) == nil then
  82. tolua.setpeer(tmp, {})
  83. end
  84. self.btnClose = tmp
  85. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  86. end
  87. ---@private
  88. function UIGuildAuditApplyView:InitGenerate__3(Root, data)
  89. --[[
  90. UIAnimator/Window/Bg/People/PeopleNum
  91. --]]
  92. local tmp = Root:Find("UIAnimator/Window/Bg/People/PeopleNum").gameObject
  93. if tolua.getpeer(tmp) == nil then
  94. tolua.setpeer(tmp, {})
  95. end
  96. self.peopleNum = tmp
  97. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  98. end
  99. ---@private
  100. function UIGuildAuditApplyView:InitGenerate__4(Root, data)
  101. --[[
  102. UIAnimator/Window/Bg/PeopleList
  103. --]]
  104. local tmp = Root:Find("UIAnimator/Window/Bg/PeopleList").gameObject
  105. if tolua.getpeer(tmp) == nil then
  106. tolua.setpeer(tmp, {})
  107. end
  108. self.peopleList = tmp
  109. tmp.loopGridView = tmp:GetComponent(Enum.TypeInfo.LoopGridView)
  110. end
  111. ---@private
  112. function UIGuildAuditApplyView:InitGenerate__5(Root, data)
  113. --[[
  114. UIAnimator/Window/Bg/PeopleList/Viewport/Content/GuildPeopleApplyItem
  115. --]]
  116. local tmp = Root:Find("UIAnimator/Window/Bg/PeopleList/Viewport/Content/GuildPeopleApplyItem").gameObject
  117. if tolua.getpeer(tmp) == nil then
  118. tolua.setpeer(tmp, {})
  119. end
  120. self.guildPeopleApplyItem = CommonUtil.BindGridViewItem2LuaStatic("GuildPeopleApplyItem", tmp)
  121. self.guildPeopleApplyItem.prefabName = "GuildPeopleApplyItem"
  122. end
  123. ---@private
  124. function UIGuildAuditApplyView:InitGenerate__6(Root, data)
  125. --[[
  126. UIAnimator/Window/Bg/EmptyTips
  127. --]]
  128. local tmp = Root:Find("UIAnimator/Window/Bg/EmptyTips").gameObject
  129. if tolua.getpeer(tmp) == nil then
  130. tolua.setpeer(tmp, {})
  131. end
  132. self.emptyTips = tmp
  133. end
  134. ---@private
  135. function UIGuildAuditApplyView:InitGenerate__7(Root, data)
  136. --[[
  137. UIAnimator/Window/Bg/EmptyTips/Bg
  138. --]]
  139. local tmp = Root:Find("UIAnimator/Window/Bg/EmptyTips/Bg").gameObject
  140. if tolua.getpeer(tmp) == nil then
  141. tolua.setpeer(tmp, {})
  142. end
  143. self.bg = tmp
  144. end
  145. ---@private
  146. function UIGuildAuditApplyView:InitGenerate__8(Root, data)
  147. --[[
  148. UIAnimator/Window/Bg/EmptyTips/DesTxt
  149. --]]
  150. local tmp = Root:Find("UIAnimator/Window/Bg/EmptyTips/DesTxt").gameObject
  151. if tolua.getpeer(tmp) == nil then
  152. tolua.setpeer(tmp, {})
  153. end
  154. self.desTxt = tmp
  155. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  156. end
  157. ---@private
  158. function UIGuildAuditApplyView:InitGenerate__9(Root, data)
  159. --[[
  160. UIAnimator/Window/Bg/Bottom
  161. --]]
  162. local tmp = Root:Find("UIAnimator/Window/Bg/Bottom").gameObject
  163. if tolua.getpeer(tmp) == nil then
  164. tolua.setpeer(tmp, {})
  165. end
  166. self.bottom = tmp
  167. end
  168. ---@private
  169. function UIGuildAuditApplyView:InitGenerate__10(Root, data)
  170. --[[
  171. UIAnimator/Window/Bg/Bottom/AllRefuseBtn
  172. --]]
  173. local tmp = Root:Find("UIAnimator/Window/Bg/Bottom/AllRefuseBtn").gameObject
  174. if tolua.getpeer(tmp) == nil then
  175. tolua.setpeer(tmp, {})
  176. end
  177. self.allRefuseBtn = tmp
  178. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  179. end
  180. ---@private
  181. function UIGuildAuditApplyView:InitGenerate__11(Root, data)
  182. --[[
  183. UIAnimator/Window/Bg/Bottom/AllAllowBtn
  184. --]]
  185. local tmp = Root:Find("UIAnimator/Window/Bg/Bottom/AllAllowBtn").gameObject
  186. if tolua.getpeer(tmp) == nil then
  187. tolua.setpeer(tmp, {})
  188. end
  189. self.allAllowBtn = tmp
  190. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  191. end
  192. ---@private
  193. function UIGuildAuditApplyView:GenerateDestroy()
  194. if tolua.getpeer(self.AnyBtn) ~= nil then
  195. tolua.setpeer(self.AnyBtn, nil)
  196. end
  197. self.AnyBtn = nil
  198. if tolua.getpeer(self.btnClose) ~= nil then
  199. tolua.setpeer(self.btnClose, nil)
  200. end
  201. self.btnClose = nil
  202. if tolua.getpeer(self.peopleNum) ~= nil then
  203. tolua.setpeer(self.peopleNum, nil)
  204. end
  205. self.peopleNum = nil
  206. if tolua.getpeer(self.peopleList) ~= nil then
  207. tolua.setpeer(self.peopleList, nil)
  208. end
  209. self.peopleList = nil
  210. if self.guildPeopleApplyItem.GenerateDestroy ~= nil then
  211. self.guildPeopleApplyItem:GenerateDestroy()
  212. end
  213. if tolua.getpeer(self.guildPeopleApplyItem) ~= nil then
  214. tolua.setpeer(self.guildPeopleApplyItem, nil)
  215. end
  216. self.guildPeopleApplyItem = nil
  217. if tolua.getpeer(self.emptyTips) ~= nil then
  218. tolua.setpeer(self.emptyTips, nil)
  219. end
  220. self.emptyTips = nil
  221. if tolua.getpeer(self.bg) ~= nil then
  222. tolua.setpeer(self.bg, nil)
  223. end
  224. self.bg = nil
  225. if tolua.getpeer(self.desTxt) ~= nil then
  226. tolua.setpeer(self.desTxt, nil)
  227. end
  228. self.desTxt = nil
  229. if tolua.getpeer(self.bottom) ~= nil then
  230. tolua.setpeer(self.bottom, nil)
  231. end
  232. self.bottom = nil
  233. if tolua.getpeer(self.allRefuseBtn) ~= nil then
  234. tolua.setpeer(self.allRefuseBtn, nil)
  235. end
  236. self.allRefuseBtn = nil
  237. if tolua.getpeer(self.allAllowBtn) ~= nil then
  238. tolua.setpeer(self.allAllowBtn, nil)
  239. end
  240. self.allAllowBtn = nil
  241. self.transform = nil
  242. self.gameObject = nil
  243. self.inited = false
  244. end
  245. return UIGuildAuditApplyView