UIGuildMainView_Generate.lua 29 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006
  1. ---@class UIGuildMain__Generate_clickMask
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public button UnityEngine.UI.Button
  4. ---@class UIGuildMain__Generate_guildTips_text
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public text UnityEngine.UI.Text
  7. ---@class UIGuildMain__Generate_guildTips
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public text UIGuildMain__Generate_guildTips_text
  10. ---@field public space UnityEngine.GameObject
  11. ---@class UIGuildMain__Generate_memberActiveTips_text
  12. ---@field public gameObject UnityEngine.GameObject
  13. ---@field public text UnityEngine.UI.Text
  14. ---@class UIGuildMain__Generate_memberActiveTips
  15. ---@field public gameObject UnityEngine.GameObject
  16. ---@field public rectTransform UnityEngine.RectTransform
  17. ---@field public text UIGuildMain__Generate_memberActiveTips_text
  18. ---@class UIGuildMain__Generate_peopleTxt
  19. ---@field public gameObject UnityEngine.GameObject
  20. ---@field public text UnityEngine.UI.Text
  21. ---@class UIGuildMain__Generate_btnGuildLog
  22. ---@field public gameObject UnityEngine.GameObject
  23. ---@field public button UnityEngine.UI.Button
  24. ---@class UIGuildMain__Generate_btnBack
  25. ---@field public gameObject UnityEngine.GameObject
  26. ---@field public button UnityEngine.UI.Button
  27. ---@class UIGuildMain__Generate_loadingItem
  28. ---@field public gameObject UnityEngine.GameObject
  29. ---@field public rectTransform UnityEngine.RectTransform
  30. ---@field public layoutElement UnityEngine.UI.LayoutElement
  31. ---@class UIGuildMain__Generate_guildPeopleItem
  32. ---@field public gameObject UnityEngine.GameObject
  33. ---@field public rectTransform UnityEngine.RectTransform
  34. ---@field public button UnityEngine.UI.Button
  35. ---@class UIGuildMain__Generate_peopleList
  36. ---@field public gameObject UnityEngine.GameObject
  37. ---@field public loopListView SuperScrollView.LoopListView
  38. ---@class UIGuildMain__Generate_btnPlayRule
  39. ---@field public gameObject UnityEngine.GameObject
  40. ---@field public button UnityEngine.UI.Button
  41. ---@class UIGuildMain__Generate_btnL
  42. ---@field public gameObject UnityEngine.GameObject
  43. ---@field public button UnityEngine.UI.Button
  44. ---@class UIGuildMain__Generate_btnR
  45. ---@field public gameObject UnityEngine.GameObject
  46. ---@field public button UnityEngine.UI.Button
  47. ---@class UIGuildMain__Generate_btnDemon
  48. ---@field public gameObject UnityEngine.GameObject
  49. ---@field public button UnityEngine.UI.Button
  50. ---@class UIGuildMain__Generate_btnShop
  51. ---@field public gameObject UnityEngine.GameObject
  52. ---@field public button UnityEngine.UI.Button
  53. ---@class UIGuildMain__Generate_btnBattle_timer_sword
  54. ---@field public gameObject UnityEngine.GameObject
  55. ---@field public animation UnityEngine.Animation
  56. ---@class UIGuildMain__Generate_btnBattle_timer_timerTxt
  57. ---@field public gameObject UnityEngine.GameObject
  58. ---@field public text TMPro.TextMeshProUGUI
  59. ---@class UIGuildMain__Generate_btnBattle_timer
  60. ---@field public gameObject UnityEngine.GameObject
  61. ---@field public timerTxt UIGuildMain__Generate_btnBattle_timer_timerTxt
  62. ---@field public sword UIGuildMain__Generate_btnBattle_timer_sword
  63. ---@field public wait UnityEngine.GameObject
  64. ---@class UIGuildMain__Generate_btnBattle
  65. ---@field public gameObject UnityEngine.GameObject
  66. ---@field public button UnityEngine.UI.Button
  67. ---@field public timer UIGuildMain__Generate_btnBattle_timer
  68. ---@class UIGuildMain__Generate_btnVenery
  69. ---@field public gameObject UnityEngine.GameObject
  70. ---@field public button UnityEngine.UI.Button
  71. ---@class UIGuildMain__Generate_scrollView
  72. ---@field public gameObject UnityEngine.GameObject
  73. ---@field public scrollRect UnityEngine.UI.ScrollRect
  74. ---@class UIGuildMain__Generate_changeBtn
  75. ---@field public gameObject UnityEngine.GameObject
  76. ---@field public button UnityEngine.UI.Button
  77. ---@class UIGuildMain__Generate_noticeNumTxt
  78. ---@field public gameObject UnityEngine.GameObject
  79. ---@field public text UnityEngine.UI.Text
  80. ---@class UIGuildMain__Generate_noticeInput
  81. ---@field public gameObject UnityEngine.GameObject
  82. ---@field public inputField UnityEngine.UI.InputField
  83. ---@class UIGuildMain__Generate_btnAdmin
  84. ---@field public gameObject UnityEngine.GameObject
  85. ---@field public rectTransform UnityEngine.RectTransform
  86. ---@field public button UnityEngine.UI.Button
  87. ---@class UIGuildMain__Generate_guildCPTxt
  88. ---@field public gameObject UnityEngine.GameObject
  89. ---@field public text UnityEngine.UI.Text
  90. ---@class UIGuildMain__Generate_guildCP
  91. ---@field public gameObject UnityEngine.GameObject
  92. ---@field public button UnityEngine.UI.Button
  93. ---@class UIGuildMain__Generate_activeTxt
  94. ---@field public gameObject UnityEngine.GameObject
  95. ---@field public text UnityEngine.UI.Text
  96. ---@class UIGuildMain__Generate_active
  97. ---@field public gameObject UnityEngine.GameObject
  98. ---@field public button UnityEngine.UI.Button
  99. ---@class UIGuildMain__Generate_idTxt
  100. ---@field public gameObject UnityEngine.GameObject
  101. ---@field public text UnityEngine.UI.Text
  102. ---@class UIGuildMain__Generate_lvTxt
  103. ---@field public gameObject UnityEngine.GameObject
  104. ---@field public text TMPro.TextMeshProUGUI
  105. ---@class UIGuildMain__Generate_expTxt
  106. ---@field public gameObject UnityEngine.GameObject
  107. ---@field public text UnityEngine.UI.Text
  108. ---@class UIGuildMain__Generate_expBar_background
  109. ---@field public gameObject UnityEngine.GameObject
  110. ---@field public button UnityEngine.UI.Button
  111. ---@class UIGuildMain__Generate_expBar
  112. ---@field public gameObject UnityEngine.GameObject
  113. ---@field public slider UnityEngine.UI.Slider
  114. ---@field public background UIGuildMain__Generate_expBar_background
  115. ---@class UIGuildMain__Generate_nameTxt
  116. ---@field public gameObject UnityEngine.GameObject
  117. ---@field public text UnityEngine.UI.Text
  118. ---@class UIGuildMain__Generate_guildBadgeItem
  119. ---@field public gameObject UnityEngine.GameObject
  120. ---@field public layoutElement UnityEngine.UI.LayoutElement
  121. ---@class UIGuildMain__Generate_AnyBtn
  122. ---@field public gameObject UnityEngine.GameObject
  123. ---@field public button UnityEngine.UI.Button
  124. ---@class UIGuildMain__Generate
  125. ---@field private gameObject UnityEngine.GameObject
  126. ---@field private transform UnityEngine.Transform
  127. ---@field private AnyBtn UIGuildMain__Generate_AnyBtn
  128. ---@field private guildBadgeItem UIGuildMain__Generate_guildBadgeItem
  129. ---@field private nameTxt UIGuildMain__Generate_nameTxt
  130. ---@field private expBar UIGuildMain__Generate_expBar
  131. ---@field private expTxt UIGuildMain__Generate_expTxt
  132. ---@field private lvTxt UIGuildMain__Generate_lvTxt
  133. ---@field private idTxt UIGuildMain__Generate_idTxt
  134. ---@field private active UIGuildMain__Generate_active
  135. ---@field private activeTxt UIGuildMain__Generate_activeTxt
  136. ---@field private guildCP UIGuildMain__Generate_guildCP
  137. ---@field private guildCPTxt UIGuildMain__Generate_guildCPTxt
  138. ---@field private btnAdmin UIGuildMain__Generate_btnAdmin
  139. ---@field private noticeInput UIGuildMain__Generate_noticeInput
  140. ---@field private changeImg UnityEngine.GameObject
  141. ---@field private noticeNumTxt UIGuildMain__Generate_noticeNumTxt
  142. ---@field private changeBtn UIGuildMain__Generate_changeBtn
  143. ---@field private scrollView UIGuildMain__Generate_scrollView
  144. ---@field private btnVenery UIGuildMain__Generate_btnVenery
  145. ---@field private btnBattle UIGuildMain__Generate_btnBattle
  146. ---@field private btnShop UIGuildMain__Generate_btnShop
  147. ---@field private btnDemon UIGuildMain__Generate_btnDemon
  148. ---@field private btnR UIGuildMain__Generate_btnR
  149. ---@field private btnL UIGuildMain__Generate_btnL
  150. ---@field private btnPlayRule UIGuildMain__Generate_btnPlayRule
  151. ---@field private peopleList UIGuildMain__Generate_peopleList
  152. ---@field private guildPeopleItem UIGuildMain__Generate_guildPeopleItem
  153. ---@field private loadingItem UIGuildMain__Generate_loadingItem
  154. ---@field private btnBack UIGuildMain__Generate_btnBack
  155. ---@field private btnGuildLog UIGuildMain__Generate_btnGuildLog
  156. ---@field private peopleTxt UIGuildMain__Generate_peopleTxt
  157. ---@field private memberActiveTips UIGuildMain__Generate_memberActiveTips
  158. ---@field private guildTips UIGuildMain__Generate_guildTips
  159. ---@field private clickMask UIGuildMain__Generate_clickMask
  160. local UIGuildMainView = class("UIGuildMainView", require("UIViewBase"))
  161. function UIGuildMainView:ctor()
  162. end
  163. ---@private
  164. function UIGuildMainView:SetActive(result)
  165. self.gameObject:SetActive(result)
  166. end
  167. ---@private
  168. function UIGuildMainView:InitGenerate(Root, data)
  169. self.transform = Root
  170. self.inited = true
  171. if self.super.Init then
  172. self.super.Init(self)
  173. end
  174. local tmp
  175. self:InitGenerate__1(Root,data)
  176. self:InitGenerate__2(Root,data)
  177. self:InitGenerate__3(Root,data)
  178. self:InitGenerate__4(Root,data)
  179. self:InitGenerate__5(Root,data)
  180. self:InitGenerate__6(Root,data)
  181. self:InitGenerate__7(Root,data)
  182. self:InitGenerate__8(Root,data)
  183. self:InitGenerate__9(Root,data)
  184. self:InitGenerate__10(Root,data)
  185. self:InitGenerate__11(Root,data)
  186. self:InitGenerate__12(Root,data)
  187. self:InitGenerate__13(Root,data)
  188. self:InitGenerate__14(Root,data)
  189. self:InitGenerate__15(Root,data)
  190. self:InitGenerate__16(Root,data)
  191. self:InitGenerate__17(Root,data)
  192. self:InitGenerate__18(Root,data)
  193. self:InitGenerate__19(Root,data)
  194. self:InitGenerate__20(Root,data)
  195. self:InitGenerate__21(Root,data)
  196. self:InitGenerate__22(Root,data)
  197. self:InitGenerate__23(Root,data)
  198. self:InitGenerate__24(Root,data)
  199. self:InitGenerate__25(Root,data)
  200. self:InitGenerate__26(Root,data)
  201. self:InitGenerate__27(Root,data)
  202. self:InitGenerate__28(Root,data)
  203. self:InitGenerate__29(Root,data)
  204. self:InitGenerate__30(Root,data)
  205. self:InitGenerate__31(Root,data)
  206. self:InitGenerate__32(Root,data)
  207. self:InitGenerate__33(Root,data)
  208. self:InitGenerate__34(Root,data)
  209. self:InitGenerate__35(Root,data)
  210. self:InitGenerate__36(Root,data)
  211. self:InitGenerate__37(Root,data)
  212. self:InitGenerate__38(Root,data)
  213. self:InitGenerate__39(Root,data)
  214. self:InitGenerate__40(Root,data)
  215. self:InitGenerate__41(Root,data)
  216. end
  217. ---@private
  218. function UIGuildMainView:InitGenerate__1(Root, data)
  219. --[[
  220. UIAnimator/Alpha
  221. --]]
  222. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  223. if tolua.getpeer(tmp) == nil then
  224. tolua.setpeer(tmp, {})
  225. end
  226. self.AnyBtn = tmp
  227. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  228. end
  229. ---@private
  230. function UIGuildMainView:InitGenerate__2(Root, data)
  231. --[[
  232. UIAnimator/Window/Top/GuildBadgeItem
  233. --]]
  234. local tmp = Root:Find("UIAnimator/Window/Top/GuildBadgeItem").gameObject
  235. if tolua.getpeer(tmp) == nil then
  236. tolua.setpeer(tmp, {})
  237. end
  238. self.guildBadgeItem = CommonUtil.BindGridViewItem2LuaStatic("GuildBadgeItem", tmp)
  239. self.guildBadgeItem.prefabName = "GuildBadgeItem"
  240. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  241. end
  242. ---@private
  243. function UIGuildMainView:InitGenerate__3(Root, data)
  244. --[[
  245. UIAnimator/Window/Top/NameTxt
  246. --]]
  247. local tmp = Root:Find("UIAnimator/Window/Top/NameTxt").gameObject
  248. if tolua.getpeer(tmp) == nil then
  249. tolua.setpeer(tmp, {})
  250. end
  251. self.nameTxt = tmp
  252. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  253. end
  254. ---@private
  255. function UIGuildMainView:InitGenerate__4(Root, data)
  256. --[[
  257. UIAnimator/Window/Top/ExpBar
  258. --]]
  259. local tmp = Root:Find("UIAnimator/Window/Top/ExpBar").gameObject
  260. if tolua.getpeer(tmp) == nil then
  261. tolua.setpeer(tmp, {})
  262. end
  263. self.expBar = tmp
  264. tmp.slider = tmp:GetComponent(Enum.TypeInfo.Slider)
  265. end
  266. ---@private
  267. function UIGuildMainView:InitGenerate__5(Root, data)
  268. --[[
  269. UIAnimator/Window/Top/ExpBar/Background
  270. --]]
  271. local tmp = Root:Find("UIAnimator/Window/Top/ExpBar/Background").gameObject
  272. if tolua.getpeer(tmp) == nil then
  273. tolua.setpeer(tmp, {})
  274. end
  275. self.expBar.background = tmp
  276. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  277. end
  278. ---@private
  279. function UIGuildMainView:InitGenerate__6(Root, data)
  280. --[[
  281. UIAnimator/Window/Top/ExpBar/ExpTxt
  282. --]]
  283. local tmp = Root:Find("UIAnimator/Window/Top/ExpBar/ExpTxt").gameObject
  284. if tolua.getpeer(tmp) == nil then
  285. tolua.setpeer(tmp, {})
  286. end
  287. self.expTxt = tmp
  288. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  289. end
  290. ---@private
  291. function UIGuildMainView:InitGenerate__7(Root, data)
  292. --[[
  293. UIAnimator/Window/Top/Lv/LvTxt
  294. --]]
  295. local tmp = Root:Find("UIAnimator/Window/Top/Lv/LvTxt").gameObject
  296. if tolua.getpeer(tmp) == nil then
  297. tolua.setpeer(tmp, {})
  298. end
  299. self.lvTxt = tmp
  300. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  301. end
  302. ---@private
  303. function UIGuildMainView:InitGenerate__8(Root, data)
  304. --[[
  305. UIAnimator/Window/Top/Id/IdTxt
  306. --]]
  307. local tmp = Root:Find("UIAnimator/Window/Top/Id/IdTxt").gameObject
  308. if tolua.getpeer(tmp) == nil then
  309. tolua.setpeer(tmp, {})
  310. end
  311. self.idTxt = tmp
  312. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  313. end
  314. ---@private
  315. function UIGuildMainView:InitGenerate__9(Root, data)
  316. --[[
  317. UIAnimator/Window/Top/Active
  318. --]]
  319. local tmp = Root:Find("UIAnimator/Window/Top/Active").gameObject
  320. if tolua.getpeer(tmp) == nil then
  321. tolua.setpeer(tmp, {})
  322. end
  323. self.active = tmp
  324. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  325. end
  326. ---@private
  327. function UIGuildMainView:InitGenerate__10(Root, data)
  328. --[[
  329. UIAnimator/Window/Top/Active/ActiveTxt
  330. --]]
  331. local tmp = Root:Find("UIAnimator/Window/Top/Active/ActiveTxt").gameObject
  332. if tolua.getpeer(tmp) == nil then
  333. tolua.setpeer(tmp, {})
  334. end
  335. self.activeTxt = tmp
  336. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  337. end
  338. ---@private
  339. function UIGuildMainView:InitGenerate__11(Root, data)
  340. --[[
  341. UIAnimator/Window/Top/GuildCP
  342. --]]
  343. local tmp = Root:Find("UIAnimator/Window/Top/GuildCP").gameObject
  344. if tolua.getpeer(tmp) == nil then
  345. tolua.setpeer(tmp, {})
  346. end
  347. self.guildCP = tmp
  348. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  349. end
  350. ---@private
  351. function UIGuildMainView:InitGenerate__12(Root, data)
  352. --[[
  353. UIAnimator/Window/Top/GuildCP/GuildCPTxt
  354. --]]
  355. local tmp = Root:Find("UIAnimator/Window/Top/GuildCP/GuildCPTxt").gameObject
  356. if tolua.getpeer(tmp) == nil then
  357. tolua.setpeer(tmp, {})
  358. end
  359. self.guildCPTxt = tmp
  360. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  361. end
  362. ---@private
  363. function UIGuildMainView:InitGenerate__13(Root, data)
  364. --[[
  365. UIAnimator/Window/Top/BtnAdmin
  366. --]]
  367. local tmp = Root:Find("UIAnimator/Window/Top/BtnAdmin").gameObject
  368. if tolua.getpeer(tmp) == nil then
  369. tolua.setpeer(tmp, {})
  370. end
  371. self.btnAdmin = tmp
  372. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  373. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  374. end
  375. ---@private
  376. function UIGuildMainView:InitGenerate__14(Root, data)
  377. --[[
  378. UIAnimator/Window/Top/Notice/NoticeInput
  379. --]]
  380. local tmp = Root:Find("UIAnimator/Window/Top/Notice/NoticeInput").gameObject
  381. if tolua.getpeer(tmp) == nil then
  382. tolua.setpeer(tmp, {})
  383. end
  384. self.noticeInput = tmp
  385. tmp.inputField = tmp:GetComponent(Enum.TypeInfo.InputField)
  386. end
  387. ---@private
  388. function UIGuildMainView:InitGenerate__15(Root, data)
  389. --[[
  390. UIAnimator/Window/Top/Notice/ChangeImg
  391. --]]
  392. local tmp = Root:Find("UIAnimator/Window/Top/Notice/ChangeImg").gameObject
  393. if tolua.getpeer(tmp) == nil then
  394. tolua.setpeer(tmp, {})
  395. end
  396. self.changeImg = tmp
  397. end
  398. ---@private
  399. function UIGuildMainView:InitGenerate__16(Root, data)
  400. --[[
  401. UIAnimator/Window/Top/Notice/NoticeNumTxt
  402. --]]
  403. local tmp = Root:Find("UIAnimator/Window/Top/Notice/NoticeNumTxt").gameObject
  404. if tolua.getpeer(tmp) == nil then
  405. tolua.setpeer(tmp, {})
  406. end
  407. self.noticeNumTxt = tmp
  408. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  409. end
  410. ---@private
  411. function UIGuildMainView:InitGenerate__17(Root, data)
  412. --[[
  413. UIAnimator/Window/Top/Notice/ChangeBtn
  414. --]]
  415. local tmp = Root:Find("UIAnimator/Window/Top/Notice/ChangeBtn").gameObject
  416. if tolua.getpeer(tmp) == nil then
  417. tolua.setpeer(tmp, {})
  418. end
  419. self.changeBtn = tmp
  420. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  421. end
  422. ---@private
  423. function UIGuildMainView:InitGenerate__18(Root, data)
  424. --[[
  425. UIAnimator/Window/Top/Actives/ScrollView
  426. --]]
  427. local tmp = Root:Find("UIAnimator/Window/Top/Actives/ScrollView").gameObject
  428. if tolua.getpeer(tmp) == nil then
  429. tolua.setpeer(tmp, {})
  430. end
  431. self.scrollView = tmp
  432. tmp.scrollRect = tmp:GetComponent(Enum.TypeInfo.ScrollRect)
  433. end
  434. ---@private
  435. function UIGuildMainView:InitGenerate__19(Root, data)
  436. --[[
  437. UIAnimator/Window/Top/Actives/ScrollView/Viewport/Content/BtnVenery
  438. --]]
  439. local tmp = Root:Find("UIAnimator/Window/Top/Actives/ScrollView/Viewport/Content/BtnVenery").gameObject
  440. if tolua.getpeer(tmp) == nil then
  441. tolua.setpeer(tmp, {})
  442. end
  443. self.btnVenery = tmp
  444. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  445. end
  446. ---@private
  447. function UIGuildMainView:InitGenerate__20(Root, data)
  448. --[[
  449. UIAnimator/Window/Top/Actives/ScrollView/Viewport/Content/BtnBattle
  450. --]]
  451. local tmp = Root:Find("UIAnimator/Window/Top/Actives/ScrollView/Viewport/Content/BtnBattle").gameObject
  452. if tolua.getpeer(tmp) == nil then
  453. tolua.setpeer(tmp, {})
  454. end
  455. self.btnBattle = tmp
  456. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  457. end
  458. ---@private
  459. function UIGuildMainView:InitGenerate__21(Root, data)
  460. --[[
  461. UIAnimator/Window/Top/Actives/ScrollView/Viewport/Content/BtnBattle/Timer
  462. --]]
  463. local tmp = Root:Find("UIAnimator/Window/Top/Actives/ScrollView/Viewport/Content/BtnBattle/Timer").gameObject
  464. if tolua.getpeer(tmp) == nil then
  465. tolua.setpeer(tmp, {})
  466. end
  467. self.btnBattle.timer = tmp
  468. end
  469. ---@private
  470. function UIGuildMainView:InitGenerate__22(Root, data)
  471. --[[
  472. UIAnimator/Window/Top/Actives/ScrollView/Viewport/Content/BtnBattle/Timer/TimerTxt
  473. --]]
  474. local tmp = Root:Find("UIAnimator/Window/Top/Actives/ScrollView/Viewport/Content/BtnBattle/Timer/TimerTxt").gameObject
  475. if tolua.getpeer(tmp) == nil then
  476. tolua.setpeer(tmp, {})
  477. end
  478. self.btnBattle.timer.timerTxt = tmp
  479. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  480. end
  481. ---@private
  482. function UIGuildMainView:InitGenerate__23(Root, data)
  483. --[[
  484. UIAnimator/Window/Top/Actives/ScrollView/Viewport/Content/BtnBattle/Timer/Sword
  485. --]]
  486. local tmp = Root:Find("UIAnimator/Window/Top/Actives/ScrollView/Viewport/Content/BtnBattle/Timer/Sword").gameObject
  487. if tolua.getpeer(tmp) == nil then
  488. tolua.setpeer(tmp, {})
  489. end
  490. self.btnBattle.timer.sword = tmp
  491. tmp.animation = tmp:GetComponent(Enum.TypeInfo.Animation)
  492. end
  493. ---@private
  494. function UIGuildMainView:InitGenerate__24(Root, data)
  495. --[[
  496. UIAnimator/Window/Top/Actives/ScrollView/Viewport/Content/BtnBattle/Timer/Wait
  497. --]]
  498. local tmp = Root:Find("UIAnimator/Window/Top/Actives/ScrollView/Viewport/Content/BtnBattle/Timer/Wait").gameObject
  499. if tolua.getpeer(tmp) == nil then
  500. tolua.setpeer(tmp, {})
  501. end
  502. self.btnBattle.timer.wait = tmp
  503. end
  504. ---@private
  505. function UIGuildMainView:InitGenerate__25(Root, data)
  506. --[[
  507. UIAnimator/Window/Top/Actives/ScrollView/Viewport/Content/BtnShop
  508. --]]
  509. local tmp = Root:Find("UIAnimator/Window/Top/Actives/ScrollView/Viewport/Content/BtnShop").gameObject
  510. if tolua.getpeer(tmp) == nil then
  511. tolua.setpeer(tmp, {})
  512. end
  513. self.btnShop = tmp
  514. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  515. end
  516. ---@private
  517. function UIGuildMainView:InitGenerate__26(Root, data)
  518. --[[
  519. UIAnimator/Window/Top/Actives/ScrollView/Viewport/Content/BtnDemon
  520. --]]
  521. local tmp = Root:Find("UIAnimator/Window/Top/Actives/ScrollView/Viewport/Content/BtnDemon").gameObject
  522. if tolua.getpeer(tmp) == nil then
  523. tolua.setpeer(tmp, {})
  524. end
  525. self.btnDemon = tmp
  526. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  527. end
  528. ---@private
  529. function UIGuildMainView:InitGenerate__27(Root, data)
  530. --[[
  531. UIAnimator/Window/Top/Actives/BtnR
  532. --]]
  533. local tmp = Root:Find("UIAnimator/Window/Top/Actives/BtnR").gameObject
  534. if tolua.getpeer(tmp) == nil then
  535. tolua.setpeer(tmp, {})
  536. end
  537. self.btnR = tmp
  538. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  539. end
  540. ---@private
  541. function UIGuildMainView:InitGenerate__28(Root, data)
  542. --[[
  543. UIAnimator/Window/Top/Actives/BtnL
  544. --]]
  545. local tmp = Root:Find("UIAnimator/Window/Top/Actives/BtnL").gameObject
  546. if tolua.getpeer(tmp) == nil then
  547. tolua.setpeer(tmp, {})
  548. end
  549. self.btnL = tmp
  550. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  551. end
  552. ---@private
  553. function UIGuildMainView:InitGenerate__29(Root, data)
  554. --[[
  555. UIAnimator/Window/Top/BtnPlayRule
  556. --]]
  557. local tmp = Root:Find("UIAnimator/Window/Top/BtnPlayRule").gameObject
  558. if tolua.getpeer(tmp) == nil then
  559. tolua.setpeer(tmp, {})
  560. end
  561. self.btnPlayRule = tmp
  562. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  563. end
  564. ---@private
  565. function UIGuildMainView:InitGenerate__30(Root, data)
  566. --[[
  567. UIAnimator/Window/Center/PeopleList
  568. --]]
  569. local tmp = Root:Find("UIAnimator/Window/Center/PeopleList").gameObject
  570. if tolua.getpeer(tmp) == nil then
  571. tolua.setpeer(tmp, {})
  572. end
  573. self.peopleList = tmp
  574. tmp.loopListView = tmp:GetComponent(Enum.TypeInfo.LoopListView)
  575. end
  576. ---@private
  577. function UIGuildMainView:InitGenerate__31(Root, data)
  578. --[[
  579. UIAnimator/Window/Center/PeopleList/Viewport/Content/GuildPeopleItem
  580. --]]
  581. local tmp = Root:Find("UIAnimator/Window/Center/PeopleList/Viewport/Content/GuildPeopleItem").gameObject
  582. if tolua.getpeer(tmp) == nil then
  583. tolua.setpeer(tmp, {})
  584. end
  585. self.guildPeopleItem = CommonUtil.BindGridViewItem2LuaStatic("GuildPeopleItem", tmp)
  586. self.guildPeopleItem.prefabName = "GuildPeopleItem"
  587. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  588. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  589. end
  590. ---@private
  591. function UIGuildMainView:InitGenerate__32(Root, data)
  592. --[[
  593. UIAnimator/Window/Center/PeopleList/Viewport/Content/LoadingItem
  594. --]]
  595. local tmp = Root:Find("UIAnimator/Window/Center/PeopleList/Viewport/Content/LoadingItem").gameObject
  596. if tolua.getpeer(tmp) == nil then
  597. tolua.setpeer(tmp, {})
  598. end
  599. self.loadingItem = CommonUtil.BindGridViewItem2LuaStatic("LoadingItem", tmp)
  600. self.loadingItem.prefabName = "LoadingItem"
  601. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  602. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  603. end
  604. ---@private
  605. function UIGuildMainView:InitGenerate__33(Root, data)
  606. --[[
  607. UIAnimator/Window/Bottom/BtnBack
  608. --]]
  609. local tmp = Root:Find("UIAnimator/Window/Bottom/BtnBack").gameObject
  610. if tolua.getpeer(tmp) == nil then
  611. tolua.setpeer(tmp, {})
  612. end
  613. self.btnBack = tmp
  614. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  615. end
  616. ---@private
  617. function UIGuildMainView:InitGenerate__34(Root, data)
  618. --[[
  619. UIAnimator/Window/Bottom/BtnGuildLog
  620. --]]
  621. local tmp = Root:Find("UIAnimator/Window/Bottom/BtnGuildLog").gameObject
  622. if tolua.getpeer(tmp) == nil then
  623. tolua.setpeer(tmp, {})
  624. end
  625. self.btnGuildLog = tmp
  626. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  627. end
  628. ---@private
  629. function UIGuildMainView:InitGenerate__35(Root, data)
  630. --[[
  631. UIAnimator/Window/Bottom/People/peopleTxt
  632. --]]
  633. local tmp = Root:Find("UIAnimator/Window/Bottom/People/peopleTxt").gameObject
  634. if tolua.getpeer(tmp) == nil then
  635. tolua.setpeer(tmp, {})
  636. end
  637. self.peopleTxt = tmp
  638. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  639. end
  640. ---@private
  641. function UIGuildMainView:InitGenerate__36(Root, data)
  642. --[[
  643. UIAnimator/Window/MemberActiveTips
  644. --]]
  645. local tmp = Root:Find("UIAnimator/Window/MemberActiveTips").gameObject
  646. if tolua.getpeer(tmp) == nil then
  647. tolua.setpeer(tmp, {})
  648. end
  649. self.memberActiveTips = tmp
  650. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  651. end
  652. ---@private
  653. function UIGuildMainView:InitGenerate__37(Root, data)
  654. --[[
  655. UIAnimator/Window/MemberActiveTips/Text
  656. --]]
  657. local tmp = Root:Find("UIAnimator/Window/MemberActiveTips/Text").gameObject
  658. if tolua.getpeer(tmp) == nil then
  659. tolua.setpeer(tmp, {})
  660. end
  661. self.memberActiveTips.text = tmp
  662. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  663. end
  664. ---@private
  665. function UIGuildMainView:InitGenerate__38(Root, data)
  666. --[[
  667. UIAnimator/Window/GuildTips
  668. --]]
  669. local tmp = Root:Find("UIAnimator/Window/GuildTips").gameObject
  670. if tolua.getpeer(tmp) == nil then
  671. tolua.setpeer(tmp, {})
  672. end
  673. self.guildTips = tmp
  674. end
  675. ---@private
  676. function UIGuildMainView:InitGenerate__39(Root, data)
  677. --[[
  678. UIAnimator/Window/GuildTips/Text
  679. --]]
  680. local tmp = Root:Find("UIAnimator/Window/GuildTips/Text").gameObject
  681. if tolua.getpeer(tmp) == nil then
  682. tolua.setpeer(tmp, {})
  683. end
  684. self.guildTips.text = tmp
  685. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  686. end
  687. ---@private
  688. function UIGuildMainView:InitGenerate__40(Root, data)
  689. --[[
  690. UIAnimator/Window/GuildTips/Space
  691. --]]
  692. local tmp = Root:Find("UIAnimator/Window/GuildTips/Space").gameObject
  693. if tolua.getpeer(tmp) == nil then
  694. tolua.setpeer(tmp, {})
  695. end
  696. self.guildTips.space = tmp
  697. end
  698. ---@private
  699. function UIGuildMainView:InitGenerate__41(Root, data)
  700. --[[
  701. UIAnimator/Window/ClickMask
  702. --]]
  703. local tmp = Root:Find("UIAnimator/Window/ClickMask").gameObject
  704. if tolua.getpeer(tmp) == nil then
  705. tolua.setpeer(tmp, {})
  706. end
  707. self.clickMask = tmp
  708. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  709. end
  710. ---@private
  711. function UIGuildMainView:GenerateDestroy()
  712. if tolua.getpeer(self.guildTips.space) ~= nil then
  713. tolua.setpeer(self.guildTips.space, nil)
  714. end
  715. if tolua.getpeer(self.guildTips.text) ~= nil then
  716. tolua.setpeer(self.guildTips.text, nil)
  717. end
  718. if tolua.getpeer(self.memberActiveTips.text) ~= nil then
  719. tolua.setpeer(self.memberActiveTips.text, nil)
  720. end
  721. if tolua.getpeer(self.btnBattle.timer.wait) ~= nil then
  722. tolua.setpeer(self.btnBattle.timer.wait, nil)
  723. end
  724. if tolua.getpeer(self.btnBattle.timer.sword) ~= nil then
  725. tolua.setpeer(self.btnBattle.timer.sword, nil)
  726. end
  727. if tolua.getpeer(self.btnBattle.timer.timerTxt) ~= nil then
  728. tolua.setpeer(self.btnBattle.timer.timerTxt, nil)
  729. end
  730. if tolua.getpeer(self.btnBattle.timer) ~= nil then
  731. tolua.setpeer(self.btnBattle.timer, nil)
  732. end
  733. if tolua.getpeer(self.expBar.background) ~= nil then
  734. tolua.setpeer(self.expBar.background, nil)
  735. end
  736. if tolua.getpeer(self.AnyBtn) ~= nil then
  737. tolua.setpeer(self.AnyBtn, nil)
  738. end
  739. self.AnyBtn = nil
  740. if self.guildBadgeItem.GenerateDestroy ~= nil then
  741. self.guildBadgeItem:GenerateDestroy()
  742. end
  743. if tolua.getpeer(self.guildBadgeItem) ~= nil then
  744. tolua.setpeer(self.guildBadgeItem, nil)
  745. end
  746. self.guildBadgeItem = nil
  747. if tolua.getpeer(self.nameTxt) ~= nil then
  748. tolua.setpeer(self.nameTxt, nil)
  749. end
  750. self.nameTxt = nil
  751. if tolua.getpeer(self.expBar) ~= nil then
  752. tolua.setpeer(self.expBar, nil)
  753. end
  754. self.expBar = nil
  755. if tolua.getpeer(self.expTxt) ~= nil then
  756. tolua.setpeer(self.expTxt, nil)
  757. end
  758. self.expTxt = nil
  759. if tolua.getpeer(self.lvTxt) ~= nil then
  760. tolua.setpeer(self.lvTxt, nil)
  761. end
  762. self.lvTxt = nil
  763. if tolua.getpeer(self.idTxt) ~= nil then
  764. tolua.setpeer(self.idTxt, nil)
  765. end
  766. self.idTxt = nil
  767. if tolua.getpeer(self.active) ~= nil then
  768. tolua.setpeer(self.active, nil)
  769. end
  770. self.active = nil
  771. if tolua.getpeer(self.activeTxt) ~= nil then
  772. tolua.setpeer(self.activeTxt, nil)
  773. end
  774. self.activeTxt = nil
  775. if tolua.getpeer(self.guildCP) ~= nil then
  776. tolua.setpeer(self.guildCP, nil)
  777. end
  778. self.guildCP = nil
  779. if tolua.getpeer(self.guildCPTxt) ~= nil then
  780. tolua.setpeer(self.guildCPTxt, nil)
  781. end
  782. self.guildCPTxt = nil
  783. if tolua.getpeer(self.btnAdmin) ~= nil then
  784. tolua.setpeer(self.btnAdmin, nil)
  785. end
  786. self.btnAdmin = nil
  787. if tolua.getpeer(self.noticeInput) ~= nil then
  788. tolua.setpeer(self.noticeInput, nil)
  789. end
  790. self.noticeInput = nil
  791. if tolua.getpeer(self.changeImg) ~= nil then
  792. tolua.setpeer(self.changeImg, nil)
  793. end
  794. self.changeImg = nil
  795. if tolua.getpeer(self.noticeNumTxt) ~= nil then
  796. tolua.setpeer(self.noticeNumTxt, nil)
  797. end
  798. self.noticeNumTxt = nil
  799. if tolua.getpeer(self.changeBtn) ~= nil then
  800. tolua.setpeer(self.changeBtn, nil)
  801. end
  802. self.changeBtn = nil
  803. if tolua.getpeer(self.scrollView) ~= nil then
  804. tolua.setpeer(self.scrollView, nil)
  805. end
  806. self.scrollView = nil
  807. if tolua.getpeer(self.btnVenery) ~= nil then
  808. tolua.setpeer(self.btnVenery, nil)
  809. end
  810. self.btnVenery = nil
  811. if tolua.getpeer(self.btnBattle) ~= nil then
  812. tolua.setpeer(self.btnBattle, nil)
  813. end
  814. self.btnBattle = nil
  815. if tolua.getpeer(self.btnShop) ~= nil then
  816. tolua.setpeer(self.btnShop, nil)
  817. end
  818. self.btnShop = nil
  819. if tolua.getpeer(self.btnDemon) ~= nil then
  820. tolua.setpeer(self.btnDemon, nil)
  821. end
  822. self.btnDemon = nil
  823. if tolua.getpeer(self.btnR) ~= nil then
  824. tolua.setpeer(self.btnR, nil)
  825. end
  826. self.btnR = nil
  827. if tolua.getpeer(self.btnL) ~= nil then
  828. tolua.setpeer(self.btnL, nil)
  829. end
  830. self.btnL = nil
  831. if tolua.getpeer(self.btnPlayRule) ~= nil then
  832. tolua.setpeer(self.btnPlayRule, nil)
  833. end
  834. self.btnPlayRule = nil
  835. if tolua.getpeer(self.peopleList) ~= nil then
  836. tolua.setpeer(self.peopleList, nil)
  837. end
  838. self.peopleList = nil
  839. if self.guildPeopleItem.GenerateDestroy ~= nil then
  840. self.guildPeopleItem:GenerateDestroy()
  841. end
  842. if tolua.getpeer(self.guildPeopleItem) ~= nil then
  843. tolua.setpeer(self.guildPeopleItem, nil)
  844. end
  845. self.guildPeopleItem = nil
  846. if self.loadingItem.GenerateDestroy ~= nil then
  847. self.loadingItem:GenerateDestroy()
  848. end
  849. if tolua.getpeer(self.loadingItem) ~= nil then
  850. tolua.setpeer(self.loadingItem, nil)
  851. end
  852. self.loadingItem = nil
  853. if tolua.getpeer(self.btnBack) ~= nil then
  854. tolua.setpeer(self.btnBack, nil)
  855. end
  856. self.btnBack = nil
  857. if tolua.getpeer(self.btnGuildLog) ~= nil then
  858. tolua.setpeer(self.btnGuildLog, nil)
  859. end
  860. self.btnGuildLog = nil
  861. if tolua.getpeer(self.peopleTxt) ~= nil then
  862. tolua.setpeer(self.peopleTxt, nil)
  863. end
  864. self.peopleTxt = nil
  865. if tolua.getpeer(self.memberActiveTips) ~= nil then
  866. tolua.setpeer(self.memberActiveTips, nil)
  867. end
  868. self.memberActiveTips = nil
  869. if tolua.getpeer(self.guildTips) ~= nil then
  870. tolua.setpeer(self.guildTips, nil)
  871. end
  872. self.guildTips = nil
  873. if tolua.getpeer(self.clickMask) ~= nil then
  874. tolua.setpeer(self.clickMask, nil)
  875. end
  876. self.clickMask = nil
  877. self.transform = nil
  878. self.gameObject = nil
  879. self.inited = false
  880. end
  881. return UIGuildMainView