UIHundredDojoChallengeView_Generate.lua 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854
  1. ---@class UIHundredDojoChallenge__Generate_questionTxt
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public text UnityEngine.UI.Text
  4. ---@class UIHundredDojoChallenge__Generate_text
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public uILocalizeScript UILocalizeScript
  7. ---@class UIHundredDojoChallenge__Generate_btnCapture
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public button UnityEngine.UI.Button
  10. ---@class UIHundredDojoChallenge__Generate_btnSure
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public uILocalizeScript UILocalizeScript
  13. ---@class UIHundredDojoChallenge__Generate_btnChallenge
  14. ---@field public gameObject UnityEngine.GameObject
  15. ---@field public button UnityEngine.UI.Button
  16. ---@class UIHundredDojoChallenge__Generate_btnCancleText
  17. ---@field public gameObject UnityEngine.GameObject
  18. ---@field public uILocalizeScript UILocalizeScript
  19. ---@class UIHundredDojoChallenge__Generate_btnCancle
  20. ---@field public gameObject UnityEngine.GameObject
  21. ---@field public button UnityEngine.UI.Button
  22. ---@class UIHundredDojoChallenge__Generate_bubble_slogan
  23. ---@field public gameObject UnityEngine.GameObject
  24. ---@field public text UnityEngine.UI.Text
  25. ---@class UIHundredDojoChallenge__Generate_bubble
  26. ---@field public gameObject UnityEngine.GameObject
  27. ---@field public slogan UIHundredDojoChallenge__Generate_bubble_slogan
  28. ---@class UIHundredDojoChallenge__Generate_timerTxt
  29. ---@field public gameObject UnityEngine.GameObject
  30. ---@field public text UnityEngine.UI.Text
  31. ---@class UIHundredDojoChallenge__Generate_currency3_text
  32. ---@field public gameObject UnityEngine.GameObject
  33. ---@field public text UnityEngine.UI.Text
  34. ---@class UIHundredDojoChallenge__Generate_currency3_icon
  35. ---@field public gameObject UnityEngine.GameObject
  36. ---@field public image UnityEngine.UI.Image
  37. ---@class UIHundredDojoChallenge__Generate_currency3
  38. ---@field public gameObject UnityEngine.GameObject
  39. ---@field public icon UIHundredDojoChallenge__Generate_currency3_icon
  40. ---@field public text UIHundredDojoChallenge__Generate_currency3_text
  41. ---@class UIHundredDojoChallenge__Generate_currency2_text
  42. ---@field public gameObject UnityEngine.GameObject
  43. ---@field public text UnityEngine.UI.Text
  44. ---@class UIHundredDojoChallenge__Generate_currency2_icon
  45. ---@field public gameObject UnityEngine.GameObject
  46. ---@field public image UnityEngine.UI.Image
  47. ---@class UIHundredDojoChallenge__Generate_currency2
  48. ---@field public gameObject UnityEngine.GameObject
  49. ---@field public icon UIHundredDojoChallenge__Generate_currency2_icon
  50. ---@field public text UIHundredDojoChallenge__Generate_currency2_text
  51. ---@class UIHundredDojoChallenge__Generate_currency1_text
  52. ---@field public gameObject UnityEngine.GameObject
  53. ---@field public text UnityEngine.UI.Text
  54. ---@class UIHundredDojoChallenge__Generate_currency1_icon
  55. ---@field public gameObject UnityEngine.GameObject
  56. ---@field public image UnityEngine.UI.Image
  57. ---@class UIHundredDojoChallenge__Generate_currency1
  58. ---@field public gameObject UnityEngine.GameObject
  59. ---@field public icon UIHundredDojoChallenge__Generate_currency1_icon
  60. ---@field public text UIHundredDojoChallenge__Generate_currency1_text
  61. ---@class UIHundredDojoChallenge__Generate_hundredDojoSlotItem6
  62. ---@field public gameObject UnityEngine.GameObject
  63. ---@field public animator UnityEngine.Animator
  64. ---@field public button UnityEngine.UI.Button
  65. ---@class UIHundredDojoChallenge__Generate_hundredDojoSlotItem5
  66. ---@field public gameObject UnityEngine.GameObject
  67. ---@field public animator UnityEngine.Animator
  68. ---@field public button UnityEngine.UI.Button
  69. ---@class UIHundredDojoChallenge__Generate_hundredDojoSlotItem4
  70. ---@field public gameObject UnityEngine.GameObject
  71. ---@field public animator UnityEngine.Animator
  72. ---@field public button UnityEngine.UI.Button
  73. ---@class UIHundredDojoChallenge__Generate_hundredDojoSlotItem3
  74. ---@field public gameObject UnityEngine.GameObject
  75. ---@field public animator UnityEngine.Animator
  76. ---@field public button UnityEngine.UI.Button
  77. ---@class UIHundredDojoChallenge__Generate_hundredDojoSlotItem2
  78. ---@field public gameObject UnityEngine.GameObject
  79. ---@field public animator UnityEngine.Animator
  80. ---@field public button UnityEngine.UI.Button
  81. ---@class UIHundredDojoChallenge__Generate_hundredDojoSlotItem1
  82. ---@field public gameObject UnityEngine.GameObject
  83. ---@field public animator UnityEngine.Animator
  84. ---@field public button UnityEngine.UI.Button
  85. ---@class UIHundredDojoChallenge__Generate_tipsTxt
  86. ---@field public gameObject UnityEngine.GameObject
  87. ---@field public text UnityEngine.UI.Text
  88. ---@class UIHundredDojoChallenge__Generate_btnClose
  89. ---@field public gameObject UnityEngine.GameObject
  90. ---@field public button UnityEngine.UI.Button
  91. ---@class UIHundredDojoChallenge__Generate_titleTxt
  92. ---@field public gameObject UnityEngine.GameObject
  93. ---@field public text TMPro.TextMeshProUGUI
  94. ---@class UIHundredDojoChallenge__Generate_AnyBtn
  95. ---@field public gameObject UnityEngine.GameObject
  96. ---@field public button UnityEngine.UI.Button
  97. ---@class UIHundredDojoChallenge__Generate
  98. ---@field private gameObject UnityEngine.GameObject
  99. ---@field private transform UnityEngine.Transform
  100. ---@field private uIAnimator UnityEngine.GameObject
  101. ---@field private AnyBtn UIHundredDojoChallenge__Generate_AnyBtn
  102. ---@field private window UnityEngine.GameObject
  103. ---@field private titleTxt UIHundredDojoChallenge__Generate_titleTxt
  104. ---@field private btnClose UIHundredDojoChallenge__Generate_btnClose
  105. ---@field private tipsTxt UIHundredDojoChallenge__Generate_tipsTxt
  106. ---@field private hundredDojoSlotItem1 UIHundredDojoChallenge__Generate_hundredDojoSlotItem1
  107. ---@field private hundredDojoSlotItem2 UIHundredDojoChallenge__Generate_hundredDojoSlotItem2
  108. ---@field private hundredDojoSlotItem3 UIHundredDojoChallenge__Generate_hundredDojoSlotItem3
  109. ---@field private hundredDojoSlotItem4 UIHundredDojoChallenge__Generate_hundredDojoSlotItem4
  110. ---@field private hundredDojoSlotItem5 UIHundredDojoChallenge__Generate_hundredDojoSlotItem5
  111. ---@field private hundredDojoSlotItem6 UIHundredDojoChallenge__Generate_hundredDojoSlotItem6
  112. ---@field private currency1 UIHundredDojoChallenge__Generate_currency1
  113. ---@field private currency2 UIHundredDojoChallenge__Generate_currency2
  114. ---@field private currency3 UIHundredDojoChallenge__Generate_currency3
  115. ---@field private timer UnityEngine.GameObject
  116. ---@field private timerTxt UIHundredDojoChallenge__Generate_timerTxt
  117. ---@field private bubble UIHundredDojoChallenge__Generate_bubble
  118. ---@field private box UnityEngine.GameObject
  119. ---@field private btnCancle UIHundredDojoChallenge__Generate_btnCancle
  120. ---@field private btnCancleText UIHundredDojoChallenge__Generate_btnCancleText
  121. ---@field private btnChallenge UIHundredDojoChallenge__Generate_btnChallenge
  122. ---@field private btnSure UIHundredDojoChallenge__Generate_btnSure
  123. ---@field private btnCapture UIHundredDojoChallenge__Generate_btnCapture
  124. ---@field private text UIHundredDojoChallenge__Generate_text
  125. ---@field private title UnityEngine.GameObject
  126. ---@field private questionTxt UIHundredDojoChallenge__Generate_questionTxt
  127. local UIHundredDojoChallengeView = class("UIHundredDojoChallengeView", require("UIViewBase"))
  128. function UIHundredDojoChallengeView:ctor()
  129. end
  130. ---@private
  131. function UIHundredDojoChallengeView:SetActive(result)
  132. self.gameObject:SetActive(result)
  133. end
  134. ---@private
  135. function UIHundredDojoChallengeView:InitGenerate(Root, data)
  136. self.transform = Root
  137. self.inited = true
  138. if self.super.Init then
  139. self.super.Init(self)
  140. end
  141. local tmp
  142. self:InitGenerate__1(Root,data)
  143. self:InitGenerate__2(Root,data)
  144. self:InitGenerate__3(Root,data)
  145. self:InitGenerate__4(Root,data)
  146. self:InitGenerate__5(Root,data)
  147. self:InitGenerate__6(Root,data)
  148. self:InitGenerate__7(Root,data)
  149. self:InitGenerate__8(Root,data)
  150. self:InitGenerate__9(Root,data)
  151. self:InitGenerate__10(Root,data)
  152. self:InitGenerate__11(Root,data)
  153. self:InitGenerate__12(Root,data)
  154. self:InitGenerate__13(Root,data)
  155. self:InitGenerate__14(Root,data)
  156. self:InitGenerate__15(Root,data)
  157. self:InitGenerate__16(Root,data)
  158. self:InitGenerate__17(Root,data)
  159. self:InitGenerate__18(Root,data)
  160. self:InitGenerate__19(Root,data)
  161. self:InitGenerate__20(Root,data)
  162. self:InitGenerate__21(Root,data)
  163. self:InitGenerate__22(Root,data)
  164. self:InitGenerate__23(Root,data)
  165. self:InitGenerate__24(Root,data)
  166. self:InitGenerate__25(Root,data)
  167. self:InitGenerate__26(Root,data)
  168. self:InitGenerate__27(Root,data)
  169. self:InitGenerate__28(Root,data)
  170. self:InitGenerate__29(Root,data)
  171. self:InitGenerate__30(Root,data)
  172. self:InitGenerate__31(Root,data)
  173. self:InitGenerate__32(Root,data)
  174. self:InitGenerate__33(Root,data)
  175. self:InitGenerate__34(Root,data)
  176. end
  177. ---@private
  178. function UIHundredDojoChallengeView:InitGenerate__1(Root, data)
  179. --[[
  180. UIAnimator
  181. --]]
  182. local tmp = Root:Find("UIAnimator").gameObject
  183. if tolua.getpeer(tmp) == nil then
  184. tolua.setpeer(tmp, {})
  185. end
  186. self.uIAnimator = tmp
  187. end
  188. ---@private
  189. function UIHundredDojoChallengeView:InitGenerate__2(Root, data)
  190. --[[
  191. UIAnimator/Alpha
  192. --]]
  193. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  194. if tolua.getpeer(tmp) == nil then
  195. tolua.setpeer(tmp, {})
  196. end
  197. self.AnyBtn = tmp
  198. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  199. end
  200. ---@private
  201. function UIHundredDojoChallengeView:InitGenerate__3(Root, data)
  202. --[[
  203. UIAnimator/Window
  204. --]]
  205. local tmp = Root:Find("UIAnimator/Window").gameObject
  206. if tolua.getpeer(tmp) == nil then
  207. tolua.setpeer(tmp, {})
  208. end
  209. self.window = tmp
  210. end
  211. ---@private
  212. function UIHundredDojoChallengeView:InitGenerate__4(Root, data)
  213. --[[
  214. UIAnimator/Window/BG/UIWindowTitle/TitleTxt
  215. --]]
  216. local tmp = Root:Find("UIAnimator/Window/BG/UIWindowTitle/TitleTxt").gameObject
  217. if tolua.getpeer(tmp) == nil then
  218. tolua.setpeer(tmp, {})
  219. end
  220. self.titleTxt = tmp
  221. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  222. end
  223. ---@private
  224. function UIHundredDojoChallengeView:InitGenerate__5(Root, data)
  225. --[[
  226. UIAnimator/Window/BG/BtnClose
  227. --]]
  228. local tmp = Root:Find("UIAnimator/Window/BG/BtnClose").gameObject
  229. if tolua.getpeer(tmp) == nil then
  230. tolua.setpeer(tmp, {})
  231. end
  232. self.btnClose = tmp
  233. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  234. end
  235. ---@private
  236. function UIHundredDojoChallengeView:InitGenerate__6(Root, data)
  237. --[[
  238. UIAnimator/Window/BG/Content/Tips/TipsTxt
  239. --]]
  240. local tmp = Root:Find("UIAnimator/Window/BG/Content/Tips/TipsTxt").gameObject
  241. if tolua.getpeer(tmp) == nil then
  242. tolua.setpeer(tmp, {})
  243. end
  244. self.tipsTxt = tmp
  245. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  246. end
  247. ---@private
  248. function UIHundredDojoChallengeView:InitGenerate__7(Root, data)
  249. --[[
  250. UIAnimator/Window/BG/Content/HundredDojoSlotItem1
  251. --]]
  252. local tmp = Root:Find("UIAnimator/Window/BG/Content/HundredDojoSlotItem1").gameObject
  253. if tolua.getpeer(tmp) == nil then
  254. tolua.setpeer(tmp, {})
  255. end
  256. self.hundredDojoSlotItem1 = CommonUtil.BindGridViewItem2LuaStatic("HundredDojoSlotItem", tmp)
  257. self.hundredDojoSlotItem1.prefabName = "HundredDojoSlotItem"
  258. self.hundredDojoSlotItem1:SetActive(false)
  259. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  260. tmp.animator.logWarnings = false
  261. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  262. end
  263. ---@private
  264. function UIHundredDojoChallengeView:InitGenerate__8(Root, data)
  265. --[[
  266. UIAnimator/Window/BG/Content/HundredDojoSlotItem2
  267. --]]
  268. local tmp = Root:Find("UIAnimator/Window/BG/Content/HundredDojoSlotItem2").gameObject
  269. if tolua.getpeer(tmp) == nil then
  270. tolua.setpeer(tmp, {})
  271. end
  272. self.hundredDojoSlotItem2 = CommonUtil.BindGridViewItem2LuaStatic("HundredDojoSlotItem", tmp)
  273. self.hundredDojoSlotItem2.prefabName = "HundredDojoSlotItem"
  274. self.hundredDojoSlotItem2:SetActive(false)
  275. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  276. tmp.animator.logWarnings = false
  277. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  278. end
  279. ---@private
  280. function UIHundredDojoChallengeView:InitGenerate__9(Root, data)
  281. --[[
  282. UIAnimator/Window/BG/Content/HundredDojoSlotItem3
  283. --]]
  284. local tmp = Root:Find("UIAnimator/Window/BG/Content/HundredDojoSlotItem3").gameObject
  285. if tolua.getpeer(tmp) == nil then
  286. tolua.setpeer(tmp, {})
  287. end
  288. self.hundredDojoSlotItem3 = CommonUtil.BindGridViewItem2LuaStatic("HundredDojoSlotItem", tmp)
  289. self.hundredDojoSlotItem3.prefabName = "HundredDojoSlotItem"
  290. self.hundredDojoSlotItem3:SetActive(false)
  291. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  292. tmp.animator.logWarnings = false
  293. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  294. end
  295. ---@private
  296. function UIHundredDojoChallengeView:InitGenerate__10(Root, data)
  297. --[[
  298. UIAnimator/Window/BG/Content/HundredDojoSlotItem4
  299. --]]
  300. local tmp = Root:Find("UIAnimator/Window/BG/Content/HundredDojoSlotItem4").gameObject
  301. if tolua.getpeer(tmp) == nil then
  302. tolua.setpeer(tmp, {})
  303. end
  304. self.hundredDojoSlotItem4 = CommonUtil.BindGridViewItem2LuaStatic("HundredDojoSlotItem", tmp)
  305. self.hundredDojoSlotItem4.prefabName = "HundredDojoSlotItem"
  306. self.hundredDojoSlotItem4:SetActive(false)
  307. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  308. tmp.animator.logWarnings = false
  309. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  310. end
  311. ---@private
  312. function UIHundredDojoChallengeView:InitGenerate__11(Root, data)
  313. --[[
  314. UIAnimator/Window/BG/Content/HundredDojoSlotItem5
  315. --]]
  316. local tmp = Root:Find("UIAnimator/Window/BG/Content/HundredDojoSlotItem5").gameObject
  317. if tolua.getpeer(tmp) == nil then
  318. tolua.setpeer(tmp, {})
  319. end
  320. self.hundredDojoSlotItem5 = CommonUtil.BindGridViewItem2LuaStatic("HundredDojoSlotItem", tmp)
  321. self.hundredDojoSlotItem5.prefabName = "HundredDojoSlotItem"
  322. self.hundredDojoSlotItem5:SetActive(false)
  323. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  324. tmp.animator.logWarnings = false
  325. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  326. end
  327. ---@private
  328. function UIHundredDojoChallengeView:InitGenerate__12(Root, data)
  329. --[[
  330. UIAnimator/Window/BG/Content/HundredDojoSlotItem6
  331. --]]
  332. local tmp = Root:Find("UIAnimator/Window/BG/Content/HundredDojoSlotItem6").gameObject
  333. if tolua.getpeer(tmp) == nil then
  334. tolua.setpeer(tmp, {})
  335. end
  336. self.hundredDojoSlotItem6 = CommonUtil.BindGridViewItem2LuaStatic("HundredDojoSlotItem", tmp)
  337. self.hundredDojoSlotItem6.prefabName = "HundredDojoSlotItem"
  338. self.hundredDojoSlotItem6:SetActive(false)
  339. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  340. tmp.animator.logWarnings = false
  341. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  342. end
  343. ---@private
  344. function UIHundredDojoChallengeView:InitGenerate__13(Root, data)
  345. --[[
  346. UIAnimator/Window/BG/Content/Profit/Currency1
  347. --]]
  348. local tmp = Root:Find("UIAnimator/Window/BG/Content/Profit/Currency1").gameObject
  349. if tolua.getpeer(tmp) == nil then
  350. tolua.setpeer(tmp, {})
  351. end
  352. self.currency1 = tmp
  353. end
  354. ---@private
  355. function UIHundredDojoChallengeView:InitGenerate__14(Root, data)
  356. --[[
  357. UIAnimator/Window/BG/Content/Profit/Currency1/Icon
  358. --]]
  359. local tmp = Root:Find("UIAnimator/Window/BG/Content/Profit/Currency1/Icon").gameObject
  360. if tolua.getpeer(tmp) == nil then
  361. tolua.setpeer(tmp, {})
  362. end
  363. self.currency1.icon = tmp
  364. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  365. end
  366. ---@private
  367. function UIHundredDojoChallengeView:InitGenerate__15(Root, data)
  368. --[[
  369. UIAnimator/Window/BG/Content/Profit/Currency1/Text
  370. --]]
  371. local tmp = Root:Find("UIAnimator/Window/BG/Content/Profit/Currency1/Text").gameObject
  372. if tolua.getpeer(tmp) == nil then
  373. tolua.setpeer(tmp, {})
  374. end
  375. self.currency1.text = tmp
  376. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  377. end
  378. ---@private
  379. function UIHundredDojoChallengeView:InitGenerate__16(Root, data)
  380. --[[
  381. UIAnimator/Window/BG/Content/Profit/Currency2
  382. --]]
  383. local tmp = Root:Find("UIAnimator/Window/BG/Content/Profit/Currency2").gameObject
  384. if tolua.getpeer(tmp) == nil then
  385. tolua.setpeer(tmp, {})
  386. end
  387. self.currency2 = tmp
  388. end
  389. ---@private
  390. function UIHundredDojoChallengeView:InitGenerate__17(Root, data)
  391. --[[
  392. UIAnimator/Window/BG/Content/Profit/Currency2/Icon
  393. --]]
  394. local tmp = Root:Find("UIAnimator/Window/BG/Content/Profit/Currency2/Icon").gameObject
  395. if tolua.getpeer(tmp) == nil then
  396. tolua.setpeer(tmp, {})
  397. end
  398. self.currency2.icon = tmp
  399. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  400. end
  401. ---@private
  402. function UIHundredDojoChallengeView:InitGenerate__18(Root, data)
  403. --[[
  404. UIAnimator/Window/BG/Content/Profit/Currency2/Text
  405. --]]
  406. local tmp = Root:Find("UIAnimator/Window/BG/Content/Profit/Currency2/Text").gameObject
  407. if tolua.getpeer(tmp) == nil then
  408. tolua.setpeer(tmp, {})
  409. end
  410. self.currency2.text = tmp
  411. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  412. end
  413. ---@private
  414. function UIHundredDojoChallengeView:InitGenerate__19(Root, data)
  415. --[[
  416. UIAnimator/Window/BG/Content/Profit/Currency3
  417. --]]
  418. local tmp = Root:Find("UIAnimator/Window/BG/Content/Profit/Currency3").gameObject
  419. if tolua.getpeer(tmp) == nil then
  420. tolua.setpeer(tmp, {})
  421. end
  422. self.currency3 = tmp
  423. end
  424. ---@private
  425. function UIHundredDojoChallengeView:InitGenerate__20(Root, data)
  426. --[[
  427. UIAnimator/Window/BG/Content/Profit/Currency3/Icon
  428. --]]
  429. local tmp = Root:Find("UIAnimator/Window/BG/Content/Profit/Currency3/Icon").gameObject
  430. if tolua.getpeer(tmp) == nil then
  431. tolua.setpeer(tmp, {})
  432. end
  433. self.currency3.icon = tmp
  434. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  435. end
  436. ---@private
  437. function UIHundredDojoChallengeView:InitGenerate__21(Root, data)
  438. --[[
  439. UIAnimator/Window/BG/Content/Profit/Currency3/Text
  440. --]]
  441. local tmp = Root:Find("UIAnimator/Window/BG/Content/Profit/Currency3/Text").gameObject
  442. if tolua.getpeer(tmp) == nil then
  443. tolua.setpeer(tmp, {})
  444. end
  445. self.currency3.text = tmp
  446. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  447. end
  448. ---@private
  449. function UIHundredDojoChallengeView:InitGenerate__22(Root, data)
  450. --[[
  451. UIAnimator/Window/BG/Content/Timer
  452. --]]
  453. local tmp = Root:Find("UIAnimator/Window/BG/Content/Timer").gameObject
  454. if tolua.getpeer(tmp) == nil then
  455. tolua.setpeer(tmp, {})
  456. end
  457. self.timer = tmp
  458. end
  459. ---@private
  460. function UIHundredDojoChallengeView:InitGenerate__23(Root, data)
  461. --[[
  462. UIAnimator/Window/BG/Content/Timer/TimerTxt
  463. --]]
  464. local tmp = Root:Find("UIAnimator/Window/BG/Content/Timer/TimerTxt").gameObject
  465. if tolua.getpeer(tmp) == nil then
  466. tolua.setpeer(tmp, {})
  467. end
  468. self.timerTxt = tmp
  469. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  470. end
  471. ---@private
  472. function UIHundredDojoChallengeView:InitGenerate__24(Root, data)
  473. --[[
  474. UIAnimator/Window/BG/Content/Bubble
  475. --]]
  476. local tmp = Root:Find("UIAnimator/Window/BG/Content/Bubble").gameObject
  477. if tolua.getpeer(tmp) == nil then
  478. tolua.setpeer(tmp, {})
  479. end
  480. self.bubble = tmp
  481. end
  482. ---@private
  483. function UIHundredDojoChallengeView:InitGenerate__25(Root, data)
  484. --[[
  485. UIAnimator/Window/BG/Content/Bubble/Slogan
  486. --]]
  487. local tmp = Root:Find("UIAnimator/Window/BG/Content/Bubble/Slogan").gameObject
  488. if tolua.getpeer(tmp) == nil then
  489. tolua.setpeer(tmp, {})
  490. end
  491. self.bubble.slogan = tmp
  492. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  493. end
  494. ---@private
  495. function UIHundredDojoChallengeView:InitGenerate__26(Root, data)
  496. --[[
  497. UIAnimator/Window/BG/Box
  498. --]]
  499. local tmp = Root:Find("UIAnimator/Window/BG/Box").gameObject
  500. if tolua.getpeer(tmp) == nil then
  501. tolua.setpeer(tmp, {})
  502. end
  503. self.box = tmp
  504. end
  505. ---@private
  506. function UIHundredDojoChallengeView:InitGenerate__27(Root, data)
  507. --[[
  508. UIAnimator/Window/BG/Box/BtnCancle
  509. --]]
  510. local tmp = Root:Find("UIAnimator/Window/BG/Box/BtnCancle").gameObject
  511. if tolua.getpeer(tmp) == nil then
  512. tolua.setpeer(tmp, {})
  513. end
  514. self.btnCancle = tmp
  515. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  516. end
  517. ---@private
  518. function UIHundredDojoChallengeView:InitGenerate__28(Root, data)
  519. --[[
  520. UIAnimator/Window/BG/Box/BtnCancle/Text
  521. --]]
  522. local tmp = Root:Find("UIAnimator/Window/BG/Box/BtnCancle/Text").gameObject
  523. if tolua.getpeer(tmp) == nil then
  524. tolua.setpeer(tmp, {})
  525. end
  526. self.btnCancleText = tmp
  527. tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
  528. end
  529. ---@private
  530. function UIHundredDojoChallengeView:InitGenerate__29(Root, data)
  531. --[[
  532. UIAnimator/Window/BG/Box/BtnChallenge
  533. --]]
  534. local tmp = Root:Find("UIAnimator/Window/BG/Box/BtnChallenge").gameObject
  535. if tolua.getpeer(tmp) == nil then
  536. tolua.setpeer(tmp, {})
  537. end
  538. self.btnChallenge = tmp
  539. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  540. end
  541. ---@private
  542. function UIHundredDojoChallengeView:InitGenerate__30(Root, data)
  543. --[[
  544. UIAnimator/Window/BG/Box/BtnChallenge/Text
  545. --]]
  546. local tmp = Root:Find("UIAnimator/Window/BG/Box/BtnChallenge/Text").gameObject
  547. if tolua.getpeer(tmp) == nil then
  548. tolua.setpeer(tmp, {})
  549. end
  550. self.btnSure = tmp
  551. tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
  552. end
  553. ---@private
  554. function UIHundredDojoChallengeView:InitGenerate__31(Root, data)
  555. --[[
  556. UIAnimator/Window/BG/Box/BtnCapture
  557. --]]
  558. local tmp = Root:Find("UIAnimator/Window/BG/Box/BtnCapture").gameObject
  559. if tolua.getpeer(tmp) == nil then
  560. tolua.setpeer(tmp, {})
  561. end
  562. self.btnCapture = tmp
  563. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  564. end
  565. ---@private
  566. function UIHundredDojoChallengeView:InitGenerate__32(Root, data)
  567. --[[
  568. UIAnimator/Window/BG/Box/BtnCapture/Text
  569. --]]
  570. local tmp = Root:Find("UIAnimator/Window/BG/Box/BtnCapture/Text").gameObject
  571. if tolua.getpeer(tmp) == nil then
  572. tolua.setpeer(tmp, {})
  573. end
  574. self.text = tmp
  575. tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
  576. end
  577. ---@private
  578. function UIHundredDojoChallengeView:InitGenerate__33(Root, data)
  579. --[[
  580. UIAnimator/Window/BG/Title
  581. --]]
  582. local tmp = Root:Find("UIAnimator/Window/BG/Title").gameObject
  583. if tolua.getpeer(tmp) == nil then
  584. tolua.setpeer(tmp, {})
  585. end
  586. self.title = tmp
  587. end
  588. ---@private
  589. function UIHundredDojoChallengeView:InitGenerate__34(Root, data)
  590. --[[
  591. UIAnimator/Window/BG/Title/QuestionTxt
  592. --]]
  593. local tmp = Root:Find("UIAnimator/Window/BG/Title/QuestionTxt").gameObject
  594. if tolua.getpeer(tmp) == nil then
  595. tolua.setpeer(tmp, {})
  596. end
  597. self.questionTxt = tmp
  598. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  599. end
  600. ---@private
  601. function UIHundredDojoChallengeView:GenerateDestroy()
  602. if tolua.getpeer(self.bubble.slogan) ~= nil then
  603. tolua.setpeer(self.bubble.slogan, nil)
  604. end
  605. if tolua.getpeer(self.currency3.text) ~= nil then
  606. tolua.setpeer(self.currency3.text, nil)
  607. end
  608. if tolua.getpeer(self.currency3.icon) ~= nil then
  609. tolua.setpeer(self.currency3.icon, nil)
  610. end
  611. if tolua.getpeer(self.currency2.text) ~= nil then
  612. tolua.setpeer(self.currency2.text, nil)
  613. end
  614. if tolua.getpeer(self.currency2.icon) ~= nil then
  615. tolua.setpeer(self.currency2.icon, nil)
  616. end
  617. if tolua.getpeer(self.currency1.text) ~= nil then
  618. tolua.setpeer(self.currency1.text, nil)
  619. end
  620. if tolua.getpeer(self.currency1.icon) ~= nil then
  621. tolua.setpeer(self.currency1.icon, nil)
  622. end
  623. if tolua.getpeer(self.uIAnimator) ~= nil then
  624. tolua.setpeer(self.uIAnimator, nil)
  625. end
  626. self.uIAnimator = nil
  627. if tolua.getpeer(self.AnyBtn) ~= nil then
  628. tolua.setpeer(self.AnyBtn, nil)
  629. end
  630. self.AnyBtn = nil
  631. if tolua.getpeer(self.window) ~= nil then
  632. tolua.setpeer(self.window, nil)
  633. end
  634. self.window = nil
  635. if tolua.getpeer(self.titleTxt) ~= nil then
  636. tolua.setpeer(self.titleTxt, nil)
  637. end
  638. self.titleTxt = nil
  639. if tolua.getpeer(self.btnClose) ~= nil then
  640. tolua.setpeer(self.btnClose, nil)
  641. end
  642. self.btnClose = nil
  643. if tolua.getpeer(self.tipsTxt) ~= nil then
  644. tolua.setpeer(self.tipsTxt, nil)
  645. end
  646. self.tipsTxt = nil
  647. if self.hundredDojoSlotItem1.GenerateDestroy ~= nil then
  648. self.hundredDojoSlotItem1:GenerateDestroy()
  649. end
  650. if tolua.getpeer(self.hundredDojoSlotItem1) ~= nil then
  651. tolua.setpeer(self.hundredDojoSlotItem1, nil)
  652. end
  653. self.hundredDojoSlotItem1 = nil
  654. if self.hundredDojoSlotItem2.GenerateDestroy ~= nil then
  655. self.hundredDojoSlotItem2:GenerateDestroy()
  656. end
  657. if tolua.getpeer(self.hundredDojoSlotItem2) ~= nil then
  658. tolua.setpeer(self.hundredDojoSlotItem2, nil)
  659. end
  660. self.hundredDojoSlotItem2 = nil
  661. if self.hundredDojoSlotItem3.GenerateDestroy ~= nil then
  662. self.hundredDojoSlotItem3:GenerateDestroy()
  663. end
  664. if tolua.getpeer(self.hundredDojoSlotItem3) ~= nil then
  665. tolua.setpeer(self.hundredDojoSlotItem3, nil)
  666. end
  667. self.hundredDojoSlotItem3 = nil
  668. if self.hundredDojoSlotItem4.GenerateDestroy ~= nil then
  669. self.hundredDojoSlotItem4:GenerateDestroy()
  670. end
  671. if tolua.getpeer(self.hundredDojoSlotItem4) ~= nil then
  672. tolua.setpeer(self.hundredDojoSlotItem4, nil)
  673. end
  674. self.hundredDojoSlotItem4 = nil
  675. if self.hundredDojoSlotItem5.GenerateDestroy ~= nil then
  676. self.hundredDojoSlotItem5:GenerateDestroy()
  677. end
  678. if tolua.getpeer(self.hundredDojoSlotItem5) ~= nil then
  679. tolua.setpeer(self.hundredDojoSlotItem5, nil)
  680. end
  681. self.hundredDojoSlotItem5 = nil
  682. if self.hundredDojoSlotItem6.GenerateDestroy ~= nil then
  683. self.hundredDojoSlotItem6:GenerateDestroy()
  684. end
  685. if tolua.getpeer(self.hundredDojoSlotItem6) ~= nil then
  686. tolua.setpeer(self.hundredDojoSlotItem6, nil)
  687. end
  688. self.hundredDojoSlotItem6 = nil
  689. if tolua.getpeer(self.currency1) ~= nil then
  690. tolua.setpeer(self.currency1, nil)
  691. end
  692. self.currency1 = nil
  693. if tolua.getpeer(self.currency2) ~= nil then
  694. tolua.setpeer(self.currency2, nil)
  695. end
  696. self.currency2 = nil
  697. if tolua.getpeer(self.currency3) ~= nil then
  698. tolua.setpeer(self.currency3, nil)
  699. end
  700. self.currency3 = nil
  701. if tolua.getpeer(self.timer) ~= nil then
  702. tolua.setpeer(self.timer, nil)
  703. end
  704. self.timer = nil
  705. if tolua.getpeer(self.timerTxt) ~= nil then
  706. tolua.setpeer(self.timerTxt, nil)
  707. end
  708. self.timerTxt = nil
  709. if tolua.getpeer(self.bubble) ~= nil then
  710. tolua.setpeer(self.bubble, nil)
  711. end
  712. self.bubble = nil
  713. if tolua.getpeer(self.box) ~= nil then
  714. tolua.setpeer(self.box, nil)
  715. end
  716. self.box = nil
  717. if tolua.getpeer(self.btnCancle) ~= nil then
  718. tolua.setpeer(self.btnCancle, nil)
  719. end
  720. self.btnCancle = nil
  721. if tolua.getpeer(self.btnCancleText) ~= nil then
  722. tolua.setpeer(self.btnCancleText, nil)
  723. end
  724. self.btnCancleText = nil
  725. if tolua.getpeer(self.btnChallenge) ~= nil then
  726. tolua.setpeer(self.btnChallenge, nil)
  727. end
  728. self.btnChallenge = nil
  729. if tolua.getpeer(self.btnSure) ~= nil then
  730. tolua.setpeer(self.btnSure, nil)
  731. end
  732. self.btnSure = nil
  733. if tolua.getpeer(self.btnCapture) ~= nil then
  734. tolua.setpeer(self.btnCapture, nil)
  735. end
  736. self.btnCapture = nil
  737. if tolua.getpeer(self.text) ~= nil then
  738. tolua.setpeer(self.text, nil)
  739. end
  740. self.text = nil
  741. if tolua.getpeer(self.title) ~= nil then
  742. tolua.setpeer(self.title, nil)
  743. end
  744. self.title = nil
  745. if tolua.getpeer(self.questionTxt) ~= nil then
  746. tolua.setpeer(self.questionTxt, nil)
  747. end
  748. self.questionTxt = nil
  749. self.transform = nil
  750. self.gameObject = nil
  751. self.inited = false
  752. end
  753. return UIHundredDojoChallengeView