UIRoleStrengthView_Generate.lua 36 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223
  1. ---@class UIRoleStrength__Generate_particle
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public uIParticle UIExtensions.UIParticle
  4. ---@class UIRoleStrength__Generate_headItem
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public layoutElement UnityEngine.UI.LayoutElement
  7. ---@class UIRoleStrength__Generate_btnStrength
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public button UnityEngine.UI.Button
  10. ---@class UIRoleStrength__Generate_labelBox_labelLt
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public image UnityEngine.UI.Image
  13. ---@class UIRoleStrength__Generate_labelBox_text
  14. ---@field public gameObject UnityEngine.GameObject
  15. ---@field public text TMPro.TextMeshProUGUI
  16. ---@class UIRoleStrength__Generate_labelBox_label
  17. ---@field public gameObject UnityEngine.GameObject
  18. ---@field public image UnityEngine.UI.Image
  19. ---@class UIRoleStrength__Generate_labelBox
  20. ---@field public gameObject UnityEngine.GameObject
  21. ---@field public animator UnityEngine.Animator
  22. ---@field public label UIRoleStrength__Generate_labelBox_label
  23. ---@field public text UIRoleStrength__Generate_labelBox_text
  24. ---@field public labelLt UIRoleStrength__Generate_labelBox_labelLt
  25. ---@class UIRoleStrength__Generate_strengthAttr6_number2
  26. ---@field public gameObject UnityEngine.GameObject
  27. ---@field public text UnityEngine.UI.Text
  28. ---@class UIRoleStrength__Generate_strengthAttr6_number
  29. ---@field public gameObject UnityEngine.GameObject
  30. ---@field public text UnityEngine.UI.Text
  31. ---@class UIRoleStrength__Generate_strengthAttr6_text
  32. ---@field public gameObject UnityEngine.GameObject
  33. ---@field public text UnityEngine.UI.Text
  34. ---@class UIRoleStrength__Generate_strengthAttr6
  35. ---@field public gameObject UnityEngine.GameObject
  36. ---@field public uIEffectCfg UIEffectCfg
  37. ---@field public text UIRoleStrength__Generate_strengthAttr6_text
  38. ---@field public number UIRoleStrength__Generate_strengthAttr6_number
  39. ---@field public number2 UIRoleStrength__Generate_strengthAttr6_number2
  40. ---@field public arrow UnityEngine.GameObject
  41. ---@class UIRoleStrength__Generate_strengthAttr5_number2
  42. ---@field public gameObject UnityEngine.GameObject
  43. ---@field public text UnityEngine.UI.Text
  44. ---@class UIRoleStrength__Generate_strengthAttr5_number
  45. ---@field public gameObject UnityEngine.GameObject
  46. ---@field public text UnityEngine.UI.Text
  47. ---@class UIRoleStrength__Generate_strengthAttr5_text
  48. ---@field public gameObject UnityEngine.GameObject
  49. ---@field public text UnityEngine.UI.Text
  50. ---@class UIRoleStrength__Generate_strengthAttr5
  51. ---@field public gameObject UnityEngine.GameObject
  52. ---@field public uIEffectCfg UIEffectCfg
  53. ---@field public text UIRoleStrength__Generate_strengthAttr5_text
  54. ---@field public number UIRoleStrength__Generate_strengthAttr5_number
  55. ---@field public number2 UIRoleStrength__Generate_strengthAttr5_number2
  56. ---@field public arrow UnityEngine.GameObject
  57. ---@field public fx UnityEngine.GameObject
  58. ---@class UIRoleStrength__Generate_strengthAttr4_number2
  59. ---@field public gameObject UnityEngine.GameObject
  60. ---@field public text UnityEngine.UI.Text
  61. ---@class UIRoleStrength__Generate_strengthAttr4_number
  62. ---@field public gameObject UnityEngine.GameObject
  63. ---@field public text UnityEngine.UI.Text
  64. ---@class UIRoleStrength__Generate_strengthAttr4_text
  65. ---@field public gameObject UnityEngine.GameObject
  66. ---@field public text UnityEngine.UI.Text
  67. ---@class UIRoleStrength__Generate_strengthAttr4
  68. ---@field public gameObject UnityEngine.GameObject
  69. ---@field public uIEffectCfg UIEffectCfg
  70. ---@field public text UIRoleStrength__Generate_strengthAttr4_text
  71. ---@field public number UIRoleStrength__Generate_strengthAttr4_number
  72. ---@field public number2 UIRoleStrength__Generate_strengthAttr4_number2
  73. ---@field public arrow UnityEngine.GameObject
  74. ---@field public fx UnityEngine.GameObject
  75. ---@class UIRoleStrength__Generate_strengthAttr3_number2
  76. ---@field public gameObject UnityEngine.GameObject
  77. ---@field public text UnityEngine.UI.Text
  78. ---@class UIRoleStrength__Generate_strengthAttr3_number
  79. ---@field public gameObject UnityEngine.GameObject
  80. ---@field public text UnityEngine.UI.Text
  81. ---@class UIRoleStrength__Generate_strengthAttr3_text
  82. ---@field public gameObject UnityEngine.GameObject
  83. ---@field public text UnityEngine.UI.Text
  84. ---@class UIRoleStrength__Generate_strengthAttr3
  85. ---@field public gameObject UnityEngine.GameObject
  86. ---@field public uIEffectCfg UIEffectCfg
  87. ---@field public text UIRoleStrength__Generate_strengthAttr3_text
  88. ---@field public number UIRoleStrength__Generate_strengthAttr3_number
  89. ---@field public number2 UIRoleStrength__Generate_strengthAttr3_number2
  90. ---@field public arrow UnityEngine.GameObject
  91. ---@field public fx UnityEngine.GameObject
  92. ---@class UIRoleStrength__Generate_strengthAttr2_number2
  93. ---@field public gameObject UnityEngine.GameObject
  94. ---@field public text UnityEngine.UI.Text
  95. ---@class UIRoleStrength__Generate_strengthAttr2_number
  96. ---@field public gameObject UnityEngine.GameObject
  97. ---@field public text UnityEngine.UI.Text
  98. ---@class UIRoleStrength__Generate_strengthAttr2_text
  99. ---@field public gameObject UnityEngine.GameObject
  100. ---@field public text UnityEngine.UI.Text
  101. ---@class UIRoleStrength__Generate_strengthAttr2
  102. ---@field public gameObject UnityEngine.GameObject
  103. ---@field public uIEffectCfg UIEffectCfg
  104. ---@field public text UIRoleStrength__Generate_strengthAttr2_text
  105. ---@field public number UIRoleStrength__Generate_strengthAttr2_number
  106. ---@field public number2 UIRoleStrength__Generate_strengthAttr2_number2
  107. ---@field public arrow UnityEngine.GameObject
  108. ---@field public fx UnityEngine.GameObject
  109. ---@class UIRoleStrength__Generate_strengthAttr1_number2
  110. ---@field public gameObject UnityEngine.GameObject
  111. ---@field public text UnityEngine.UI.Text
  112. ---@class UIRoleStrength__Generate_strengthAttr1_number
  113. ---@field public gameObject UnityEngine.GameObject
  114. ---@field public text UnityEngine.UI.Text
  115. ---@class UIRoleStrength__Generate_strengthAttr1_text
  116. ---@field public gameObject UnityEngine.GameObject
  117. ---@field public text UnityEngine.UI.Text
  118. ---@class UIRoleStrength__Generate_strengthAttr1
  119. ---@field public gameObject UnityEngine.GameObject
  120. ---@field public uIEffectCfg UIEffectCfg
  121. ---@field public text UIRoleStrength__Generate_strengthAttr1_text
  122. ---@field public number UIRoleStrength__Generate_strengthAttr1_number
  123. ---@field public number2 UIRoleStrength__Generate_strengthAttr1_number2
  124. ---@field public arrow UnityEngine.GameObject
  125. ---@field public fx UnityEngine.GameObject
  126. ---@class UIRoleStrength__Generate_btnClose
  127. ---@field public gameObject UnityEngine.GameObject
  128. ---@field public button UnityEngine.UI.Button
  129. ---@class UIRoleStrength__Generate_bg
  130. ---@field public gameObject UnityEngine.GameObject
  131. ---@field public verticalLayoutGroup UnityEngine.UI.VerticalLayoutGroup
  132. ---@class UIRoleStrength__Generate_AnyBtn
  133. ---@field public gameObject UnityEngine.GameObject
  134. ---@field public button UnityEngine.UI.Button
  135. ---@class UIRoleStrength__Generate_uIAnimator
  136. ---@field public gameObject UnityEngine.GameObject
  137. ---@field public animator UnityEngine.Animator
  138. ---@class UIRoleStrength__Generate
  139. ---@field private gameObject UnityEngine.GameObject
  140. ---@field private transform UnityEngine.Transform
  141. ---@field private uIAnimator UIRoleStrength__Generate_uIAnimator
  142. ---@field private AnyBtn UIRoleStrength__Generate_AnyBtn
  143. ---@field private window UnityEngine.GameObject
  144. ---@field private bg UIRoleStrength__Generate_bg
  145. ---@field private closeBox UnityEngine.GameObject
  146. ---@field private btnClose UIRoleStrength__Generate_btnClose
  147. ---@field private strengthAttr1 UIRoleStrength__Generate_strengthAttr1
  148. ---@field private strengthAttr2 UIRoleStrength__Generate_strengthAttr2
  149. ---@field private strengthAttr3 UIRoleStrength__Generate_strengthAttr3
  150. ---@field private strengthAttr4 UIRoleStrength__Generate_strengthAttr4
  151. ---@field private strengthAttr5 UIRoleStrength__Generate_strengthAttr5
  152. ---@field private strengthAttr6 UIRoleStrength__Generate_strengthAttr6
  153. ---@field private fx UnityEngine.GameObject
  154. ---@field private labelBox UIRoleStrength__Generate_labelBox
  155. ---@field private btnBox UnityEngine.GameObject
  156. ---@field private boxCost UnityEngine.GameObject
  157. ---@field private cost1 UnityEngine.GameObject
  158. ---@field private cost2 UnityEngine.GameObject
  159. ---@field private btnStrength UIRoleStrength__Generate_btnStrength
  160. ---@field private max UnityEngine.GameObject
  161. ---@field private strengthSuccess UnityEngine.GameObject
  162. ---@field private headItem UIRoleStrength__Generate_headItem
  163. ---@field private particle UIRoleStrength__Generate_particle
  164. local UIRoleStrengthView = class("UIRoleStrengthView", require("UIViewBase"))
  165. function UIRoleStrengthView:ctor()
  166. end
  167. ---@private
  168. function UIRoleStrengthView:SetActive(result)
  169. self.gameObject:SetActive(result)
  170. end
  171. ---@private
  172. function UIRoleStrengthView:InitGenerate(Root, data)
  173. self.transform = Root
  174. self.inited = true
  175. if self.super.Init then
  176. self.super.Init(self)
  177. end
  178. local tmp
  179. self:InitGenerate__1(Root,data)
  180. self:InitGenerate__2(Root,data)
  181. self:InitGenerate__3(Root,data)
  182. self:InitGenerate__4(Root,data)
  183. self:InitGenerate__5(Root,data)
  184. self:InitGenerate__6(Root,data)
  185. self:InitGenerate__7(Root,data)
  186. self:InitGenerate__8(Root,data)
  187. self:InitGenerate__9(Root,data)
  188. self:InitGenerate__10(Root,data)
  189. self:InitGenerate__11(Root,data)
  190. self:InitGenerate__12(Root,data)
  191. self:InitGenerate__13(Root,data)
  192. self:InitGenerate__14(Root,data)
  193. self:InitGenerate__15(Root,data)
  194. self:InitGenerate__16(Root,data)
  195. self:InitGenerate__17(Root,data)
  196. self:InitGenerate__18(Root,data)
  197. self:InitGenerate__19(Root,data)
  198. self:InitGenerate__20(Root,data)
  199. self:InitGenerate__21(Root,data)
  200. self:InitGenerate__22(Root,data)
  201. self:InitGenerate__23(Root,data)
  202. self:InitGenerate__24(Root,data)
  203. self:InitGenerate__25(Root,data)
  204. self:InitGenerate__26(Root,data)
  205. self:InitGenerate__27(Root,data)
  206. self:InitGenerate__28(Root,data)
  207. self:InitGenerate__29(Root,data)
  208. self:InitGenerate__30(Root,data)
  209. self:InitGenerate__31(Root,data)
  210. self:InitGenerate__32(Root,data)
  211. self:InitGenerate__33(Root,data)
  212. self:InitGenerate__34(Root,data)
  213. self:InitGenerate__35(Root,data)
  214. self:InitGenerate__36(Root,data)
  215. self:InitGenerate__37(Root,data)
  216. self:InitGenerate__38(Root,data)
  217. self:InitGenerate__39(Root,data)
  218. self:InitGenerate__40(Root,data)
  219. self:InitGenerate__41(Root,data)
  220. self:InitGenerate__42(Root,data)
  221. self:InitGenerate__43(Root,data)
  222. self:InitGenerate__44(Root,data)
  223. self:InitGenerate__45(Root,data)
  224. self:InitGenerate__46(Root,data)
  225. self:InitGenerate__47(Root,data)
  226. self:InitGenerate__48(Root,data)
  227. self:InitGenerate__49(Root,data)
  228. self:InitGenerate__50(Root,data)
  229. self:InitGenerate__51(Root,data)
  230. self:InitGenerate__52(Root,data)
  231. self:InitGenerate__53(Root,data)
  232. self:InitGenerate__54(Root,data)
  233. self:InitGenerate__55(Root,data)
  234. self:InitGenerate__56(Root,data)
  235. end
  236. ---@private
  237. function UIRoleStrengthView:InitGenerate__1(Root, data)
  238. --[[
  239. Root
  240. --]]
  241. end
  242. ---@private
  243. function UIRoleStrengthView:InitGenerate__2(Root, data)
  244. --[[
  245. UIAnimator
  246. --]]
  247. local tmp = Root:Find("UIAnimator").gameObject
  248. if tolua.getpeer(tmp) == nil then
  249. tolua.setpeer(tmp, {})
  250. end
  251. self.uIAnimator = tmp
  252. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  253. tmp.animator.logWarnings = false
  254. end
  255. ---@private
  256. function UIRoleStrengthView:InitGenerate__3(Root, data)
  257. --[[
  258. UIAnimator/Alpha
  259. --]]
  260. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  261. if tolua.getpeer(tmp) == nil then
  262. tolua.setpeer(tmp, {})
  263. end
  264. self.AnyBtn = tmp
  265. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  266. end
  267. ---@private
  268. function UIRoleStrengthView:InitGenerate__4(Root, data)
  269. --[[
  270. UIAnimator/Window
  271. --]]
  272. local tmp = Root:Find("UIAnimator/Window").gameObject
  273. if tolua.getpeer(tmp) == nil then
  274. tolua.setpeer(tmp, {})
  275. end
  276. self.window = tmp
  277. end
  278. ---@private
  279. function UIRoleStrengthView:InitGenerate__5(Root, data)
  280. --[[
  281. UIAnimator/Window/Bg
  282. --]]
  283. local tmp = Root:Find("UIAnimator/Window/Bg").gameObject
  284. if tolua.getpeer(tmp) == nil then
  285. tolua.setpeer(tmp, {})
  286. end
  287. self.bg = tmp
  288. tmp.verticalLayoutGroup = tmp:GetComponent(Enum.TypeInfo.VerticalLayoutGroup)
  289. end
  290. ---@private
  291. function UIRoleStrengthView:InitGenerate__6(Root, data)
  292. --[[
  293. UIAnimator/Window/Bg/CloseBox
  294. --]]
  295. local tmp = Root:Find("UIAnimator/Window/Bg/CloseBox").gameObject
  296. if tolua.getpeer(tmp) == nil then
  297. tolua.setpeer(tmp, {})
  298. end
  299. self.closeBox = tmp
  300. end
  301. ---@private
  302. function UIRoleStrengthView:InitGenerate__7(Root, data)
  303. --[[
  304. UIAnimator/Window/Bg/CloseBox/BtnClose
  305. --]]
  306. local tmp = Root:Find("UIAnimator/Window/Bg/CloseBox/BtnClose").gameObject
  307. if tolua.getpeer(tmp) == nil then
  308. tolua.setpeer(tmp, {})
  309. end
  310. self.btnClose = tmp
  311. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  312. end
  313. ---@private
  314. function UIRoleStrengthView:InitGenerate__8(Root, data)
  315. --[[
  316. UIAnimator/Window/Bg/StrengthBox/StrengthAttr1
  317. --]]
  318. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr1").gameObject
  319. if tolua.getpeer(tmp) == nil then
  320. tolua.setpeer(tmp, {})
  321. end
  322. self.strengthAttr1 = tmp
  323. tmp.uIEffectCfg = tmp:GetComponent(Enum.TypeInfo.UIEffectCfg)
  324. end
  325. ---@private
  326. function UIRoleStrengthView:InitGenerate__9(Root, data)
  327. --[[
  328. UIAnimator/Window/Bg/StrengthBox/StrengthAttr1/Text
  329. --]]
  330. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr1/Text").gameObject
  331. if tolua.getpeer(tmp) == nil then
  332. tolua.setpeer(tmp, {})
  333. end
  334. self.strengthAttr1.text = tmp
  335. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  336. end
  337. ---@private
  338. function UIRoleStrengthView:InitGenerate__10(Root, data)
  339. --[[
  340. UIAnimator/Window/Bg/StrengthBox/StrengthAttr1/Number
  341. --]]
  342. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr1/Number").gameObject
  343. if tolua.getpeer(tmp) == nil then
  344. tolua.setpeer(tmp, {})
  345. end
  346. self.strengthAttr1.number = tmp
  347. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  348. end
  349. ---@private
  350. function UIRoleStrengthView:InitGenerate__11(Root, data)
  351. --[[
  352. UIAnimator/Window/Bg/StrengthBox/StrengthAttr1/Number2
  353. --]]
  354. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr1/Number2").gameObject
  355. if tolua.getpeer(tmp) == nil then
  356. tolua.setpeer(tmp, {})
  357. end
  358. self.strengthAttr1.number2 = tmp
  359. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  360. end
  361. ---@private
  362. function UIRoleStrengthView:InitGenerate__12(Root, data)
  363. --[[
  364. UIAnimator/Window/Bg/StrengthBox/StrengthAttr1/arrow
  365. --]]
  366. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr1/arrow").gameObject
  367. if tolua.getpeer(tmp) == nil then
  368. tolua.setpeer(tmp, {})
  369. end
  370. self.strengthAttr1.arrow = tmp
  371. end
  372. ---@private
  373. function UIRoleStrengthView:InitGenerate__13(Root, data)
  374. --[[
  375. UIAnimator/Window/Bg/StrengthBox/StrengthAttr1/fx
  376. --]]
  377. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr1/fx").gameObject
  378. if tolua.getpeer(tmp) == nil then
  379. tolua.setpeer(tmp, {})
  380. end
  381. self.strengthAttr1.fx = tmp
  382. end
  383. ---@private
  384. function UIRoleStrengthView:InitGenerate__14(Root, data)
  385. --[[
  386. UIAnimator/Window/Bg/StrengthBox/StrengthAttr2
  387. --]]
  388. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr2").gameObject
  389. if tolua.getpeer(tmp) == nil then
  390. tolua.setpeer(tmp, {})
  391. end
  392. self.strengthAttr2 = tmp
  393. tmp.uIEffectCfg = tmp:GetComponent(Enum.TypeInfo.UIEffectCfg)
  394. end
  395. ---@private
  396. function UIRoleStrengthView:InitGenerate__15(Root, data)
  397. --[[
  398. UIAnimator/Window/Bg/StrengthBox/StrengthAttr2/Text
  399. --]]
  400. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr2/Text").gameObject
  401. if tolua.getpeer(tmp) == nil then
  402. tolua.setpeer(tmp, {})
  403. end
  404. self.strengthAttr2.text = tmp
  405. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  406. end
  407. ---@private
  408. function UIRoleStrengthView:InitGenerate__16(Root, data)
  409. --[[
  410. UIAnimator/Window/Bg/StrengthBox/StrengthAttr2/Number
  411. --]]
  412. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr2/Number").gameObject
  413. if tolua.getpeer(tmp) == nil then
  414. tolua.setpeer(tmp, {})
  415. end
  416. self.strengthAttr2.number = tmp
  417. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  418. end
  419. ---@private
  420. function UIRoleStrengthView:InitGenerate__17(Root, data)
  421. --[[
  422. UIAnimator/Window/Bg/StrengthBox/StrengthAttr2/Number2
  423. --]]
  424. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr2/Number2").gameObject
  425. if tolua.getpeer(tmp) == nil then
  426. tolua.setpeer(tmp, {})
  427. end
  428. self.strengthAttr2.number2 = tmp
  429. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  430. end
  431. ---@private
  432. function UIRoleStrengthView:InitGenerate__18(Root, data)
  433. --[[
  434. UIAnimator/Window/Bg/StrengthBox/StrengthAttr2/arrow
  435. --]]
  436. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr2/arrow").gameObject
  437. if tolua.getpeer(tmp) == nil then
  438. tolua.setpeer(tmp, {})
  439. end
  440. self.strengthAttr2.arrow = tmp
  441. end
  442. ---@private
  443. function UIRoleStrengthView:InitGenerate__19(Root, data)
  444. --[[
  445. UIAnimator/Window/Bg/StrengthBox/StrengthAttr2/fx
  446. --]]
  447. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr2/fx").gameObject
  448. if tolua.getpeer(tmp) == nil then
  449. tolua.setpeer(tmp, {})
  450. end
  451. self.strengthAttr2.fx = tmp
  452. end
  453. ---@private
  454. function UIRoleStrengthView:InitGenerate__20(Root, data)
  455. --[[
  456. UIAnimator/Window/Bg/StrengthBox/StrengthAttr3
  457. --]]
  458. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr3").gameObject
  459. if tolua.getpeer(tmp) == nil then
  460. tolua.setpeer(tmp, {})
  461. end
  462. self.strengthAttr3 = tmp
  463. tmp.uIEffectCfg = tmp:GetComponent(Enum.TypeInfo.UIEffectCfg)
  464. end
  465. ---@private
  466. function UIRoleStrengthView:InitGenerate__21(Root, data)
  467. --[[
  468. UIAnimator/Window/Bg/StrengthBox/StrengthAttr3/Text
  469. --]]
  470. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr3/Text").gameObject
  471. if tolua.getpeer(tmp) == nil then
  472. tolua.setpeer(tmp, {})
  473. end
  474. self.strengthAttr3.text = tmp
  475. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  476. end
  477. ---@private
  478. function UIRoleStrengthView:InitGenerate__22(Root, data)
  479. --[[
  480. UIAnimator/Window/Bg/StrengthBox/StrengthAttr3/Number
  481. --]]
  482. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr3/Number").gameObject
  483. if tolua.getpeer(tmp) == nil then
  484. tolua.setpeer(tmp, {})
  485. end
  486. self.strengthAttr3.number = tmp
  487. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  488. end
  489. ---@private
  490. function UIRoleStrengthView:InitGenerate__23(Root, data)
  491. --[[
  492. UIAnimator/Window/Bg/StrengthBox/StrengthAttr3/Number2
  493. --]]
  494. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr3/Number2").gameObject
  495. if tolua.getpeer(tmp) == nil then
  496. tolua.setpeer(tmp, {})
  497. end
  498. self.strengthAttr3.number2 = tmp
  499. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  500. end
  501. ---@private
  502. function UIRoleStrengthView:InitGenerate__24(Root, data)
  503. --[[
  504. UIAnimator/Window/Bg/StrengthBox/StrengthAttr3/arrow
  505. --]]
  506. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr3/arrow").gameObject
  507. if tolua.getpeer(tmp) == nil then
  508. tolua.setpeer(tmp, {})
  509. end
  510. self.strengthAttr3.arrow = tmp
  511. end
  512. ---@private
  513. function UIRoleStrengthView:InitGenerate__25(Root, data)
  514. --[[
  515. UIAnimator/Window/Bg/StrengthBox/StrengthAttr3/fx
  516. --]]
  517. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr3/fx").gameObject
  518. if tolua.getpeer(tmp) == nil then
  519. tolua.setpeer(tmp, {})
  520. end
  521. self.strengthAttr3.fx = tmp
  522. end
  523. ---@private
  524. function UIRoleStrengthView:InitGenerate__26(Root, data)
  525. --[[
  526. UIAnimator/Window/Bg/StrengthBox/StrengthAttr4
  527. --]]
  528. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr4").gameObject
  529. if tolua.getpeer(tmp) == nil then
  530. tolua.setpeer(tmp, {})
  531. end
  532. self.strengthAttr4 = tmp
  533. tmp.uIEffectCfg = tmp:GetComponent(Enum.TypeInfo.UIEffectCfg)
  534. end
  535. ---@private
  536. function UIRoleStrengthView:InitGenerate__27(Root, data)
  537. --[[
  538. UIAnimator/Window/Bg/StrengthBox/StrengthAttr4/Text
  539. --]]
  540. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr4/Text").gameObject
  541. if tolua.getpeer(tmp) == nil then
  542. tolua.setpeer(tmp, {})
  543. end
  544. self.strengthAttr4.text = tmp
  545. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  546. end
  547. ---@private
  548. function UIRoleStrengthView:InitGenerate__28(Root, data)
  549. --[[
  550. UIAnimator/Window/Bg/StrengthBox/StrengthAttr4/Number
  551. --]]
  552. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr4/Number").gameObject
  553. if tolua.getpeer(tmp) == nil then
  554. tolua.setpeer(tmp, {})
  555. end
  556. self.strengthAttr4.number = tmp
  557. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  558. end
  559. ---@private
  560. function UIRoleStrengthView:InitGenerate__29(Root, data)
  561. --[[
  562. UIAnimator/Window/Bg/StrengthBox/StrengthAttr4/Number2
  563. --]]
  564. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr4/Number2").gameObject
  565. if tolua.getpeer(tmp) == nil then
  566. tolua.setpeer(tmp, {})
  567. end
  568. self.strengthAttr4.number2 = tmp
  569. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  570. end
  571. ---@private
  572. function UIRoleStrengthView:InitGenerate__30(Root, data)
  573. --[[
  574. UIAnimator/Window/Bg/StrengthBox/StrengthAttr4/arrow
  575. --]]
  576. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr4/arrow").gameObject
  577. if tolua.getpeer(tmp) == nil then
  578. tolua.setpeer(tmp, {})
  579. end
  580. self.strengthAttr4.arrow = tmp
  581. end
  582. ---@private
  583. function UIRoleStrengthView:InitGenerate__31(Root, data)
  584. --[[
  585. UIAnimator/Window/Bg/StrengthBox/StrengthAttr4/fx
  586. --]]
  587. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr4/fx").gameObject
  588. if tolua.getpeer(tmp) == nil then
  589. tolua.setpeer(tmp, {})
  590. end
  591. self.strengthAttr4.fx = tmp
  592. end
  593. ---@private
  594. function UIRoleStrengthView:InitGenerate__32(Root, data)
  595. --[[
  596. UIAnimator/Window/Bg/StrengthBox/StrengthAttr5
  597. --]]
  598. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr5").gameObject
  599. if tolua.getpeer(tmp) == nil then
  600. tolua.setpeer(tmp, {})
  601. end
  602. self.strengthAttr5 = tmp
  603. tmp.uIEffectCfg = tmp:GetComponent(Enum.TypeInfo.UIEffectCfg)
  604. end
  605. ---@private
  606. function UIRoleStrengthView:InitGenerate__33(Root, data)
  607. --[[
  608. UIAnimator/Window/Bg/StrengthBox/StrengthAttr5/Text
  609. --]]
  610. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr5/Text").gameObject
  611. if tolua.getpeer(tmp) == nil then
  612. tolua.setpeer(tmp, {})
  613. end
  614. self.strengthAttr5.text = tmp
  615. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  616. end
  617. ---@private
  618. function UIRoleStrengthView:InitGenerate__34(Root, data)
  619. --[[
  620. UIAnimator/Window/Bg/StrengthBox/StrengthAttr5/Number
  621. --]]
  622. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr5/Number").gameObject
  623. if tolua.getpeer(tmp) == nil then
  624. tolua.setpeer(tmp, {})
  625. end
  626. self.strengthAttr5.number = tmp
  627. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  628. end
  629. ---@private
  630. function UIRoleStrengthView:InitGenerate__35(Root, data)
  631. --[[
  632. UIAnimator/Window/Bg/StrengthBox/StrengthAttr5/Number2
  633. --]]
  634. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr5/Number2").gameObject
  635. if tolua.getpeer(tmp) == nil then
  636. tolua.setpeer(tmp, {})
  637. end
  638. self.strengthAttr5.number2 = tmp
  639. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  640. end
  641. ---@private
  642. function UIRoleStrengthView:InitGenerate__36(Root, data)
  643. --[[
  644. UIAnimator/Window/Bg/StrengthBox/StrengthAttr5/arrow
  645. --]]
  646. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr5/arrow").gameObject
  647. if tolua.getpeer(tmp) == nil then
  648. tolua.setpeer(tmp, {})
  649. end
  650. self.strengthAttr5.arrow = tmp
  651. end
  652. ---@private
  653. function UIRoleStrengthView:InitGenerate__37(Root, data)
  654. --[[
  655. UIAnimator/Window/Bg/StrengthBox/StrengthAttr5/fx
  656. --]]
  657. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr5/fx").gameObject
  658. if tolua.getpeer(tmp) == nil then
  659. tolua.setpeer(tmp, {})
  660. end
  661. self.strengthAttr5.fx = tmp
  662. end
  663. ---@private
  664. function UIRoleStrengthView:InitGenerate__38(Root, data)
  665. --[[
  666. UIAnimator/Window/Bg/StrengthBox/StrengthAttr6
  667. --]]
  668. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr6").gameObject
  669. if tolua.getpeer(tmp) == nil then
  670. tolua.setpeer(tmp, {})
  671. end
  672. self.strengthAttr6 = tmp
  673. tmp.uIEffectCfg = tmp:GetComponent(Enum.TypeInfo.UIEffectCfg)
  674. end
  675. ---@private
  676. function UIRoleStrengthView:InitGenerate__39(Root, data)
  677. --[[
  678. UIAnimator/Window/Bg/StrengthBox/StrengthAttr6/Text
  679. --]]
  680. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr6/Text").gameObject
  681. if tolua.getpeer(tmp) == nil then
  682. tolua.setpeer(tmp, {})
  683. end
  684. self.strengthAttr6.text = tmp
  685. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  686. end
  687. ---@private
  688. function UIRoleStrengthView:InitGenerate__40(Root, data)
  689. --[[
  690. UIAnimator/Window/Bg/StrengthBox/StrengthAttr6/Number
  691. --]]
  692. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr6/Number").gameObject
  693. if tolua.getpeer(tmp) == nil then
  694. tolua.setpeer(tmp, {})
  695. end
  696. self.strengthAttr6.number = tmp
  697. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  698. end
  699. ---@private
  700. function UIRoleStrengthView:InitGenerate__41(Root, data)
  701. --[[
  702. UIAnimator/Window/Bg/StrengthBox/StrengthAttr6/Number2
  703. --]]
  704. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr6/Number2").gameObject
  705. if tolua.getpeer(tmp) == nil then
  706. tolua.setpeer(tmp, {})
  707. end
  708. self.strengthAttr6.number2 = tmp
  709. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  710. end
  711. ---@private
  712. function UIRoleStrengthView:InitGenerate__42(Root, data)
  713. --[[
  714. UIAnimator/Window/Bg/StrengthBox/StrengthAttr6/arrow
  715. --]]
  716. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr6/arrow").gameObject
  717. if tolua.getpeer(tmp) == nil then
  718. tolua.setpeer(tmp, {})
  719. end
  720. self.strengthAttr6.arrow = tmp
  721. end
  722. ---@private
  723. function UIRoleStrengthView:InitGenerate__43(Root, data)
  724. --[[
  725. UIAnimator/Window/Bg/StrengthBox/StrengthAttr6/fx
  726. --]]
  727. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/StrengthAttr6/fx").gameObject
  728. if tolua.getpeer(tmp) == nil then
  729. tolua.setpeer(tmp, {})
  730. end
  731. self.fx = tmp
  732. end
  733. ---@private
  734. function UIRoleStrengthView:InitGenerate__44(Root, data)
  735. --[[
  736. UIAnimator/Window/Bg/StrengthBox/LabelBox
  737. --]]
  738. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/LabelBox").gameObject
  739. if tolua.getpeer(tmp) == nil then
  740. tolua.setpeer(tmp, {})
  741. end
  742. self.labelBox = tmp
  743. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  744. tmp.animator.logWarnings = false
  745. end
  746. ---@private
  747. function UIRoleStrengthView:InitGenerate__45(Root, data)
  748. --[[
  749. UIAnimator/Window/Bg/StrengthBox/LabelBox/Label
  750. --]]
  751. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/LabelBox/Label").gameObject
  752. if tolua.getpeer(tmp) == nil then
  753. tolua.setpeer(tmp, {})
  754. end
  755. self.labelBox.label = tmp
  756. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  757. end
  758. ---@private
  759. function UIRoleStrengthView:InitGenerate__46(Root, data)
  760. --[[
  761. UIAnimator/Window/Bg/StrengthBox/LabelBox/Text
  762. --]]
  763. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/LabelBox/Text").gameObject
  764. if tolua.getpeer(tmp) == nil then
  765. tolua.setpeer(tmp, {})
  766. end
  767. self.labelBox.text = tmp
  768. tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
  769. end
  770. ---@private
  771. function UIRoleStrengthView:InitGenerate__47(Root, data)
  772. --[[
  773. UIAnimator/Window/Bg/StrengthBox/LabelBox/LabelLt
  774. --]]
  775. local tmp = Root:Find("UIAnimator/Window/Bg/StrengthBox/LabelBox/LabelLt").gameObject
  776. if tolua.getpeer(tmp) == nil then
  777. tolua.setpeer(tmp, {})
  778. end
  779. self.labelBox.labelLt = tmp
  780. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  781. end
  782. ---@private
  783. function UIRoleStrengthView:InitGenerate__48(Root, data)
  784. --[[
  785. UIAnimator/Window/Bg/BtnBox
  786. --]]
  787. local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox").gameObject
  788. if tolua.getpeer(tmp) == nil then
  789. tolua.setpeer(tmp, {})
  790. end
  791. self.btnBox = tmp
  792. end
  793. ---@private
  794. function UIRoleStrengthView:InitGenerate__49(Root, data)
  795. --[[
  796. UIAnimator/Window/Bg/BtnBox/BoxCost
  797. --]]
  798. local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox/BoxCost").gameObject
  799. if tolua.getpeer(tmp) == nil then
  800. tolua.setpeer(tmp, {})
  801. end
  802. self.boxCost = tmp
  803. end
  804. ---@private
  805. function UIRoleStrengthView:InitGenerate__50(Root, data)
  806. --[[
  807. UIAnimator/Window/Bg/BtnBox/BoxCost/Cost/CostItem
  808. --]]
  809. local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox/BoxCost/Cost/CostItem").gameObject
  810. if tolua.getpeer(tmp) == nil then
  811. tolua.setpeer(tmp, {})
  812. end
  813. self.cost1 = CommonUtil.BindGridViewItem2LuaStatic("CostItem", tmp)
  814. self.cost1.prefabName = "CostItem"
  815. end
  816. ---@private
  817. function UIRoleStrengthView:InitGenerate__51(Root, data)
  818. --[[
  819. UIAnimator/Window/Bg/BtnBox/BoxCost/Cost/CostItem1
  820. --]]
  821. local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox/BoxCost/Cost/CostItem1").gameObject
  822. if tolua.getpeer(tmp) == nil then
  823. tolua.setpeer(tmp, {})
  824. end
  825. self.cost2 = CommonUtil.BindGridViewItem2LuaStatic("CostItem", tmp)
  826. self.cost2.prefabName = "CostItem"
  827. end
  828. ---@private
  829. function UIRoleStrengthView:InitGenerate__52(Root, data)
  830. --[[
  831. UIAnimator/Window/Bg/BtnBox/BtnStrength
  832. --]]
  833. local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox/BtnStrength").gameObject
  834. if tolua.getpeer(tmp) == nil then
  835. tolua.setpeer(tmp, {})
  836. end
  837. self.btnStrength = tmp
  838. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  839. end
  840. ---@private
  841. function UIRoleStrengthView:InitGenerate__53(Root, data)
  842. --[[
  843. UIAnimator/Window/Bg/BtnBox/Max
  844. --]]
  845. local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox/Max").gameObject
  846. if tolua.getpeer(tmp) == nil then
  847. tolua.setpeer(tmp, {})
  848. end
  849. self.max = tmp
  850. end
  851. ---@private
  852. function UIRoleStrengthView:InitGenerate__54(Root, data)
  853. --[[
  854. StrengthSuccess
  855. --]]
  856. local tmp = Root:Find("StrengthSuccess").gameObject
  857. if tolua.getpeer(tmp) == nil then
  858. tolua.setpeer(tmp, {})
  859. end
  860. self.strengthSuccess = tmp
  861. end
  862. ---@private
  863. function UIRoleStrengthView:InitGenerate__55(Root, data)
  864. --[[
  865. StrengthSuccess/IconAnim/Content/HeadItem
  866. --]]
  867. local tmp = Root:Find("StrengthSuccess/IconAnim/Content/HeadItem").gameObject
  868. if tolua.getpeer(tmp) == nil then
  869. tolua.setpeer(tmp, {})
  870. end
  871. self.headItem = CommonUtil.BindGridViewItem2LuaStatic("HeadItem", tmp)
  872. self.headItem.prefabName = "HeadItem"
  873. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  874. end
  875. ---@private
  876. function UIRoleStrengthView:InitGenerate__56(Root, data)
  877. --[[
  878. StrengthSuccess/IconAnim/particle
  879. --]]
  880. local tmp = Root:Find("StrengthSuccess/IconAnim/particle").gameObject
  881. if tolua.getpeer(tmp) == nil then
  882. tolua.setpeer(tmp, {})
  883. end
  884. self.particle = tmp
  885. tmp.uIParticle = tmp:GetComponent(Enum.TypeInfo.UIParticle)
  886. end
  887. ---@private
  888. function UIRoleStrengthView:GenerateDestroy()
  889. if tolua.getpeer(self.labelBox.labelLt) ~= nil then
  890. tolua.setpeer(self.labelBox.labelLt, nil)
  891. end
  892. if tolua.getpeer(self.labelBox.text) ~= nil then
  893. tolua.setpeer(self.labelBox.text, nil)
  894. end
  895. if tolua.getpeer(self.labelBox.label) ~= nil then
  896. tolua.setpeer(self.labelBox.label, nil)
  897. end
  898. if tolua.getpeer(self.strengthAttr6.arrow) ~= nil then
  899. tolua.setpeer(self.strengthAttr6.arrow, nil)
  900. end
  901. if tolua.getpeer(self.strengthAttr6.number2) ~= nil then
  902. tolua.setpeer(self.strengthAttr6.number2, nil)
  903. end
  904. if tolua.getpeer(self.strengthAttr6.number) ~= nil then
  905. tolua.setpeer(self.strengthAttr6.number, nil)
  906. end
  907. if tolua.getpeer(self.strengthAttr6.text) ~= nil then
  908. tolua.setpeer(self.strengthAttr6.text, nil)
  909. end
  910. if tolua.getpeer(self.strengthAttr5.fx) ~= nil then
  911. tolua.setpeer(self.strengthAttr5.fx, nil)
  912. end
  913. if tolua.getpeer(self.strengthAttr5.arrow) ~= nil then
  914. tolua.setpeer(self.strengthAttr5.arrow, nil)
  915. end
  916. if tolua.getpeer(self.strengthAttr5.number2) ~= nil then
  917. tolua.setpeer(self.strengthAttr5.number2, nil)
  918. end
  919. if tolua.getpeer(self.strengthAttr5.number) ~= nil then
  920. tolua.setpeer(self.strengthAttr5.number, nil)
  921. end
  922. if tolua.getpeer(self.strengthAttr5.text) ~= nil then
  923. tolua.setpeer(self.strengthAttr5.text, nil)
  924. end
  925. if tolua.getpeer(self.strengthAttr4.fx) ~= nil then
  926. tolua.setpeer(self.strengthAttr4.fx, nil)
  927. end
  928. if tolua.getpeer(self.strengthAttr4.arrow) ~= nil then
  929. tolua.setpeer(self.strengthAttr4.arrow, nil)
  930. end
  931. if tolua.getpeer(self.strengthAttr4.number2) ~= nil then
  932. tolua.setpeer(self.strengthAttr4.number2, nil)
  933. end
  934. if tolua.getpeer(self.strengthAttr4.number) ~= nil then
  935. tolua.setpeer(self.strengthAttr4.number, nil)
  936. end
  937. if tolua.getpeer(self.strengthAttr4.text) ~= nil then
  938. tolua.setpeer(self.strengthAttr4.text, nil)
  939. end
  940. if tolua.getpeer(self.strengthAttr3.fx) ~= nil then
  941. tolua.setpeer(self.strengthAttr3.fx, nil)
  942. end
  943. if tolua.getpeer(self.strengthAttr3.arrow) ~= nil then
  944. tolua.setpeer(self.strengthAttr3.arrow, nil)
  945. end
  946. if tolua.getpeer(self.strengthAttr3.number2) ~= nil then
  947. tolua.setpeer(self.strengthAttr3.number2, nil)
  948. end
  949. if tolua.getpeer(self.strengthAttr3.number) ~= nil then
  950. tolua.setpeer(self.strengthAttr3.number, nil)
  951. end
  952. if tolua.getpeer(self.strengthAttr3.text) ~= nil then
  953. tolua.setpeer(self.strengthAttr3.text, nil)
  954. end
  955. if tolua.getpeer(self.strengthAttr2.fx) ~= nil then
  956. tolua.setpeer(self.strengthAttr2.fx, nil)
  957. end
  958. if tolua.getpeer(self.strengthAttr2.arrow) ~= nil then
  959. tolua.setpeer(self.strengthAttr2.arrow, nil)
  960. end
  961. if tolua.getpeer(self.strengthAttr2.number2) ~= nil then
  962. tolua.setpeer(self.strengthAttr2.number2, nil)
  963. end
  964. if tolua.getpeer(self.strengthAttr2.number) ~= nil then
  965. tolua.setpeer(self.strengthAttr2.number, nil)
  966. end
  967. if tolua.getpeer(self.strengthAttr2.text) ~= nil then
  968. tolua.setpeer(self.strengthAttr2.text, nil)
  969. end
  970. if tolua.getpeer(self.strengthAttr1.fx) ~= nil then
  971. tolua.setpeer(self.strengthAttr1.fx, nil)
  972. end
  973. if tolua.getpeer(self.strengthAttr1.arrow) ~= nil then
  974. tolua.setpeer(self.strengthAttr1.arrow, nil)
  975. end
  976. if tolua.getpeer(self.strengthAttr1.number2) ~= nil then
  977. tolua.setpeer(self.strengthAttr1.number2, nil)
  978. end
  979. if tolua.getpeer(self.strengthAttr1.number) ~= nil then
  980. tolua.setpeer(self.strengthAttr1.number, nil)
  981. end
  982. if tolua.getpeer(self.strengthAttr1.text) ~= nil then
  983. tolua.setpeer(self.strengthAttr1.text, nil)
  984. end
  985. if tolua.getpeer(self.uIAnimator) ~= nil then
  986. tolua.setpeer(self.uIAnimator, nil)
  987. end
  988. self.uIAnimator = nil
  989. if tolua.getpeer(self.AnyBtn) ~= nil then
  990. tolua.setpeer(self.AnyBtn, nil)
  991. end
  992. self.AnyBtn = nil
  993. if tolua.getpeer(self.window) ~= nil then
  994. tolua.setpeer(self.window, nil)
  995. end
  996. self.window = nil
  997. if tolua.getpeer(self.bg) ~= nil then
  998. tolua.setpeer(self.bg, nil)
  999. end
  1000. self.bg = nil
  1001. if tolua.getpeer(self.closeBox) ~= nil then
  1002. tolua.setpeer(self.closeBox, nil)
  1003. end
  1004. self.closeBox = nil
  1005. if tolua.getpeer(self.btnClose) ~= nil then
  1006. tolua.setpeer(self.btnClose, nil)
  1007. end
  1008. self.btnClose = nil
  1009. if tolua.getpeer(self.strengthAttr1) ~= nil then
  1010. tolua.setpeer(self.strengthAttr1, nil)
  1011. end
  1012. self.strengthAttr1 = nil
  1013. if tolua.getpeer(self.strengthAttr2) ~= nil then
  1014. tolua.setpeer(self.strengthAttr2, nil)
  1015. end
  1016. self.strengthAttr2 = nil
  1017. if tolua.getpeer(self.strengthAttr3) ~= nil then
  1018. tolua.setpeer(self.strengthAttr3, nil)
  1019. end
  1020. self.strengthAttr3 = nil
  1021. if tolua.getpeer(self.strengthAttr4) ~= nil then
  1022. tolua.setpeer(self.strengthAttr4, nil)
  1023. end
  1024. self.strengthAttr4 = nil
  1025. if tolua.getpeer(self.strengthAttr5) ~= nil then
  1026. tolua.setpeer(self.strengthAttr5, nil)
  1027. end
  1028. self.strengthAttr5 = nil
  1029. if tolua.getpeer(self.strengthAttr6) ~= nil then
  1030. tolua.setpeer(self.strengthAttr6, nil)
  1031. end
  1032. self.strengthAttr6 = nil
  1033. if tolua.getpeer(self.fx) ~= nil then
  1034. tolua.setpeer(self.fx, nil)
  1035. end
  1036. self.fx = nil
  1037. if tolua.getpeer(self.labelBox) ~= nil then
  1038. tolua.setpeer(self.labelBox, nil)
  1039. end
  1040. self.labelBox = nil
  1041. if tolua.getpeer(self.btnBox) ~= nil then
  1042. tolua.setpeer(self.btnBox, nil)
  1043. end
  1044. self.btnBox = nil
  1045. if tolua.getpeer(self.boxCost) ~= nil then
  1046. tolua.setpeer(self.boxCost, nil)
  1047. end
  1048. self.boxCost = nil
  1049. if self.cost1.GenerateDestroy ~= nil then
  1050. self.cost1:GenerateDestroy()
  1051. end
  1052. if tolua.getpeer(self.cost1) ~= nil then
  1053. tolua.setpeer(self.cost1, nil)
  1054. end
  1055. self.cost1 = nil
  1056. if self.cost2.GenerateDestroy ~= nil then
  1057. self.cost2:GenerateDestroy()
  1058. end
  1059. if tolua.getpeer(self.cost2) ~= nil then
  1060. tolua.setpeer(self.cost2, nil)
  1061. end
  1062. self.cost2 = nil
  1063. if tolua.getpeer(self.btnStrength) ~= nil then
  1064. tolua.setpeer(self.btnStrength, nil)
  1065. end
  1066. self.btnStrength = nil
  1067. if tolua.getpeer(self.max) ~= nil then
  1068. tolua.setpeer(self.max, nil)
  1069. end
  1070. self.max = nil
  1071. if tolua.getpeer(self.strengthSuccess) ~= nil then
  1072. tolua.setpeer(self.strengthSuccess, nil)
  1073. end
  1074. self.strengthSuccess = nil
  1075. if self.headItem.GenerateDestroy ~= nil then
  1076. self.headItem:GenerateDestroy()
  1077. end
  1078. if tolua.getpeer(self.headItem) ~= nil then
  1079. tolua.setpeer(self.headItem, nil)
  1080. end
  1081. self.headItem = nil
  1082. if tolua.getpeer(self.particle) ~= nil then
  1083. tolua.setpeer(self.particle, nil)
  1084. end
  1085. self.particle = nil
  1086. self.transform = nil
  1087. self.gameObject = nil
  1088. self.inited = false
  1089. end
  1090. return UIRoleStrengthView