UIHundredDojoRewardView_Generate.lua 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603
  1. ---@class UIHundredDojoReward__Generate_content
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public gridLayoutGroup UnityEngine.UI.GridLayoutGroup
  4. ---@class UIHundredDojoReward__Generate_itemScrollView
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public loopVerticalScrollRect UnityEngine.UI.LoopVerticalScrollRect
  7. ---@class UIHundredDojoReward__Generate_receiveRes3_text
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public text UnityEngine.UI.Text
  10. ---@class UIHundredDojoReward__Generate_receiveRes3_icon
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public image UnityEngine.UI.Image
  13. ---@class UIHundredDojoReward__Generate_receiveRes3
  14. ---@field public gameObject UnityEngine.GameObject
  15. ---@field public icon UIHundredDojoReward__Generate_receiveRes3_icon
  16. ---@field public text UIHundredDojoReward__Generate_receiveRes3_text
  17. ---@class UIHundredDojoReward__Generate_receiveRes2_text
  18. ---@field public gameObject UnityEngine.GameObject
  19. ---@field public text UnityEngine.UI.Text
  20. ---@class UIHundredDojoReward__Generate_receiveRes2_icon
  21. ---@field public gameObject UnityEngine.GameObject
  22. ---@field public image UnityEngine.UI.Image
  23. ---@class UIHundredDojoReward__Generate_receiveRes2
  24. ---@field public gameObject UnityEngine.GameObject
  25. ---@field public icon UIHundredDojoReward__Generate_receiveRes2_icon
  26. ---@field public text UIHundredDojoReward__Generate_receiveRes2_text
  27. ---@class UIHundredDojoReward__Generate_receiveRes1_text
  28. ---@field public gameObject UnityEngine.GameObject
  29. ---@field public text UnityEngine.UI.Text
  30. ---@class UIHundredDojoReward__Generate_receiveRes1_icon
  31. ---@field public gameObject UnityEngine.GameObject
  32. ---@field public image UnityEngine.UI.Image
  33. ---@class UIHundredDojoReward__Generate_receiveRes1
  34. ---@field public gameObject UnityEngine.GameObject
  35. ---@field public icon UIHundredDojoReward__Generate_receiveRes1_icon
  36. ---@field public text UIHundredDojoReward__Generate_receiveRes1_text
  37. ---@class UIHundredDojoReward__Generate_rewardTimeTxt
  38. ---@field public gameObject UnityEngine.GameObject
  39. ---@field public text UnityEngine.UI.Text
  40. ---@class UIHundredDojoReward__Generate_currency3_text
  41. ---@field public gameObject UnityEngine.GameObject
  42. ---@field public text UnityEngine.UI.Text
  43. ---@class UIHundredDojoReward__Generate_currency3_icon
  44. ---@field public gameObject UnityEngine.GameObject
  45. ---@field public image UnityEngine.UI.Image
  46. ---@class UIHundredDojoReward__Generate_currency3
  47. ---@field public gameObject UnityEngine.GameObject
  48. ---@field public icon UIHundredDojoReward__Generate_currency3_icon
  49. ---@field public text UIHundredDojoReward__Generate_currency3_text
  50. ---@class UIHundredDojoReward__Generate_currency2_text
  51. ---@field public gameObject UnityEngine.GameObject
  52. ---@field public text UnityEngine.UI.Text
  53. ---@class UIHundredDojoReward__Generate_currency2_icon
  54. ---@field public gameObject UnityEngine.GameObject
  55. ---@field public image UnityEngine.UI.Image
  56. ---@class UIHundredDojoReward__Generate_currency2
  57. ---@field public gameObject UnityEngine.GameObject
  58. ---@field public icon UIHundredDojoReward__Generate_currency2_icon
  59. ---@field public text UIHundredDojoReward__Generate_currency2_text
  60. ---@class UIHundredDojoReward__Generate_currency1_text
  61. ---@field public gameObject UnityEngine.GameObject
  62. ---@field public text UnityEngine.UI.Text
  63. ---@class UIHundredDojoReward__Generate_currency1_icon
  64. ---@field public gameObject UnityEngine.GameObject
  65. ---@field public image UnityEngine.UI.Image
  66. ---@class UIHundredDojoReward__Generate_currency1
  67. ---@field public gameObject UnityEngine.GameObject
  68. ---@field public icon UIHundredDojoReward__Generate_currency1_icon
  69. ---@field public text UIHundredDojoReward__Generate_currency1_text
  70. ---@class UIHundredDojoReward__Generate_AnyBtn
  71. ---@field public gameObject UnityEngine.GameObject
  72. ---@field public button UnityEngine.UI.Button
  73. ---@class UIHundredDojoReward__Generate
  74. ---@field private gameObject UnityEngine.GameObject
  75. ---@field private transform UnityEngine.Transform
  76. ---@field private AnyBtn UIHundredDojoReward__Generate_AnyBtn
  77. ---@field private timingBox UnityEngine.GameObject
  78. ---@field private currency1 UIHundredDojoReward__Generate_currency1
  79. ---@field private currency2 UIHundredDojoReward__Generate_currency2
  80. ---@field private currency3 UIHundredDojoReward__Generate_currency3
  81. ---@field private talkBox UnityEngine.GameObject
  82. ---@field private rewardTimeTxt UIHundredDojoReward__Generate_rewardTimeTxt
  83. ---@field private receiveRes1 UIHundredDojoReward__Generate_receiveRes1
  84. ---@field private receiveRes2 UIHundredDojoReward__Generate_receiveRes2
  85. ---@field private receiveRes3 UIHundredDojoReward__Generate_receiveRes3
  86. ---@field private receiveIcons UnityEngine.GameObject
  87. ---@field private itemScrollView UIHundredDojoReward__Generate_itemScrollView
  88. ---@field private content UIHundredDojoReward__Generate_content
  89. ---@field private nothing UnityEngine.GameObject
  90. local UIHundredDojoRewardView = class("UIHundredDojoRewardView", require("UIViewBase"))
  91. function UIHundredDojoRewardView:ctor()
  92. end
  93. ---@private
  94. function UIHundredDojoRewardView:SetActive(result)
  95. self.gameObject:SetActive(result)
  96. end
  97. ---@private
  98. function UIHundredDojoRewardView:InitGenerate(Root, data)
  99. self.transform = Root
  100. self.inited = true
  101. if self.super.Init then
  102. self.super.Init(self)
  103. end
  104. local tmp
  105. self:InitGenerate__1(Root,data)
  106. self:InitGenerate__2(Root,data)
  107. self:InitGenerate__3(Root,data)
  108. self:InitGenerate__4(Root,data)
  109. self:InitGenerate__5(Root,data)
  110. self:InitGenerate__6(Root,data)
  111. self:InitGenerate__7(Root,data)
  112. self:InitGenerate__8(Root,data)
  113. self:InitGenerate__9(Root,data)
  114. self:InitGenerate__10(Root,data)
  115. self:InitGenerate__11(Root,data)
  116. self:InitGenerate__12(Root,data)
  117. self:InitGenerate__13(Root,data)
  118. self:InitGenerate__14(Root,data)
  119. self:InitGenerate__15(Root,data)
  120. self:InitGenerate__16(Root,data)
  121. self:InitGenerate__17(Root,data)
  122. self:InitGenerate__18(Root,data)
  123. self:InitGenerate__19(Root,data)
  124. self:InitGenerate__20(Root,data)
  125. self:InitGenerate__21(Root,data)
  126. self:InitGenerate__22(Root,data)
  127. self:InitGenerate__23(Root,data)
  128. self:InitGenerate__24(Root,data)
  129. self:InitGenerate__25(Root,data)
  130. self:InitGenerate__26(Root,data)
  131. end
  132. ---@private
  133. function UIHundredDojoRewardView:InitGenerate__1(Root, data)
  134. --[[
  135. UIAnimator/Alpha
  136. --]]
  137. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  138. if tolua.getpeer(tmp) == nil then
  139. tolua.setpeer(tmp, {})
  140. end
  141. self.AnyBtn = tmp
  142. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  143. end
  144. ---@private
  145. function UIHundredDojoRewardView:InitGenerate__2(Root, data)
  146. --[[
  147. UIAnimator/Window/BG/TimingBox
  148. --]]
  149. local tmp = Root:Find("UIAnimator/Window/BG/TimingBox").gameObject
  150. if tolua.getpeer(tmp) == nil then
  151. tolua.setpeer(tmp, {})
  152. end
  153. self.timingBox = tmp
  154. end
  155. ---@private
  156. function UIHundredDojoRewardView:InitGenerate__3(Root, data)
  157. --[[
  158. UIAnimator/Window/BG/TimingBox/Profit/Currency1
  159. --]]
  160. local tmp = Root:Find("UIAnimator/Window/BG/TimingBox/Profit/Currency1").gameObject
  161. if tolua.getpeer(tmp) == nil then
  162. tolua.setpeer(tmp, {})
  163. end
  164. self.currency1 = tmp
  165. end
  166. ---@private
  167. function UIHundredDojoRewardView:InitGenerate__4(Root, data)
  168. --[[
  169. UIAnimator/Window/BG/TimingBox/Profit/Currency1/Icon
  170. --]]
  171. local tmp = Root:Find("UIAnimator/Window/BG/TimingBox/Profit/Currency1/Icon").gameObject
  172. if tolua.getpeer(tmp) == nil then
  173. tolua.setpeer(tmp, {})
  174. end
  175. self.currency1.icon = tmp
  176. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  177. end
  178. ---@private
  179. function UIHundredDojoRewardView:InitGenerate__5(Root, data)
  180. --[[
  181. UIAnimator/Window/BG/TimingBox/Profit/Currency1/Text
  182. --]]
  183. local tmp = Root:Find("UIAnimator/Window/BG/TimingBox/Profit/Currency1/Text").gameObject
  184. if tolua.getpeer(tmp) == nil then
  185. tolua.setpeer(tmp, {})
  186. end
  187. self.currency1.text = tmp
  188. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  189. end
  190. ---@private
  191. function UIHundredDojoRewardView:InitGenerate__6(Root, data)
  192. --[[
  193. UIAnimator/Window/BG/TimingBox/Profit/Currency2
  194. --]]
  195. local tmp = Root:Find("UIAnimator/Window/BG/TimingBox/Profit/Currency2").gameObject
  196. if tolua.getpeer(tmp) == nil then
  197. tolua.setpeer(tmp, {})
  198. end
  199. self.currency2 = tmp
  200. end
  201. ---@private
  202. function UIHundredDojoRewardView:InitGenerate__7(Root, data)
  203. --[[
  204. UIAnimator/Window/BG/TimingBox/Profit/Currency2/Icon
  205. --]]
  206. local tmp = Root:Find("UIAnimator/Window/BG/TimingBox/Profit/Currency2/Icon").gameObject
  207. if tolua.getpeer(tmp) == nil then
  208. tolua.setpeer(tmp, {})
  209. end
  210. self.currency2.icon = tmp
  211. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  212. end
  213. ---@private
  214. function UIHundredDojoRewardView:InitGenerate__8(Root, data)
  215. --[[
  216. UIAnimator/Window/BG/TimingBox/Profit/Currency2/Text
  217. --]]
  218. local tmp = Root:Find("UIAnimator/Window/BG/TimingBox/Profit/Currency2/Text").gameObject
  219. if tolua.getpeer(tmp) == nil then
  220. tolua.setpeer(tmp, {})
  221. end
  222. self.currency2.text = tmp
  223. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  224. end
  225. ---@private
  226. function UIHundredDojoRewardView:InitGenerate__9(Root, data)
  227. --[[
  228. UIAnimator/Window/BG/TimingBox/Profit/Currency3
  229. --]]
  230. local tmp = Root:Find("UIAnimator/Window/BG/TimingBox/Profit/Currency3").gameObject
  231. if tolua.getpeer(tmp) == nil then
  232. tolua.setpeer(tmp, {})
  233. end
  234. self.currency3 = tmp
  235. end
  236. ---@private
  237. function UIHundredDojoRewardView:InitGenerate__10(Root, data)
  238. --[[
  239. UIAnimator/Window/BG/TimingBox/Profit/Currency3/Icon
  240. --]]
  241. local tmp = Root:Find("UIAnimator/Window/BG/TimingBox/Profit/Currency3/Icon").gameObject
  242. if tolua.getpeer(tmp) == nil then
  243. tolua.setpeer(tmp, {})
  244. end
  245. self.currency3.icon = tmp
  246. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  247. end
  248. ---@private
  249. function UIHundredDojoRewardView:InitGenerate__11(Root, data)
  250. --[[
  251. UIAnimator/Window/BG/TimingBox/Profit/Currency3/Text
  252. --]]
  253. local tmp = Root:Find("UIAnimator/Window/BG/TimingBox/Profit/Currency3/Text").gameObject
  254. if tolua.getpeer(tmp) == nil then
  255. tolua.setpeer(tmp, {})
  256. end
  257. self.currency3.text = tmp
  258. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  259. end
  260. ---@private
  261. function UIHundredDojoRewardView:InitGenerate__12(Root, data)
  262. --[[
  263. UIAnimator/Window/BG/TimingBox/TalkBox
  264. --]]
  265. local tmp = Root:Find("UIAnimator/Window/BG/TimingBox/TalkBox").gameObject
  266. if tolua.getpeer(tmp) == nil then
  267. tolua.setpeer(tmp, {})
  268. end
  269. self.talkBox = tmp
  270. end
  271. ---@private
  272. function UIHundredDojoRewardView:InitGenerate__13(Root, data)
  273. --[[
  274. UIAnimator/Window/BG/TimingBox/TalkBox/RewardTime/Text
  275. --]]
  276. local tmp = Root:Find("UIAnimator/Window/BG/TimingBox/TalkBox/RewardTime/Text").gameObject
  277. if tolua.getpeer(tmp) == nil then
  278. tolua.setpeer(tmp, {})
  279. end
  280. self.rewardTimeTxt = tmp
  281. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  282. end
  283. ---@private
  284. function UIHundredDojoRewardView:InitGenerate__14(Root, data)
  285. --[[
  286. UIAnimator/Window/BG/ReceiveBox/ReceiveRes/ReceiveRes1
  287. --]]
  288. local tmp = Root:Find("UIAnimator/Window/BG/ReceiveBox/ReceiveRes/ReceiveRes1").gameObject
  289. if tolua.getpeer(tmp) == nil then
  290. tolua.setpeer(tmp, {})
  291. end
  292. self.receiveRes1 = tmp
  293. end
  294. ---@private
  295. function UIHundredDojoRewardView:InitGenerate__15(Root, data)
  296. --[[
  297. UIAnimator/Window/BG/ReceiveBox/ReceiveRes/ReceiveRes1/Icon
  298. --]]
  299. local tmp = Root:Find("UIAnimator/Window/BG/ReceiveBox/ReceiveRes/ReceiveRes1/Icon").gameObject
  300. if tolua.getpeer(tmp) == nil then
  301. tolua.setpeer(tmp, {})
  302. end
  303. self.receiveRes1.icon = tmp
  304. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  305. end
  306. ---@private
  307. function UIHundredDojoRewardView:InitGenerate__16(Root, data)
  308. --[[
  309. UIAnimator/Window/BG/ReceiveBox/ReceiveRes/ReceiveRes1/Text
  310. --]]
  311. local tmp = Root:Find("UIAnimator/Window/BG/ReceiveBox/ReceiveRes/ReceiveRes1/Text").gameObject
  312. if tolua.getpeer(tmp) == nil then
  313. tolua.setpeer(tmp, {})
  314. end
  315. self.receiveRes1.text = tmp
  316. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  317. end
  318. ---@private
  319. function UIHundredDojoRewardView:InitGenerate__17(Root, data)
  320. --[[
  321. UIAnimator/Window/BG/ReceiveBox/ReceiveRes/ReceiveRes2
  322. --]]
  323. local tmp = Root:Find("UIAnimator/Window/BG/ReceiveBox/ReceiveRes/ReceiveRes2").gameObject
  324. if tolua.getpeer(tmp) == nil then
  325. tolua.setpeer(tmp, {})
  326. end
  327. self.receiveRes2 = tmp
  328. end
  329. ---@private
  330. function UIHundredDojoRewardView:InitGenerate__18(Root, data)
  331. --[[
  332. UIAnimator/Window/BG/ReceiveBox/ReceiveRes/ReceiveRes2/Icon
  333. --]]
  334. local tmp = Root:Find("UIAnimator/Window/BG/ReceiveBox/ReceiveRes/ReceiveRes2/Icon").gameObject
  335. if tolua.getpeer(tmp) == nil then
  336. tolua.setpeer(tmp, {})
  337. end
  338. self.receiveRes2.icon = tmp
  339. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  340. end
  341. ---@private
  342. function UIHundredDojoRewardView:InitGenerate__19(Root, data)
  343. --[[
  344. UIAnimator/Window/BG/ReceiveBox/ReceiveRes/ReceiveRes2/Text
  345. --]]
  346. local tmp = Root:Find("UIAnimator/Window/BG/ReceiveBox/ReceiveRes/ReceiveRes2/Text").gameObject
  347. if tolua.getpeer(tmp) == nil then
  348. tolua.setpeer(tmp, {})
  349. end
  350. self.receiveRes2.text = tmp
  351. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  352. end
  353. ---@private
  354. function UIHundredDojoRewardView:InitGenerate__20(Root, data)
  355. --[[
  356. UIAnimator/Window/BG/ReceiveBox/ReceiveRes/ReceiveRes3
  357. --]]
  358. local tmp = Root:Find("UIAnimator/Window/BG/ReceiveBox/ReceiveRes/ReceiveRes3").gameObject
  359. if tolua.getpeer(tmp) == nil then
  360. tolua.setpeer(tmp, {})
  361. end
  362. self.receiveRes3 = tmp
  363. end
  364. ---@private
  365. function UIHundredDojoRewardView:InitGenerate__21(Root, data)
  366. --[[
  367. UIAnimator/Window/BG/ReceiveBox/ReceiveRes/ReceiveRes3/Icon
  368. --]]
  369. local tmp = Root:Find("UIAnimator/Window/BG/ReceiveBox/ReceiveRes/ReceiveRes3/Icon").gameObject
  370. if tolua.getpeer(tmp) == nil then
  371. tolua.setpeer(tmp, {})
  372. end
  373. self.receiveRes3.icon = tmp
  374. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  375. end
  376. ---@private
  377. function UIHundredDojoRewardView:InitGenerate__22(Root, data)
  378. --[[
  379. UIAnimator/Window/BG/ReceiveBox/ReceiveRes/ReceiveRes3/Text
  380. --]]
  381. local tmp = Root:Find("UIAnimator/Window/BG/ReceiveBox/ReceiveRes/ReceiveRes3/Text").gameObject
  382. if tolua.getpeer(tmp) == nil then
  383. tolua.setpeer(tmp, {})
  384. end
  385. self.receiveRes3.text = tmp
  386. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  387. end
  388. ---@private
  389. function UIHundredDojoRewardView:InitGenerate__23(Root, data)
  390. --[[
  391. UIAnimator/Window/BG/ReceiveBox/ReceiveIcons
  392. --]]
  393. local tmp = Root:Find("UIAnimator/Window/BG/ReceiveBox/ReceiveIcons").gameObject
  394. if tolua.getpeer(tmp) == nil then
  395. tolua.setpeer(tmp, {})
  396. end
  397. self.receiveIcons = tmp
  398. end
  399. ---@private
  400. function UIHundredDojoRewardView:InitGenerate__24(Root, data)
  401. --[[
  402. UIAnimator/Window/BG/ReceiveBox/ReceiveIcons/ItemScrollView
  403. --]]
  404. local tmp = Root:Find("UIAnimator/Window/BG/ReceiveBox/ReceiveIcons/ItemScrollView").gameObject
  405. if tolua.getpeer(tmp) == nil then
  406. tolua.setpeer(tmp, {})
  407. end
  408. self.itemScrollView = tmp
  409. tmp.loopVerticalScrollRect = tmp:GetComponent(Enum.TypeInfo.LoopVerticalScrollRect)
  410. end
  411. ---@private
  412. function UIHundredDojoRewardView:InitGenerate__25(Root, data)
  413. --[[
  414. UIAnimator/Window/BG/ReceiveBox/ReceiveIcons/ItemScrollView/Viewport/Content
  415. --]]
  416. local tmp = Root:Find("UIAnimator/Window/BG/ReceiveBox/ReceiveIcons/ItemScrollView/Viewport/Content").gameObject
  417. if tolua.getpeer(tmp) == nil then
  418. tolua.setpeer(tmp, {})
  419. end
  420. self.content = tmp
  421. tmp.gridLayoutGroup = tmp:GetComponent(Enum.TypeInfo.GridLayoutGroup)
  422. end
  423. ---@private
  424. function UIHundredDojoRewardView:InitGenerate__26(Root, data)
  425. --[[
  426. UIAnimator/Window/BG/ReceiveBox/ReceiveIcons/Nothing
  427. --]]
  428. local tmp = Root:Find("UIAnimator/Window/BG/ReceiveBox/ReceiveIcons/Nothing").gameObject
  429. if tolua.getpeer(tmp) == nil then
  430. tolua.setpeer(tmp, {})
  431. end
  432. self.nothing = tmp
  433. end
  434. ---@private
  435. function UIHundredDojoRewardView:GenerateDestroy()
  436. if tolua.getpeer(self.receiveRes3.text) ~= nil then
  437. tolua.setpeer(self.receiveRes3.text, nil)
  438. end
  439. if tolua.getpeer(self.receiveRes3.icon) ~= nil then
  440. tolua.setpeer(self.receiveRes3.icon, nil)
  441. end
  442. if tolua.getpeer(self.receiveRes2.text) ~= nil then
  443. tolua.setpeer(self.receiveRes2.text, nil)
  444. end
  445. if tolua.getpeer(self.receiveRes2.icon) ~= nil then
  446. tolua.setpeer(self.receiveRes2.icon, nil)
  447. end
  448. if tolua.getpeer(self.receiveRes1.text) ~= nil then
  449. tolua.setpeer(self.receiveRes1.text, nil)
  450. end
  451. if tolua.getpeer(self.receiveRes1.icon) ~= nil then
  452. tolua.setpeer(self.receiveRes1.icon, nil)
  453. end
  454. if tolua.getpeer(self.currency3.text) ~= nil then
  455. tolua.setpeer(self.currency3.text, nil)
  456. end
  457. if tolua.getpeer(self.currency3.icon) ~= nil then
  458. tolua.setpeer(self.currency3.icon, nil)
  459. end
  460. if tolua.getpeer(self.currency2.text) ~= nil then
  461. tolua.setpeer(self.currency2.text, nil)
  462. end
  463. if tolua.getpeer(self.currency2.icon) ~= nil then
  464. tolua.setpeer(self.currency2.icon, nil)
  465. end
  466. if tolua.getpeer(self.currency1.text) ~= nil then
  467. tolua.setpeer(self.currency1.text, nil)
  468. end
  469. if tolua.getpeer(self.currency1.icon) ~= nil then
  470. tolua.setpeer(self.currency1.icon, nil)
  471. end
  472. if tolua.getpeer(self.AnyBtn) ~= nil then
  473. tolua.setpeer(self.AnyBtn, nil)
  474. end
  475. self.AnyBtn = nil
  476. if tolua.getpeer(self.timingBox) ~= nil then
  477. tolua.setpeer(self.timingBox, nil)
  478. end
  479. self.timingBox = nil
  480. if tolua.getpeer(self.currency1) ~= nil then
  481. tolua.setpeer(self.currency1, nil)
  482. end
  483. self.currency1 = nil
  484. if tolua.getpeer(self.currency2) ~= nil then
  485. tolua.setpeer(self.currency2, nil)
  486. end
  487. self.currency2 = nil
  488. if tolua.getpeer(self.currency3) ~= nil then
  489. tolua.setpeer(self.currency3, nil)
  490. end
  491. self.currency3 = nil
  492. if tolua.getpeer(self.talkBox) ~= nil then
  493. tolua.setpeer(self.talkBox, nil)
  494. end
  495. self.talkBox = nil
  496. if tolua.getpeer(self.rewardTimeTxt) ~= nil then
  497. tolua.setpeer(self.rewardTimeTxt, nil)
  498. end
  499. self.rewardTimeTxt = nil
  500. if tolua.getpeer(self.receiveRes1) ~= nil then
  501. tolua.setpeer(self.receiveRes1, nil)
  502. end
  503. self.receiveRes1 = nil
  504. if tolua.getpeer(self.receiveRes2) ~= nil then
  505. tolua.setpeer(self.receiveRes2, nil)
  506. end
  507. self.receiveRes2 = nil
  508. if tolua.getpeer(self.receiveRes3) ~= nil then
  509. tolua.setpeer(self.receiveRes3, nil)
  510. end
  511. self.receiveRes3 = nil
  512. if tolua.getpeer(self.receiveIcons) ~= nil then
  513. tolua.setpeer(self.receiveIcons, nil)
  514. end
  515. self.receiveIcons = nil
  516. if tolua.getpeer(self.itemScrollView) ~= nil then
  517. tolua.setpeer(self.itemScrollView, nil)
  518. end
  519. self.itemScrollView = nil
  520. if tolua.getpeer(self.content) ~= nil then
  521. tolua.setpeer(self.content, nil)
  522. end
  523. self.content = nil
  524. if tolua.getpeer(self.nothing) ~= nil then
  525. tolua.setpeer(self.nothing, nil)
  526. end
  527. self.nothing = nil
  528. self.transform = nil
  529. self.gameObject = nil
  530. self.inited = false
  531. end
  532. return UIHundredDojoRewardView