UIFriendListView_Generate.lua 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380
  1. ---@class UIFriendList__Generate_btnRecruitShop
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public button UnityEngine.UI.Button
  4. ---@class UIFriendList__Generate_myRecruitCode_btnCopy
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public button UnityEngine.UI.Button
  7. ---@class UIFriendList__Generate_myRecruitCode_code
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public text UnityEngine.UI.Text
  10. ---@class UIFriendList__Generate_myRecruitCode_dsc
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public text UnityEngine.UI.Text
  13. ---@class UIFriendList__Generate_myRecruitCode
  14. ---@field public gameObject UnityEngine.GameObject
  15. ---@field public dsc UIFriendList__Generate_myRecruitCode_dsc
  16. ---@field public code UIFriendList__Generate_myRecruitCode_code
  17. ---@field public btnCopy UIFriendList__Generate_myRecruitCode_btnCopy
  18. ---@class UIFriendList__Generate_num
  19. ---@field public gameObject UnityEngine.GameObject
  20. ---@field public text UnityEngine.UI.Text
  21. ---@class UIFriendList__Generate_numIcon
  22. ---@field public gameObject UnityEngine.GameObject
  23. ---@field public image UnityEngine.UI.Image
  24. ---@field public switchSprite SwitchSprite
  25. ---@class UIFriendList__Generate_closeBtn
  26. ---@field public gameObject UnityEngine.GameObject
  27. ---@field public button UnityEngine.UI.Button
  28. ---@class UIFriendList__Generate_recruitFriendBtn
  29. ---@field public gameObject UnityEngine.GameObject
  30. ---@field public toggle UnityEngine.UI.Toggle
  31. ---@class UIFriendList__Generate_toggleGroup
  32. ---@field public gameObject UnityEngine.GameObject
  33. ---@field public toggleGroup UnityEngine.UI.ToggleGroup
  34. ---@class UIFriendList__Generate_recruitUI_clapCount
  35. ---@field public gameObject UnityEngine.GameObject
  36. ---@field public text UnityEngine.UI.Text
  37. ---@class UIFriendList__Generate_recruitUI_btnOnekeyClap
  38. ---@field public gameObject UnityEngine.GameObject
  39. ---@field public button UnityEngine.UI.Button
  40. ---@class UIFriendList__Generate_recruitUI_btnLog
  41. ---@field public gameObject UnityEngine.GameObject
  42. ---@field public button UnityEngine.UI.Button
  43. ---@class UIFriendList__Generate_recruitUI_center_dscMax
  44. ---@field public gameObject UnityEngine.GameObject
  45. ---@field public uILocalizeScript UILocalizeScript
  46. ---@class UIFriendList__Generate_recruitUI_center_studentCount
  47. ---@field public gameObject UnityEngine.GameObject
  48. ---@field public text UnityEngine.UI.Text
  49. ---@class UIFriendList__Generate_DscNotStudents
  50. ---@field public gameObject UnityEngine.GameObject
  51. ---@field public text UnityEngine.UI.Text
  52. ---@class UIFriendList__Generate_loadingItem
  53. ---@field public gameObject UnityEngine.GameObject
  54. ---@field public rectTransform UnityEngine.RectTransform
  55. ---@field public layoutElement UnityEngine.UI.LayoutElement
  56. ---@class UIFriendList__Generate_recruitUI_center_studentScrollview
  57. ---@field public gameObject UnityEngine.GameObject
  58. ---@field public loopListView SuperScrollView.LoopListView
  59. ---@class UIFriendList__Generate_recruitUI_center_taskScrollview
  60. ---@field public gameObject UnityEngine.GameObject
  61. ---@field public loopListView SuperScrollView.LoopListView
  62. ---@class UIFriendList__Generate_recruitUI_center_currency_number
  63. ---@field public gameObject UnityEngine.GameObject
  64. ---@field public text UnityEngine.UI.Text
  65. ---@class UIFriendList__Generate_recruitUI_center_currency_icon
  66. ---@field public gameObject UnityEngine.GameObject
  67. ---@field public image UnityEngine.UI.Image
  68. ---@class UIFriendList__Generate_recruitUI_center_currency
  69. ---@field public gameObject UnityEngine.GameObject
  70. ---@field public icon UIFriendList__Generate_recruitUI_center_currency_icon
  71. ---@field public number UIFriendList__Generate_recruitUI_center_currency_number
  72. ---@class UIFriendList__Generate_recruitUI_center_toggleGroup
  73. ---@field public gameObject UnityEngine.GameObject
  74. ---@field public toggleGroup UnityEngine.UI.ToggleGroup
  75. ---@class UIFriendList__Generate_recruitUI_center
  76. ---@field public gameObject UnityEngine.GameObject
  77. ---@field public toggleGroup UIFriendList__Generate_recruitUI_center_toggleGroup
  78. ---@field public currency UIFriendList__Generate_recruitUI_center_currency
  79. ---@field public taskScrollview UIFriendList__Generate_recruitUI_center_taskScrollview
  80. ---@field public studentScrollview UIFriendList__Generate_recruitUI_center_studentScrollview
  81. ---@field public studentCount UIFriendList__Generate_recruitUI_center_studentCount
  82. ---@field public dscMax UIFriendList__Generate_recruitUI_center_dscMax
  83. ---@class UIFriendList__Generate_nickname
  84. ---@field public gameObject UnityEngine.GameObject
  85. ---@field public text UnityEngine.UI.Text
  86. ---@class UIFriendList__Generate_time
  87. ---@field public gameObject UnityEngine.GameObject
  88. ---@field public text UnityEngine.UI.Text
  89. ---@class UIFriendList__Generate_statusImg
  90. ---@field public gameObject UnityEngine.GameObject
  91. ---@field public image UnityEngine.UI.Image
  92. ---@class UIFriendList__Generate_fighterPower
  93. ---@field public gameObject UnityEngine.GameObject
  94. ---@field public text UnityEngine.UI.Text
  95. ---@class UIFriendList__Generate_headItem
  96. ---@field public gameObject UnityEngine.GameObject
  97. ---@field public layoutElement UnityEngine.UI.LayoutElement
  98. ---@class UIFriendList__Generate_recruitUI_top_submitBtn
  99. ---@field public gameObject UnityEngine.GameObject
  100. ---@field public button UnityEngine.UI.Button
  101. ---@class UIFriendList__Generate_recruitUI_top_inputField
  102. ---@field public gameObject UnityEngine.GameObject
  103. ---@field public inputField UnityEngine.UI.InputField
  104. ---@field public icon UnityEngine.GameObject
  105. ---@class UIFriendList__Generate_recruitUI_top_dsc
  106. ---@field public gameObject UnityEngine.GameObject
  107. ---@field public text UnityEngine.UI.Text
  108. ---@field public uILocalizeScript UILocalizeScript
  109. ---@class UIFriendList__Generate_recruitUI_top
  110. ---@field public gameObject UnityEngine.GameObject
  111. ---@field public noTeacher UnityEngine.GameObject
  112. ---@field public dsc UIFriendList__Generate_recruitUI_top_dsc
  113. ---@field public inputField UIFriendList__Generate_recruitUI_top_inputField
  114. ---@field public submitBtn UIFriendList__Generate_recruitUI_top_submitBtn
  115. ---@field public hasTeacher UnityEngine.GameObject
  116. ---@field public info UnityEngine.GameObject
  117. ---@field public head UnityEngine.GameObject
  118. ---@class UIFriendList__Generate_recruitUI
  119. ---@field public gameObject UnityEngine.GameObject
  120. ---@field public top UIFriendList__Generate_recruitUI_top
  121. ---@field public center UIFriendList__Generate_recruitUI_center
  122. ---@field public taskBg UnityEngine.GameObject
  123. ---@field public studentBg UnityEngine.GameObject
  124. ---@field public noStudent UnityEngine.GameObject
  125. ---@field public btnLog UIFriendList__Generate_recruitUI_btnLog
  126. ---@field public btnOnekeyClap UIFriendList__Generate_recruitUI_btnOnekeyClap
  127. ---@field public clapCount UIFriendList__Generate_recruitUI_clapCount
  128. ---@class UIFriendList__Generate_refreshBtn
  129. ---@field public gameObject UnityEngine.GameObject
  130. ---@field public button UnityEngine.UI.Button
  131. ---@class UIFriendList__Generate_searchBtn
  132. ---@field public gameObject UnityEngine.GameObject
  133. ---@field public button UnityEngine.UI.Button
  134. ---@class UIFriendList__Generate_searchNameInput
  135. ---@field public gameObject UnityEngine.GameObject
  136. ---@field public inputField UnityEngine.UI.InputField
  137. ---@class UIFriendList__Generate_recommendScrollView_content
  138. ---@field public gameObject UnityEngine.GameObject
  139. ---@field public gridLayoutGroup UnityEngine.UI.GridLayoutGroup
  140. ---@class UIFriendList__Generate_recommendScrollView
  141. ---@field public gameObject UnityEngine.GameObject
  142. ---@field public loopVerticalScrollRect UnityEngine.UI.LoopVerticalScrollRect
  143. ---@field public content UIFriendList__Generate_recommendScrollView_content
  144. ---@class UIFriendList__Generate_emptyContent
  145. ---@field public gameObject UnityEngine.GameObject
  146. ---@field public text UnityEngine.UI.Text
  147. ---@class UIFriendList__Generate_scrollview_content
  148. ---@field public gameObject UnityEngine.GameObject
  149. ---@field public gridLayoutGroup UnityEngine.UI.GridLayoutGroup
  150. ---@class UIFriendList__Generate_scrollview
  151. ---@field public gameObject UnityEngine.GameObject
  152. ---@field public loopVerticalScrollRect UnityEngine.UI.LoopVerticalScrollRect
  153. ---@field public content UIFriendList__Generate_scrollview_content
  154. ---@class UIFriendList__Generate_btnPlayRule
  155. ---@field public gameObject UnityEngine.GameObject
  156. ---@field public button UnityEngine.UI.Button
  157. ---@class UIFriendList__Generate_AnyBtn
  158. ---@field public gameObject UnityEngine.GameObject
  159. ---@field public button UnityEngine.UI.Button
  160. ---@class UIFriendList__Generate_uIAnimator
  161. ---@field public gameObject UnityEngine.GameObject
  162. ---@field public animator UnityEngine.Animator
  163. ---@class UIFriendList__Generate
  164. ---@field private gameObject UnityEngine.GameObject
  165. ---@field private transform UnityEngine.Transform
  166. ---@field private uIAnimator UIFriendList__Generate_uIAnimator
  167. ---@field private AnyBtn UIFriendList__Generate_AnyBtn
  168. ---@field private btnPlayRule UIFriendList__Generate_btnPlayRule
  169. ---@field private scrollview UIFriendList__Generate_scrollview
  170. ---@field private emptyTips UnityEngine.GameObject
  171. ---@field private emptyContent UIFriendList__Generate_emptyContent
  172. ---@field private recommendScrollView UIFriendList__Generate_recommendScrollView
  173. ---@field private searchNode UnityEngine.GameObject
  174. ---@field private searchNameInput UIFriendList__Generate_searchNameInput
  175. ---@field private icon UnityEngine.GameObject
  176. ---@field private searchBtn UIFriendList__Generate_searchBtn
  177. ---@field private refreshBtn UIFriendList__Generate_refreshBtn
  178. ---@field private recruitUI UIFriendList__Generate_recruitUI
  179. ---@field private headItem UIFriendList__Generate_headItem
  180. ---@field private fighterPower UIFriendList__Generate_fighterPower
  181. ---@field private timeBox UnityEngine.GameObject
  182. ---@field private statusImg UIFriendList__Generate_statusImg
  183. ---@field private time UIFriendList__Generate_time
  184. ---@field private nickname UIFriendList__Generate_nickname
  185. ---@field private recruitTaskItem UnityEngine.GameObject
  186. ---@field private loadingItem UIFriendList__Generate_loadingItem
  187. ---@field private DscNotStudents UIFriendList__Generate_DscNotStudents
  188. ---@field private clapBG UnityEngine.GameObject
  189. ---@field private toggleGroup UIFriendList__Generate_toggleGroup
  190. ---@field private fansRedPoint UnityEngine.GameObject
  191. ---@field private recruitFriendBtn UIFriendList__Generate_recruitFriendBtn
  192. ---@field private closeBtn UIFriendList__Generate_closeBtn
  193. ---@field private numRoot UnityEngine.GameObject
  194. ---@field private numIcon UIFriendList__Generate_numIcon
  195. ---@field private num UIFriendList__Generate_num
  196. ---@field private myRecruitCode UIFriendList__Generate_myRecruitCode
  197. ---@field private btnRecruitShop UIFriendList__Generate_btnRecruitShop
  198. local UIFriendListView = class("UIFriendListView", require("UIViewBase"))
  199. function UIFriendListView:ctor()
  200. end
  201. ---@private
  202. function UIFriendListView:SetActive(result)
  203. self.gameObject:SetActive(result)
  204. end
  205. ---@private
  206. function UIFriendListView:InitGenerate(Root, data)
  207. self.transform = Root
  208. self.inited = true
  209. if self.super.Init then
  210. self.super.Init(self)
  211. end
  212. local tmp
  213. self:InitGenerate__1(Root,data)
  214. self:InitGenerate__2(Root,data)
  215. self:InitGenerate__3(Root,data)
  216. self:InitGenerate__4(Root,data)
  217. self:InitGenerate__5(Root,data)
  218. self:InitGenerate__6(Root,data)
  219. self:InitGenerate__7(Root,data)
  220. self:InitGenerate__8(Root,data)
  221. self:InitGenerate__9(Root,data)
  222. self:InitGenerate__10(Root,data)
  223. self:InitGenerate__11(Root,data)
  224. self:InitGenerate__12(Root,data)
  225. self:InitGenerate__13(Root,data)
  226. self:InitGenerate__14(Root,data)
  227. self:InitGenerate__15(Root,data)
  228. self:InitGenerate__16(Root,data)
  229. self:InitGenerate__17(Root,data)
  230. self:InitGenerate__18(Root,data)
  231. self:InitGenerate__19(Root,data)
  232. self:InitGenerate__20(Root,data)
  233. self:InitGenerate__21(Root,data)
  234. self:InitGenerate__22(Root,data)
  235. self:InitGenerate__23(Root,data)
  236. self:InitGenerate__24(Root,data)
  237. self:InitGenerate__25(Root,data)
  238. self:InitGenerate__26(Root,data)
  239. self:InitGenerate__27(Root,data)
  240. self:InitGenerate__28(Root,data)
  241. self:InitGenerate__29(Root,data)
  242. self:InitGenerate__30(Root,data)
  243. self:InitGenerate__31(Root,data)
  244. self:InitGenerate__32(Root,data)
  245. self:InitGenerate__33(Root,data)
  246. self:InitGenerate__34(Root,data)
  247. self:InitGenerate__35(Root,data)
  248. self:InitGenerate__36(Root,data)
  249. self:InitGenerate__37(Root,data)
  250. self:InitGenerate__38(Root,data)
  251. self:InitGenerate__39(Root,data)
  252. self:InitGenerate__40(Root,data)
  253. self:InitGenerate__41(Root,data)
  254. self:InitGenerate__42(Root,data)
  255. self:InitGenerate__43(Root,data)
  256. self:InitGenerate__44(Root,data)
  257. self:InitGenerate__45(Root,data)
  258. self:InitGenerate__46(Root,data)
  259. self:InitGenerate__47(Root,data)
  260. self:InitGenerate__48(Root,data)
  261. self:InitGenerate__49(Root,data)
  262. self:InitGenerate__50(Root,data)
  263. self:InitGenerate__51(Root,data)
  264. self:InitGenerate__52(Root,data)
  265. self:InitGenerate__53(Root,data)
  266. self:InitGenerate__54(Root,data)
  267. self:InitGenerate__55(Root,data)
  268. self:InitGenerate__56(Root,data)
  269. self:InitGenerate__57(Root,data)
  270. self:InitGenerate__58(Root,data)
  271. self:InitGenerate__59(Root,data)
  272. self:InitGenerate__60(Root,data)
  273. self:InitGenerate__61(Root,data)
  274. end
  275. ---@private
  276. function UIFriendListView:InitGenerate__1(Root, data)
  277. --[[
  278. UIAnimator
  279. --]]
  280. local tmp = Root:Find("UIAnimator").gameObject
  281. if tolua.getpeer(tmp) == nil then
  282. tolua.setpeer(tmp, {})
  283. end
  284. self.uIAnimator = tmp
  285. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  286. tmp.animator.logWarnings = false
  287. end
  288. ---@private
  289. function UIFriendListView:InitGenerate__2(Root, data)
  290. --[[
  291. UIAnimator/Alpha
  292. --]]
  293. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  294. if tolua.getpeer(tmp) == nil then
  295. tolua.setpeer(tmp, {})
  296. end
  297. self.AnyBtn = tmp
  298. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  299. end
  300. ---@private
  301. function UIFriendListView:InitGenerate__3(Root, data)
  302. --[[
  303. UIAnimator/Window/BtnBG/BtnPlayRule
  304. --]]
  305. local tmp = Root:Find("UIAnimator/Window/BtnBG/BtnPlayRule").gameObject
  306. if tolua.getpeer(tmp) == nil then
  307. tolua.setpeer(tmp, {})
  308. end
  309. self.btnPlayRule = tmp
  310. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  311. end
  312. ---@private
  313. function UIFriendListView:InitGenerate__4(Root, data)
  314. --[[
  315. UIAnimator/Window/scrollview
  316. --]]
  317. local tmp = Root:Find("UIAnimator/Window/scrollview").gameObject
  318. if tolua.getpeer(tmp) == nil then
  319. tolua.setpeer(tmp, {})
  320. end
  321. self.scrollview = tmp
  322. tmp.loopVerticalScrollRect = tmp:GetComponent(Enum.TypeInfo.LoopVerticalScrollRect)
  323. end
  324. ---@private
  325. function UIFriendListView:InitGenerate__5(Root, data)
  326. --[[
  327. UIAnimator/Window/scrollview/Viewport/Content
  328. --]]
  329. local tmp = Root:Find("UIAnimator/Window/scrollview/Viewport/Content").gameObject
  330. if tolua.getpeer(tmp) == nil then
  331. tolua.setpeer(tmp, {})
  332. end
  333. self.scrollview.content = tmp
  334. tmp.gridLayoutGroup = tmp:GetComponent(Enum.TypeInfo.GridLayoutGroup)
  335. end
  336. ---@private
  337. function UIFriendListView:InitGenerate__6(Root, data)
  338. --[[
  339. UIAnimator/Window/EmptyTips
  340. --]]
  341. local tmp = Root:Find("UIAnimator/Window/EmptyTips").gameObject
  342. if tolua.getpeer(tmp) == nil then
  343. tolua.setpeer(tmp, {})
  344. end
  345. self.emptyTips = tmp
  346. end
  347. ---@private
  348. function UIFriendListView:InitGenerate__7(Root, data)
  349. --[[
  350. UIAnimator/Window/EmptyTips/DesTxt
  351. --]]
  352. local tmp = Root:Find("UIAnimator/Window/EmptyTips/DesTxt").gameObject
  353. if tolua.getpeer(tmp) == nil then
  354. tolua.setpeer(tmp, {})
  355. end
  356. self.emptyContent = tmp
  357. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  358. end
  359. ---@private
  360. function UIFriendListView:InitGenerate__8(Root, data)
  361. --[[
  362. UIAnimator/Window/recommendScrollview
  363. --]]
  364. local tmp = Root:Find("UIAnimator/Window/recommendScrollview").gameObject
  365. if tolua.getpeer(tmp) == nil then
  366. tolua.setpeer(tmp, {})
  367. end
  368. self.recommendScrollView = tmp
  369. tmp.loopVerticalScrollRect = tmp:GetComponent(Enum.TypeInfo.LoopVerticalScrollRect)
  370. end
  371. ---@private
  372. function UIFriendListView:InitGenerate__9(Root, data)
  373. --[[
  374. UIAnimator/Window/recommendScrollview/Viewport/Content
  375. --]]
  376. local tmp = Root:Find("UIAnimator/Window/recommendScrollview/Viewport/Content").gameObject
  377. if tolua.getpeer(tmp) == nil then
  378. tolua.setpeer(tmp, {})
  379. end
  380. self.recommendScrollView.content = tmp
  381. tmp.gridLayoutGroup = tmp:GetComponent(Enum.TypeInfo.GridLayoutGroup)
  382. end
  383. ---@private
  384. function UIFriendListView:InitGenerate__10(Root, data)
  385. --[[
  386. UIAnimator/Window/SearchNode
  387. --]]
  388. local tmp = Root:Find("UIAnimator/Window/SearchNode").gameObject
  389. if tolua.getpeer(tmp) == nil then
  390. tolua.setpeer(tmp, {})
  391. end
  392. self.searchNode = tmp
  393. end
  394. ---@private
  395. function UIFriendListView:InitGenerate__11(Root, data)
  396. --[[
  397. UIAnimator/Window/SearchNode/InputField
  398. --]]
  399. local tmp = Root:Find("UIAnimator/Window/SearchNode/InputField").gameObject
  400. if tolua.getpeer(tmp) == nil then
  401. tolua.setpeer(tmp, {})
  402. end
  403. self.searchNameInput = tmp
  404. tmp.inputField = tmp:GetComponent(Enum.TypeInfo.InputField)
  405. end
  406. ---@private
  407. function UIFriendListView:InitGenerate__12(Root, data)
  408. --[[
  409. UIAnimator/Window/SearchNode/InputField/icon
  410. --]]
  411. local tmp = Root:Find("UIAnimator/Window/SearchNode/InputField/icon").gameObject
  412. if tolua.getpeer(tmp) == nil then
  413. tolua.setpeer(tmp, {})
  414. end
  415. self.icon = tmp
  416. end
  417. ---@private
  418. function UIFriendListView:InitGenerate__13(Root, data)
  419. --[[
  420. UIAnimator/Window/SearchNode/SearchBtn
  421. --]]
  422. local tmp = Root:Find("UIAnimator/Window/SearchNode/SearchBtn").gameObject
  423. if tolua.getpeer(tmp) == nil then
  424. tolua.setpeer(tmp, {})
  425. end
  426. self.searchBtn = tmp
  427. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  428. end
  429. ---@private
  430. function UIFriendListView:InitGenerate__14(Root, data)
  431. --[[
  432. UIAnimator/Window/SearchNode/RefreshBtn
  433. --]]
  434. local tmp = Root:Find("UIAnimator/Window/SearchNode/RefreshBtn").gameObject
  435. if tolua.getpeer(tmp) == nil then
  436. tolua.setpeer(tmp, {})
  437. end
  438. self.refreshBtn = tmp
  439. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  440. end
  441. ---@private
  442. function UIFriendListView:InitGenerate__15(Root, data)
  443. --[[
  444. UIAnimator/Window/RecruitUI
  445. --]]
  446. local tmp = Root:Find("UIAnimator/Window/RecruitUI").gameObject
  447. if tolua.getpeer(tmp) == nil then
  448. tolua.setpeer(tmp, {})
  449. end
  450. self.recruitUI = tmp
  451. end
  452. ---@private
  453. function UIFriendListView:InitGenerate__16(Root, data)
  454. --[[
  455. UIAnimator/Window/RecruitUI/Top
  456. --]]
  457. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Top").gameObject
  458. if tolua.getpeer(tmp) == nil then
  459. tolua.setpeer(tmp, {})
  460. end
  461. self.recruitUI.top = tmp
  462. end
  463. ---@private
  464. function UIFriendListView:InitGenerate__17(Root, data)
  465. --[[
  466. UIAnimator/Window/RecruitUI/Top/NoTeacher
  467. --]]
  468. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Top/NoTeacher").gameObject
  469. if tolua.getpeer(tmp) == nil then
  470. tolua.setpeer(tmp, {})
  471. end
  472. self.recruitUI.top.noTeacher = tmp
  473. end
  474. ---@private
  475. function UIFriendListView:InitGenerate__18(Root, data)
  476. --[[
  477. UIAnimator/Window/RecruitUI/Top/NoTeacher/Dsc
  478. --]]
  479. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Top/NoTeacher/Dsc").gameObject
  480. if tolua.getpeer(tmp) == nil then
  481. tolua.setpeer(tmp, {})
  482. end
  483. self.recruitUI.top.dsc = tmp
  484. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  485. tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
  486. end
  487. ---@private
  488. function UIFriendListView:InitGenerate__19(Root, data)
  489. --[[
  490. UIAnimator/Window/RecruitUI/Top/NoTeacher/InputField
  491. --]]
  492. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Top/NoTeacher/InputField").gameObject
  493. if tolua.getpeer(tmp) == nil then
  494. tolua.setpeer(tmp, {})
  495. end
  496. self.recruitUI.top.inputField = tmp
  497. tmp.inputField = tmp:GetComponent(Enum.TypeInfo.InputField)
  498. end
  499. ---@private
  500. function UIFriendListView:InitGenerate__20(Root, data)
  501. --[[
  502. UIAnimator/Window/RecruitUI/Top/NoTeacher/InputField/icon
  503. --]]
  504. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Top/NoTeacher/InputField/icon").gameObject
  505. if tolua.getpeer(tmp) == nil then
  506. tolua.setpeer(tmp, {})
  507. end
  508. self.recruitUI.top.inputField.icon = tmp
  509. end
  510. ---@private
  511. function UIFriendListView:InitGenerate__21(Root, data)
  512. --[[
  513. UIAnimator/Window/RecruitUI/Top/NoTeacher/SubmitBtn
  514. --]]
  515. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Top/NoTeacher/SubmitBtn").gameObject
  516. if tolua.getpeer(tmp) == nil then
  517. tolua.setpeer(tmp, {})
  518. end
  519. self.recruitUI.top.submitBtn = tmp
  520. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  521. end
  522. ---@private
  523. function UIFriendListView:InitGenerate__22(Root, data)
  524. --[[
  525. UIAnimator/Window/RecruitUI/Top/HasTeacher
  526. --]]
  527. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Top/HasTeacher").gameObject
  528. if tolua.getpeer(tmp) == nil then
  529. tolua.setpeer(tmp, {})
  530. end
  531. self.recruitUI.top.hasTeacher = tmp
  532. end
  533. ---@private
  534. function UIFriendListView:InitGenerate__23(Root, data)
  535. --[[
  536. UIAnimator/Window/RecruitUI/Top/HasTeacher/Info
  537. --]]
  538. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Top/HasTeacher/Info").gameObject
  539. if tolua.getpeer(tmp) == nil then
  540. tolua.setpeer(tmp, {})
  541. end
  542. self.recruitUI.top.info = tmp
  543. end
  544. ---@private
  545. function UIFriendListView:InitGenerate__24(Root, data)
  546. --[[
  547. UIAnimator/Window/RecruitUI/Top/HasTeacher/Info/Head
  548. --]]
  549. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Top/HasTeacher/Info/Head").gameObject
  550. if tolua.getpeer(tmp) == nil then
  551. tolua.setpeer(tmp, {})
  552. end
  553. self.recruitUI.top.head = tmp
  554. end
  555. ---@private
  556. function UIFriendListView:InitGenerate__25(Root, data)
  557. --[[
  558. UIAnimator/Window/RecruitUI/Top/HasTeacher/Info/Head/HeadItem
  559. --]]
  560. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Top/HasTeacher/Info/Head/HeadItem").gameObject
  561. if tolua.getpeer(tmp) == nil then
  562. tolua.setpeer(tmp, {})
  563. end
  564. self.headItem = CommonUtil.BindGridViewItem2LuaStatic("HeadItem", tmp)
  565. self.headItem.prefabName = "HeadItem"
  566. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  567. end
  568. ---@private
  569. function UIFriendListView:InitGenerate__26(Root, data)
  570. --[[
  571. UIAnimator/Window/RecruitUI/Top/HasTeacher/Info/FightPBox/FighterPower
  572. --]]
  573. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Top/HasTeacher/Info/FightPBox/FighterPower").gameObject
  574. if tolua.getpeer(tmp) == nil then
  575. tolua.setpeer(tmp, {})
  576. end
  577. self.fighterPower = tmp
  578. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  579. end
  580. ---@private
  581. function UIFriendListView:InitGenerate__27(Root, data)
  582. --[[
  583. UIAnimator/Window/RecruitUI/Top/HasTeacher/Info/TimeBox
  584. --]]
  585. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Top/HasTeacher/Info/TimeBox").gameObject
  586. if tolua.getpeer(tmp) == nil then
  587. tolua.setpeer(tmp, {})
  588. end
  589. self.timeBox = tmp
  590. end
  591. ---@private
  592. function UIFriendListView:InitGenerate__28(Root, data)
  593. --[[
  594. UIAnimator/Window/RecruitUI/Top/HasTeacher/Info/TimeBox/StatusImg
  595. --]]
  596. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Top/HasTeacher/Info/TimeBox/StatusImg").gameObject
  597. if tolua.getpeer(tmp) == nil then
  598. tolua.setpeer(tmp, {})
  599. end
  600. self.statusImg = tmp
  601. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  602. end
  603. ---@private
  604. function UIFriendListView:InitGenerate__29(Root, data)
  605. --[[
  606. UIAnimator/Window/RecruitUI/Top/HasTeacher/Info/TimeBox/Time
  607. --]]
  608. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Top/HasTeacher/Info/TimeBox/Time").gameObject
  609. if tolua.getpeer(tmp) == nil then
  610. tolua.setpeer(tmp, {})
  611. end
  612. self.time = tmp
  613. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  614. end
  615. ---@private
  616. function UIFriendListView:InitGenerate__30(Root, data)
  617. --[[
  618. UIAnimator/Window/RecruitUI/Top/HasTeacher/Info/Nickname
  619. --]]
  620. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Top/HasTeacher/Info/Nickname").gameObject
  621. if tolua.getpeer(tmp) == nil then
  622. tolua.setpeer(tmp, {})
  623. end
  624. self.nickname = tmp
  625. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  626. end
  627. ---@private
  628. function UIFriendListView:InitGenerate__31(Root, data)
  629. --[[
  630. UIAnimator/Window/RecruitUI/Center
  631. --]]
  632. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Center").gameObject
  633. if tolua.getpeer(tmp) == nil then
  634. tolua.setpeer(tmp, {})
  635. end
  636. self.recruitUI.center = tmp
  637. end
  638. ---@private
  639. function UIFriendListView:InitGenerate__32(Root, data)
  640. --[[
  641. UIAnimator/Window/RecruitUI/Center/ToggleGroup
  642. --]]
  643. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Center/ToggleGroup").gameObject
  644. if tolua.getpeer(tmp) == nil then
  645. tolua.setpeer(tmp, {})
  646. end
  647. self.recruitUI.center.toggleGroup = tmp
  648. tmp.toggleGroup = tmp:GetComponent(Enum.TypeInfo.ToggleGroup)
  649. end
  650. ---@private
  651. function UIFriendListView:InitGenerate__33(Root, data)
  652. --[[
  653. UIAnimator/Window/RecruitUI/Center/Currency
  654. --]]
  655. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Center/Currency").gameObject
  656. if tolua.getpeer(tmp) == nil then
  657. tolua.setpeer(tmp, {})
  658. end
  659. self.recruitUI.center.currency = tmp
  660. end
  661. ---@private
  662. function UIFriendListView:InitGenerate__34(Root, data)
  663. --[[
  664. UIAnimator/Window/RecruitUI/Center/Currency/Icon
  665. --]]
  666. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Center/Currency/Icon").gameObject
  667. if tolua.getpeer(tmp) == nil then
  668. tolua.setpeer(tmp, {})
  669. end
  670. self.recruitUI.center.currency.icon = tmp
  671. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  672. end
  673. ---@private
  674. function UIFriendListView:InitGenerate__35(Root, data)
  675. --[[
  676. UIAnimator/Window/RecruitUI/Center/Currency/Number
  677. --]]
  678. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Center/Currency/Number").gameObject
  679. if tolua.getpeer(tmp) == nil then
  680. tolua.setpeer(tmp, {})
  681. end
  682. self.recruitUI.center.currency.number = tmp
  683. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  684. end
  685. ---@private
  686. function UIFriendListView:InitGenerate__36(Root, data)
  687. --[[
  688. UIAnimator/Window/RecruitUI/Center/TaskBg
  689. --]]
  690. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Center/TaskBg").gameObject
  691. if tolua.getpeer(tmp) == nil then
  692. tolua.setpeer(tmp, {})
  693. end
  694. self.recruitUI.taskBg = tmp
  695. end
  696. ---@private
  697. function UIFriendListView:InitGenerate__37(Root, data)
  698. --[[
  699. UIAnimator/Window/RecruitUI/Center/TaskBg/TaskScrollview
  700. --]]
  701. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Center/TaskBg/TaskScrollview").gameObject
  702. if tolua.getpeer(tmp) == nil then
  703. tolua.setpeer(tmp, {})
  704. end
  705. self.recruitUI.center.taskScrollview = tmp
  706. tmp.loopListView = tmp:GetComponent(Enum.TypeInfo.LoopListView)
  707. end
  708. ---@private
  709. function UIFriendListView:InitGenerate__38(Root, data)
  710. --[[
  711. UIAnimator/Window/RecruitUI/Center/TaskBg/TaskScrollview/Viewport/Content/RecruitTaskItem
  712. --]]
  713. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Center/TaskBg/TaskScrollview/Viewport/Content/RecruitTaskItem").gameObject
  714. if tolua.getpeer(tmp) == nil then
  715. tolua.setpeer(tmp, {})
  716. end
  717. self.recruitTaskItem = CommonUtil.BindGridViewItem2LuaStatic("RecruitTaskItem", tmp)
  718. self.recruitTaskItem.prefabName = "RecruitTaskItem"
  719. end
  720. ---@private
  721. function UIFriendListView:InitGenerate__39(Root, data)
  722. --[[
  723. UIAnimator/Window/RecruitUI/Center/StudentBg
  724. --]]
  725. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Center/StudentBg").gameObject
  726. if tolua.getpeer(tmp) == nil then
  727. tolua.setpeer(tmp, {})
  728. end
  729. self.recruitUI.studentBg = tmp
  730. self.recruitUI.studentBg:SetActive(false)
  731. end
  732. ---@private
  733. function UIFriendListView:InitGenerate__40(Root, data)
  734. --[[
  735. UIAnimator/Window/RecruitUI/Center/StudentBg/StudentScrollview
  736. --]]
  737. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Center/StudentBg/StudentScrollview").gameObject
  738. if tolua.getpeer(tmp) == nil then
  739. tolua.setpeer(tmp, {})
  740. end
  741. self.recruitUI.center.studentScrollview = tmp
  742. tmp.loopListView = tmp:GetComponent(Enum.TypeInfo.LoopListView)
  743. end
  744. ---@private
  745. function UIFriendListView:InitGenerate__41(Root, data)
  746. --[[
  747. UIAnimator/Window/RecruitUI/Center/StudentBg/StudentScrollview/Viewport/Content/LoadingItem
  748. --]]
  749. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Center/StudentBg/StudentScrollview/Viewport/Content/LoadingItem").gameObject
  750. if tolua.getpeer(tmp) == nil then
  751. tolua.setpeer(tmp, {})
  752. end
  753. self.loadingItem = CommonUtil.BindGridViewItem2LuaStatic("LoadingItem", tmp)
  754. self.loadingItem.prefabName = "LoadingItem"
  755. tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform)
  756. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  757. end
  758. ---@private
  759. function UIFriendListView:InitGenerate__42(Root, data)
  760. --[[
  761. UIAnimator/Window/RecruitUI/Center/StudentBg/NoStudent
  762. --]]
  763. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Center/StudentBg/NoStudent").gameObject
  764. if tolua.getpeer(tmp) == nil then
  765. tolua.setpeer(tmp, {})
  766. end
  767. self.recruitUI.noStudent = tmp
  768. end
  769. ---@private
  770. function UIFriendListView:InitGenerate__43(Root, data)
  771. --[[
  772. UIAnimator/Window/RecruitUI/Center/StudentBg/NoStudent/DesTxt
  773. --]]
  774. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Center/StudentBg/NoStudent/DesTxt").gameObject
  775. if tolua.getpeer(tmp) == nil then
  776. tolua.setpeer(tmp, {})
  777. end
  778. self.DscNotStudents = tmp
  779. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  780. end
  781. ---@private
  782. function UIFriendListView:InitGenerate__44(Root, data)
  783. --[[
  784. UIAnimator/Window/RecruitUI/Center/StudentBg/CountBox/StudentCount
  785. --]]
  786. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Center/StudentBg/CountBox/StudentCount").gameObject
  787. if tolua.getpeer(tmp) == nil then
  788. tolua.setpeer(tmp, {})
  789. end
  790. self.recruitUI.center.studentCount = tmp
  791. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  792. end
  793. ---@private
  794. function UIFriendListView:InitGenerate__45(Root, data)
  795. --[[
  796. UIAnimator/Window/RecruitUI/Center/StudentBg/CountBox/DscMax
  797. --]]
  798. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Center/StudentBg/CountBox/DscMax").gameObject
  799. if tolua.getpeer(tmp) == nil then
  800. tolua.setpeer(tmp, {})
  801. end
  802. self.recruitUI.center.dscMax = tmp
  803. tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
  804. end
  805. ---@private
  806. function UIFriendListView:InitGenerate__46(Root, data)
  807. --[[
  808. UIAnimator/Window/RecruitUI/Center/StudentBg/BtnLog
  809. --]]
  810. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Center/StudentBg/BtnLog").gameObject
  811. if tolua.getpeer(tmp) == nil then
  812. tolua.setpeer(tmp, {})
  813. end
  814. self.recruitUI.btnLog = tmp
  815. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  816. end
  817. ---@private
  818. function UIFriendListView:InitGenerate__47(Root, data)
  819. --[[
  820. UIAnimator/Window/RecruitUI/Center/StudentBg/BtnOnekeyClap
  821. --]]
  822. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Center/StudentBg/BtnOnekeyClap").gameObject
  823. if tolua.getpeer(tmp) == nil then
  824. tolua.setpeer(tmp, {})
  825. end
  826. self.recruitUI.btnOnekeyClap = tmp
  827. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  828. end
  829. ---@private
  830. function UIFriendListView:InitGenerate__48(Root, data)
  831. --[[
  832. UIAnimator/Window/RecruitUI/Center/StudentBg/ClapBG
  833. --]]
  834. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Center/StudentBg/ClapBG").gameObject
  835. if tolua.getpeer(tmp) == nil then
  836. tolua.setpeer(tmp, {})
  837. end
  838. self.clapBG = tmp
  839. end
  840. ---@private
  841. function UIFriendListView:InitGenerate__49(Root, data)
  842. --[[
  843. UIAnimator/Window/RecruitUI/Center/StudentBg/ClapBG/ClapCount
  844. --]]
  845. local tmp = Root:Find("UIAnimator/Window/RecruitUI/Center/StudentBg/ClapBG/ClapCount").gameObject
  846. if tolua.getpeer(tmp) == nil then
  847. tolua.setpeer(tmp, {})
  848. end
  849. self.recruitUI.clapCount = tmp
  850. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  851. end
  852. ---@private
  853. function UIFriendListView:InitGenerate__50(Root, data)
  854. --[[
  855. UIAnimator/Window/ToggleGroup
  856. --]]
  857. local tmp = Root:Find("UIAnimator/Window/ToggleGroup").gameObject
  858. if tolua.getpeer(tmp) == nil then
  859. tolua.setpeer(tmp, {})
  860. end
  861. self.toggleGroup = tmp
  862. tmp.toggleGroup = tmp:GetComponent(Enum.TypeInfo.ToggleGroup)
  863. end
  864. ---@private
  865. function UIFriendListView:InitGenerate__51(Root, data)
  866. --[[
  867. UIAnimator/Window/ToggleGroup/FansList/UINewRP
  868. --]]
  869. local tmp = Root:Find("UIAnimator/Window/ToggleGroup/FansList/UINewRP").gameObject
  870. if tolua.getpeer(tmp) == nil then
  871. tolua.setpeer(tmp, {})
  872. end
  873. self.fansRedPoint = tmp
  874. end
  875. ---@private
  876. function UIFriendListView:InitGenerate__52(Root, data)
  877. --[[
  878. UIAnimator/Window/ToggleGroup/RecruitFriendBtn
  879. --]]
  880. local tmp = Root:Find("UIAnimator/Window/ToggleGroup/RecruitFriendBtn").gameObject
  881. if tolua.getpeer(tmp) == nil then
  882. tolua.setpeer(tmp, {})
  883. end
  884. self.recruitFriendBtn = tmp
  885. tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
  886. end
  887. ---@private
  888. function UIFriendListView:InitGenerate__53(Root, data)
  889. --[[
  890. UIAnimator/Window/BtnBack
  891. --]]
  892. local tmp = Root:Find("UIAnimator/Window/BtnBack").gameObject
  893. if tolua.getpeer(tmp) == nil then
  894. tolua.setpeer(tmp, {})
  895. end
  896. self.closeBtn = tmp
  897. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  898. end
  899. ---@private
  900. function UIFriendListView:InitGenerate__54(Root, data)
  901. --[[
  902. UIAnimator/Window/NumTips
  903. --]]
  904. local tmp = Root:Find("UIAnimator/Window/NumTips").gameObject
  905. if tolua.getpeer(tmp) == nil then
  906. tolua.setpeer(tmp, {})
  907. end
  908. self.numRoot = tmp
  909. end
  910. ---@private
  911. function UIFriendListView:InitGenerate__55(Root, data)
  912. --[[
  913. UIAnimator/Window/NumTips/icon
  914. --]]
  915. local tmp = Root:Find("UIAnimator/Window/NumTips/icon").gameObject
  916. if tolua.getpeer(tmp) == nil then
  917. tolua.setpeer(tmp, {})
  918. end
  919. self.numIcon = tmp
  920. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  921. tmp.switchSprite = tmp:GetComponent(Enum.TypeInfo.SwitchSprite)
  922. end
  923. ---@private
  924. function UIFriendListView:InitGenerate__56(Root, data)
  925. --[[
  926. UIAnimator/Window/NumTips/Num
  927. --]]
  928. local tmp = Root:Find("UIAnimator/Window/NumTips/Num").gameObject
  929. if tolua.getpeer(tmp) == nil then
  930. tolua.setpeer(tmp, {})
  931. end
  932. self.num = tmp
  933. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  934. end
  935. ---@private
  936. function UIFriendListView:InitGenerate__57(Root, data)
  937. --[[
  938. UIAnimator/Window/MyRecruitCode
  939. --]]
  940. local tmp = Root:Find("UIAnimator/Window/MyRecruitCode").gameObject
  941. if tolua.getpeer(tmp) == nil then
  942. tolua.setpeer(tmp, {})
  943. end
  944. self.myRecruitCode = tmp
  945. end
  946. ---@private
  947. function UIFriendListView:InitGenerate__58(Root, data)
  948. --[[
  949. UIAnimator/Window/MyRecruitCode/dsc
  950. --]]
  951. local tmp = Root:Find("UIAnimator/Window/MyRecruitCode/dsc").gameObject
  952. if tolua.getpeer(tmp) == nil then
  953. tolua.setpeer(tmp, {})
  954. end
  955. self.myRecruitCode.dsc = tmp
  956. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  957. end
  958. ---@private
  959. function UIFriendListView:InitGenerate__59(Root, data)
  960. --[[
  961. UIAnimator/Window/MyRecruitCode/code
  962. --]]
  963. local tmp = Root:Find("UIAnimator/Window/MyRecruitCode/code").gameObject
  964. if tolua.getpeer(tmp) == nil then
  965. tolua.setpeer(tmp, {})
  966. end
  967. self.myRecruitCode.code = tmp
  968. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  969. end
  970. ---@private
  971. function UIFriendListView:InitGenerate__60(Root, data)
  972. --[[
  973. UIAnimator/Window/MyRecruitCode/BtnCopy
  974. --]]
  975. local tmp = Root:Find("UIAnimator/Window/MyRecruitCode/BtnCopy").gameObject
  976. if tolua.getpeer(tmp) == nil then
  977. tolua.setpeer(tmp, {})
  978. end
  979. self.myRecruitCode.btnCopy = tmp
  980. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  981. end
  982. ---@private
  983. function UIFriendListView:InitGenerate__61(Root, data)
  984. --[[
  985. UIAnimator/Window/BtnRecruitShop
  986. --]]
  987. local tmp = Root:Find("UIAnimator/Window/BtnRecruitShop").gameObject
  988. if tolua.getpeer(tmp) == nil then
  989. tolua.setpeer(tmp, {})
  990. end
  991. self.btnRecruitShop = tmp
  992. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  993. end
  994. ---@private
  995. function UIFriendListView:GenerateDestroy()
  996. if tolua.getpeer(self.myRecruitCode.btnCopy) ~= nil then
  997. tolua.setpeer(self.myRecruitCode.btnCopy, nil)
  998. end
  999. if tolua.getpeer(self.myRecruitCode.code) ~= nil then
  1000. tolua.setpeer(self.myRecruitCode.code, nil)
  1001. end
  1002. if tolua.getpeer(self.myRecruitCode.dsc) ~= nil then
  1003. tolua.setpeer(self.myRecruitCode.dsc, nil)
  1004. end
  1005. if tolua.getpeer(self.recruitUI.clapCount) ~= nil then
  1006. tolua.setpeer(self.recruitUI.clapCount, nil)
  1007. end
  1008. if tolua.getpeer(self.recruitUI.btnOnekeyClap) ~= nil then
  1009. tolua.setpeer(self.recruitUI.btnOnekeyClap, nil)
  1010. end
  1011. if tolua.getpeer(self.recruitUI.btnLog) ~= nil then
  1012. tolua.setpeer(self.recruitUI.btnLog, nil)
  1013. end
  1014. if tolua.getpeer(self.recruitUI.center.dscMax) ~= nil then
  1015. tolua.setpeer(self.recruitUI.center.dscMax, nil)
  1016. end
  1017. if tolua.getpeer(self.recruitUI.center.studentCount) ~= nil then
  1018. tolua.setpeer(self.recruitUI.center.studentCount, nil)
  1019. end
  1020. if tolua.getpeer(self.recruitUI.noStudent) ~= nil then
  1021. tolua.setpeer(self.recruitUI.noStudent, nil)
  1022. end
  1023. if tolua.getpeer(self.recruitUI.center.studentScrollview) ~= nil then
  1024. tolua.setpeer(self.recruitUI.center.studentScrollview, nil)
  1025. end
  1026. if tolua.getpeer(self.recruitUI.studentBg) ~= nil then
  1027. tolua.setpeer(self.recruitUI.studentBg, nil)
  1028. end
  1029. if tolua.getpeer(self.recruitUI.center.taskScrollview) ~= nil then
  1030. tolua.setpeer(self.recruitUI.center.taskScrollview, nil)
  1031. end
  1032. if tolua.getpeer(self.recruitUI.taskBg) ~= nil then
  1033. tolua.setpeer(self.recruitUI.taskBg, nil)
  1034. end
  1035. if tolua.getpeer(self.recruitUI.center.currency.number) ~= nil then
  1036. tolua.setpeer(self.recruitUI.center.currency.number, nil)
  1037. end
  1038. if tolua.getpeer(self.recruitUI.center.currency.icon) ~= nil then
  1039. tolua.setpeer(self.recruitUI.center.currency.icon, nil)
  1040. end
  1041. if tolua.getpeer(self.recruitUI.center.currency) ~= nil then
  1042. tolua.setpeer(self.recruitUI.center.currency, nil)
  1043. end
  1044. if tolua.getpeer(self.recruitUI.center.toggleGroup) ~= nil then
  1045. tolua.setpeer(self.recruitUI.center.toggleGroup, nil)
  1046. end
  1047. if tolua.getpeer(self.recruitUI.center) ~= nil then
  1048. tolua.setpeer(self.recruitUI.center, nil)
  1049. end
  1050. if tolua.getpeer(self.recruitUI.top.head) ~= nil then
  1051. tolua.setpeer(self.recruitUI.top.head, nil)
  1052. end
  1053. if tolua.getpeer(self.recruitUI.top.info) ~= nil then
  1054. tolua.setpeer(self.recruitUI.top.info, nil)
  1055. end
  1056. if tolua.getpeer(self.recruitUI.top.hasTeacher) ~= nil then
  1057. tolua.setpeer(self.recruitUI.top.hasTeacher, nil)
  1058. end
  1059. if tolua.getpeer(self.recruitUI.top.submitBtn) ~= nil then
  1060. tolua.setpeer(self.recruitUI.top.submitBtn, nil)
  1061. end
  1062. if tolua.getpeer(self.recruitUI.top.inputField.icon) ~= nil then
  1063. tolua.setpeer(self.recruitUI.top.inputField.icon, nil)
  1064. end
  1065. if tolua.getpeer(self.recruitUI.top.inputField) ~= nil then
  1066. tolua.setpeer(self.recruitUI.top.inputField, nil)
  1067. end
  1068. if tolua.getpeer(self.recruitUI.top.dsc) ~= nil then
  1069. tolua.setpeer(self.recruitUI.top.dsc, nil)
  1070. end
  1071. if tolua.getpeer(self.recruitUI.top.noTeacher) ~= nil then
  1072. tolua.setpeer(self.recruitUI.top.noTeacher, nil)
  1073. end
  1074. if tolua.getpeer(self.recruitUI.top) ~= nil then
  1075. tolua.setpeer(self.recruitUI.top, nil)
  1076. end
  1077. if tolua.getpeer(self.recommendScrollView.content) ~= nil then
  1078. tolua.setpeer(self.recommendScrollView.content, nil)
  1079. end
  1080. if tolua.getpeer(self.scrollview.content) ~= nil then
  1081. tolua.setpeer(self.scrollview.content, nil)
  1082. end
  1083. if tolua.getpeer(self.uIAnimator) ~= nil then
  1084. tolua.setpeer(self.uIAnimator, nil)
  1085. end
  1086. self.uIAnimator = nil
  1087. if tolua.getpeer(self.AnyBtn) ~= nil then
  1088. tolua.setpeer(self.AnyBtn, nil)
  1089. end
  1090. self.AnyBtn = nil
  1091. if tolua.getpeer(self.btnPlayRule) ~= nil then
  1092. tolua.setpeer(self.btnPlayRule, nil)
  1093. end
  1094. self.btnPlayRule = nil
  1095. if tolua.getpeer(self.scrollview) ~= nil then
  1096. tolua.setpeer(self.scrollview, nil)
  1097. end
  1098. self.scrollview = nil
  1099. if tolua.getpeer(self.emptyTips) ~= nil then
  1100. tolua.setpeer(self.emptyTips, nil)
  1101. end
  1102. self.emptyTips = nil
  1103. if tolua.getpeer(self.emptyContent) ~= nil then
  1104. tolua.setpeer(self.emptyContent, nil)
  1105. end
  1106. self.emptyContent = nil
  1107. if tolua.getpeer(self.recommendScrollView) ~= nil then
  1108. tolua.setpeer(self.recommendScrollView, nil)
  1109. end
  1110. self.recommendScrollView = nil
  1111. if tolua.getpeer(self.searchNode) ~= nil then
  1112. tolua.setpeer(self.searchNode, nil)
  1113. end
  1114. self.searchNode = nil
  1115. if tolua.getpeer(self.searchNameInput) ~= nil then
  1116. tolua.setpeer(self.searchNameInput, nil)
  1117. end
  1118. self.searchNameInput = nil
  1119. if tolua.getpeer(self.icon) ~= nil then
  1120. tolua.setpeer(self.icon, nil)
  1121. end
  1122. self.icon = nil
  1123. if tolua.getpeer(self.searchBtn) ~= nil then
  1124. tolua.setpeer(self.searchBtn, nil)
  1125. end
  1126. self.searchBtn = nil
  1127. if tolua.getpeer(self.refreshBtn) ~= nil then
  1128. tolua.setpeer(self.refreshBtn, nil)
  1129. end
  1130. self.refreshBtn = nil
  1131. if tolua.getpeer(self.recruitUI) ~= nil then
  1132. tolua.setpeer(self.recruitUI, nil)
  1133. end
  1134. self.recruitUI = nil
  1135. if self.headItem.GenerateDestroy ~= nil then
  1136. self.headItem:GenerateDestroy()
  1137. end
  1138. if tolua.getpeer(self.headItem) ~= nil then
  1139. tolua.setpeer(self.headItem, nil)
  1140. end
  1141. self.headItem = nil
  1142. if tolua.getpeer(self.fighterPower) ~= nil then
  1143. tolua.setpeer(self.fighterPower, nil)
  1144. end
  1145. self.fighterPower = nil
  1146. if tolua.getpeer(self.timeBox) ~= nil then
  1147. tolua.setpeer(self.timeBox, nil)
  1148. end
  1149. self.timeBox = nil
  1150. if tolua.getpeer(self.statusImg) ~= nil then
  1151. tolua.setpeer(self.statusImg, nil)
  1152. end
  1153. self.statusImg = nil
  1154. if tolua.getpeer(self.time) ~= nil then
  1155. tolua.setpeer(self.time, nil)
  1156. end
  1157. self.time = nil
  1158. if tolua.getpeer(self.nickname) ~= nil then
  1159. tolua.setpeer(self.nickname, nil)
  1160. end
  1161. self.nickname = nil
  1162. if self.recruitTaskItem.GenerateDestroy ~= nil then
  1163. self.recruitTaskItem:GenerateDestroy()
  1164. end
  1165. if tolua.getpeer(self.recruitTaskItem) ~= nil then
  1166. tolua.setpeer(self.recruitTaskItem, nil)
  1167. end
  1168. self.recruitTaskItem = nil
  1169. if self.loadingItem.GenerateDestroy ~= nil then
  1170. self.loadingItem:GenerateDestroy()
  1171. end
  1172. if tolua.getpeer(self.loadingItem) ~= nil then
  1173. tolua.setpeer(self.loadingItem, nil)
  1174. end
  1175. self.loadingItem = nil
  1176. if tolua.getpeer(self.DscNotStudents) ~= nil then
  1177. tolua.setpeer(self.DscNotStudents, nil)
  1178. end
  1179. self.DscNotStudents = nil
  1180. if tolua.getpeer(self.clapBG) ~= nil then
  1181. tolua.setpeer(self.clapBG, nil)
  1182. end
  1183. self.clapBG = nil
  1184. if tolua.getpeer(self.toggleGroup) ~= nil then
  1185. tolua.setpeer(self.toggleGroup, nil)
  1186. end
  1187. self.toggleGroup = nil
  1188. if tolua.getpeer(self.fansRedPoint) ~= nil then
  1189. tolua.setpeer(self.fansRedPoint, nil)
  1190. end
  1191. self.fansRedPoint = nil
  1192. if tolua.getpeer(self.recruitFriendBtn) ~= nil then
  1193. tolua.setpeer(self.recruitFriendBtn, nil)
  1194. end
  1195. self.recruitFriendBtn = nil
  1196. if tolua.getpeer(self.closeBtn) ~= nil then
  1197. tolua.setpeer(self.closeBtn, nil)
  1198. end
  1199. self.closeBtn = nil
  1200. if tolua.getpeer(self.numRoot) ~= nil then
  1201. tolua.setpeer(self.numRoot, nil)
  1202. end
  1203. self.numRoot = nil
  1204. if tolua.getpeer(self.numIcon) ~= nil then
  1205. tolua.setpeer(self.numIcon, nil)
  1206. end
  1207. self.numIcon = nil
  1208. if tolua.getpeer(self.num) ~= nil then
  1209. tolua.setpeer(self.num, nil)
  1210. end
  1211. self.num = nil
  1212. if tolua.getpeer(self.myRecruitCode) ~= nil then
  1213. tolua.setpeer(self.myRecruitCode, nil)
  1214. end
  1215. self.myRecruitCode = nil
  1216. if tolua.getpeer(self.btnRecruitShop) ~= nil then
  1217. tolua.setpeer(self.btnRecruitShop, nil)
  1218. end
  1219. self.btnRecruitShop = nil
  1220. self.transform = nil
  1221. self.gameObject = nil
  1222. self.inited = false
  1223. end
  1224. return UIFriendListView