UITipsExchangeView_Generate.lua 39 KB

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