UIRecruitTips_Generate.lua 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588
  1. ---@class UIRecruitTips__Generate_btnUnbind
  2. ---@field public gameObject UnityEngine.GameObject
  3. ---@field public button UnityEngine.UI.Button
  4. ---@class UIRecruitTips__Generate_btnBind
  5. ---@field public gameObject UnityEngine.GameObject
  6. ---@field public button UnityEngine.UI.Button
  7. ---@class UIRecruitTips__Generate_btnCancleText
  8. ---@field public gameObject UnityEngine.GameObject
  9. ---@field public uILocalizeScript UILocalizeScript
  10. ---@class UIRecruitTips__Generate_btnCancle
  11. ---@field public gameObject UnityEngine.GameObject
  12. ---@field public button UnityEngine.UI.Button
  13. ---@class UIRecruitTips__Generate_questionTxt
  14. ---@field public gameObject UnityEngine.GameObject
  15. ---@field public uILocalizeScript UILocalizeScript
  16. ---@class UIRecruitTips__Generate_dscBox_timeBox_time
  17. ---@field public gameObject UnityEngine.GameObject
  18. ---@field public text UnityEngine.UI.Text
  19. ---@class UIRecruitTips__Generate_statusImg
  20. ---@field public gameObject UnityEngine.GameObject
  21. ---@field public image UnityEngine.UI.Image
  22. ---@class UIRecruitTips__Generate_dscBox_timeBox
  23. ---@field public gameObject UnityEngine.GameObject
  24. ---@field public time UIRecruitTips__Generate_dscBox_timeBox_time
  25. ---@class UIRecruitTips__Generate_dscBox_recruitValueBg_recruitValueNum
  26. ---@field public gameObject UnityEngine.GameObject
  27. ---@field public text UnityEngine.UI.Text
  28. ---@class UIRecruitTips__Generate_dscBox_recruitValueBg
  29. ---@field public gameObject UnityEngine.GameObject
  30. ---@field public recruitValueNum UIRecruitTips__Generate_dscBox_recruitValueBg_recruitValueNum
  31. ---@class UIRecruitTips__Generate_dscBox_fightPBox_fighterPower
  32. ---@field public gameObject UnityEngine.GameObject
  33. ---@field public text UnityEngine.UI.Text
  34. ---@class UIRecruitTips__Generate_dscBox_fightPBox
  35. ---@field public gameObject UnityEngine.GameObject
  36. ---@field public fighterPower UIRecruitTips__Generate_dscBox_fightPBox_fighterPower
  37. ---@class UIRecruitTips__Generate_dscBox_nickname
  38. ---@field public gameObject UnityEngine.GameObject
  39. ---@field public text UnityEngine.UI.Text
  40. ---@class UIRecruitTips__Generate_dscBox_headItem
  41. ---@field public gameObject UnityEngine.GameObject
  42. ---@field public layoutElement UnityEngine.UI.LayoutElement
  43. ---@class UIRecruitTips__Generate_dscBox
  44. ---@field public gameObject UnityEngine.GameObject
  45. ---@field public head UnityEngine.GameObject
  46. ---@field public headItem UIRecruitTips__Generate_dscBox_headItem
  47. ---@field public info UnityEngine.GameObject
  48. ---@field public nickname UIRecruitTips__Generate_dscBox_nickname
  49. ---@field public fightPBox UIRecruitTips__Generate_dscBox_fightPBox
  50. ---@field public recruitValueBg UIRecruitTips__Generate_dscBox_recruitValueBg
  51. ---@field public timeBox UIRecruitTips__Generate_dscBox_timeBox
  52. ---@class UIRecruitTips__Generate_noticeTitle
  53. ---@field public gameObject UnityEngine.GameObject
  54. ---@field public uILocalizeScript UILocalizeScript
  55. ---@class UIRecruitTips__Generate_btnClose
  56. ---@field public gameObject UnityEngine.GameObject
  57. ---@field public button UnityEngine.UI.Button
  58. ---@class UIRecruitTips__Generate_AnyBtn
  59. ---@field public gameObject UnityEngine.GameObject
  60. ---@field public button UnityEngine.UI.Button
  61. ---@class UIRecruitTips__Generate_uIAnimator
  62. ---@field public gameObject UnityEngine.GameObject
  63. ---@field public animator UnityEngine.Animator
  64. ---@class UIRecruitTips__Generate
  65. ---@field private gameObject UnityEngine.GameObject
  66. ---@field private transform UnityEngine.Transform
  67. ---@field private rectTransform UnityEngine.RectTransform
  68. ---@field private uIAnimator UIRecruitTips__Generate_uIAnimator
  69. ---@field private AnyBtn UIRecruitTips__Generate_AnyBtn
  70. ---@field private window UnityEngine.GameObject
  71. ---@field private btnClose UIRecruitTips__Generate_btnClose
  72. ---@field private noticeTitle UIRecruitTips__Generate_noticeTitle
  73. ---@field private dscBox UIRecruitTips__Generate_dscBox
  74. ---@field private statusImg UIRecruitTips__Generate_statusImg
  75. ---@field private btnBox UnityEngine.GameObject
  76. ---@field private title UnityEngine.GameObject
  77. ---@field private questionTxt UIRecruitTips__Generate_questionTxt
  78. ---@field private box UnityEngine.GameObject
  79. ---@field private btnCancle UIRecruitTips__Generate_btnCancle
  80. ---@field private btnCancleText UIRecruitTips__Generate_btnCancleText
  81. ---@field private btnBind UIRecruitTips__Generate_btnBind
  82. ---@field private btnUnbind UIRecruitTips__Generate_btnUnbind
  83. local UIRecruitTipsView = class("UIRecruitTipsView")
  84. function UIRecruitTipsView:ctor()
  85. end
  86. ---@private
  87. function UIRecruitTipsView:SetActive(result)
  88. self.gameObject:SetActive(result)
  89. end
  90. ---@private
  91. function UIRecruitTipsView:InitGenerate(Root, data)
  92. self.transform = Root
  93. self.inited = true
  94. local tmp
  95. self:InitGenerate__1(Root,data)
  96. self:InitGenerate__2(Root,data)
  97. self:InitGenerate__3(Root,data)
  98. self:InitGenerate__4(Root,data)
  99. self:InitGenerate__5(Root,data)
  100. self:InitGenerate__6(Root,data)
  101. self:InitGenerate__7(Root,data)
  102. self:InitGenerate__8(Root,data)
  103. self:InitGenerate__9(Root,data)
  104. self:InitGenerate__10(Root,data)
  105. self:InitGenerate__11(Root,data)
  106. self:InitGenerate__12(Root,data)
  107. self:InitGenerate__13(Root,data)
  108. self:InitGenerate__14(Root,data)
  109. self:InitGenerate__15(Root,data)
  110. self:InitGenerate__16(Root,data)
  111. self:InitGenerate__17(Root,data)
  112. self:InitGenerate__18(Root,data)
  113. self:InitGenerate__19(Root,data)
  114. self:InitGenerate__20(Root,data)
  115. self:InitGenerate__21(Root,data)
  116. self:InitGenerate__22(Root,data)
  117. self:InitGenerate__23(Root,data)
  118. self:InitGenerate__24(Root,data)
  119. self:InitGenerate__25(Root,data)
  120. self:InitGenerate__26(Root,data)
  121. end
  122. ---@private
  123. function UIRecruitTipsView:InitGenerate__1(Root, data)
  124. --[[
  125. Root
  126. --]]
  127. self.rectTransform = Root:GetComponent(Enum.TypeInfo.RectTransform)
  128. end
  129. ---@private
  130. function UIRecruitTipsView:InitGenerate__2(Root, data)
  131. --[[
  132. UIAnimator
  133. --]]
  134. local tmp = Root:Find("UIAnimator").gameObject
  135. if tolua.getpeer(tmp) == nil then
  136. tolua.setpeer(tmp, {})
  137. end
  138. self.uIAnimator = tmp
  139. tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
  140. tmp.animator.logWarnings = false
  141. end
  142. ---@private
  143. function UIRecruitTipsView:InitGenerate__3(Root, data)
  144. --[[
  145. UIAnimator/Alpha
  146. --]]
  147. local tmp = Root:Find("UIAnimator/Alpha").gameObject
  148. if tolua.getpeer(tmp) == nil then
  149. tolua.setpeer(tmp, {})
  150. end
  151. self.AnyBtn = tmp
  152. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  153. end
  154. ---@private
  155. function UIRecruitTipsView:InitGenerate__4(Root, data)
  156. --[[
  157. UIAnimator/Window
  158. --]]
  159. local tmp = Root:Find("UIAnimator/Window").gameObject
  160. if tolua.getpeer(tmp) == nil then
  161. tolua.setpeer(tmp, {})
  162. end
  163. self.window = tmp
  164. end
  165. ---@private
  166. function UIRecruitTipsView:InitGenerate__5(Root, data)
  167. --[[
  168. UIAnimator/Window/BtnClose
  169. --]]
  170. local tmp = Root:Find("UIAnimator/Window/BtnClose").gameObject
  171. if tolua.getpeer(tmp) == nil then
  172. tolua.setpeer(tmp, {})
  173. end
  174. self.btnClose = tmp
  175. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  176. end
  177. ---@private
  178. function UIRecruitTipsView:InitGenerate__6(Root, data)
  179. --[[
  180. UIAnimator/Window/NoticeTitle
  181. --]]
  182. local tmp = Root:Find("UIAnimator/Window/NoticeTitle").gameObject
  183. if tolua.getpeer(tmp) == nil then
  184. tolua.setpeer(tmp, {})
  185. end
  186. self.noticeTitle = tmp
  187. tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
  188. end
  189. ---@private
  190. function UIRecruitTipsView:InitGenerate__7(Root, data)
  191. --[[
  192. UIAnimator/Window/DscBox
  193. --]]
  194. local tmp = Root:Find("UIAnimator/Window/DscBox").gameObject
  195. if tolua.getpeer(tmp) == nil then
  196. tolua.setpeer(tmp, {})
  197. end
  198. self.dscBox = tmp
  199. end
  200. ---@private
  201. function UIRecruitTipsView:InitGenerate__8(Root, data)
  202. --[[
  203. UIAnimator/Window/DscBox/Head
  204. --]]
  205. local tmp = Root:Find("UIAnimator/Window/DscBox/Head").gameObject
  206. if tolua.getpeer(tmp) == nil then
  207. tolua.setpeer(tmp, {})
  208. end
  209. self.dscBox.head = tmp
  210. end
  211. ---@private
  212. function UIRecruitTipsView:InitGenerate__9(Root, data)
  213. --[[
  214. UIAnimator/Window/DscBox/Head/HeadItem
  215. --]]
  216. local tmp = Root:Find("UIAnimator/Window/DscBox/Head/HeadItem").gameObject
  217. if tolua.getpeer(tmp) == nil then
  218. tolua.setpeer(tmp, {})
  219. end
  220. self.dscBox.headItem = CommonUtil.BindGridViewItem2LuaStatic("HeadItem", tmp)
  221. self.dscBox.headItem.prefabName = "HeadItem"
  222. tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement)
  223. end
  224. ---@private
  225. function UIRecruitTipsView:InitGenerate__10(Root, data)
  226. --[[
  227. UIAnimator/Window/DscBox/Info
  228. --]]
  229. local tmp = Root:Find("UIAnimator/Window/DscBox/Info").gameObject
  230. if tolua.getpeer(tmp) == nil then
  231. tolua.setpeer(tmp, {})
  232. end
  233. self.dscBox.info = tmp
  234. end
  235. ---@private
  236. function UIRecruitTipsView:InitGenerate__11(Root, data)
  237. --[[
  238. UIAnimator/Window/DscBox/Info/Nickname
  239. --]]
  240. local tmp = Root:Find("UIAnimator/Window/DscBox/Info/Nickname").gameObject
  241. if tolua.getpeer(tmp) == nil then
  242. tolua.setpeer(tmp, {})
  243. end
  244. self.dscBox.nickname = tmp
  245. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  246. end
  247. ---@private
  248. function UIRecruitTipsView:InitGenerate__12(Root, data)
  249. --[[
  250. UIAnimator/Window/DscBox/Info/FightPBox
  251. --]]
  252. local tmp = Root:Find("UIAnimator/Window/DscBox/Info/FightPBox").gameObject
  253. if tolua.getpeer(tmp) == nil then
  254. tolua.setpeer(tmp, {})
  255. end
  256. self.dscBox.fightPBox = tmp
  257. end
  258. ---@private
  259. function UIRecruitTipsView:InitGenerate__13(Root, data)
  260. --[[
  261. UIAnimator/Window/DscBox/Info/FightPBox/FighterPower
  262. --]]
  263. local tmp = Root:Find("UIAnimator/Window/DscBox/Info/FightPBox/FighterPower").gameObject
  264. if tolua.getpeer(tmp) == nil then
  265. tolua.setpeer(tmp, {})
  266. end
  267. self.dscBox.fightPBox.fighterPower = tmp
  268. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  269. end
  270. ---@private
  271. function UIRecruitTipsView:InitGenerate__14(Root, data)
  272. --[[
  273. UIAnimator/Window/DscBox/Info/RecruitValueBg
  274. --]]
  275. local tmp = Root:Find("UIAnimator/Window/DscBox/Info/RecruitValueBg").gameObject
  276. if tolua.getpeer(tmp) == nil then
  277. tolua.setpeer(tmp, {})
  278. end
  279. self.dscBox.recruitValueBg = tmp
  280. end
  281. ---@private
  282. function UIRecruitTipsView:InitGenerate__15(Root, data)
  283. --[[
  284. UIAnimator/Window/DscBox/Info/RecruitValueBg/RecruitValueNum
  285. --]]
  286. local tmp = Root:Find("UIAnimator/Window/DscBox/Info/RecruitValueBg/RecruitValueNum").gameObject
  287. if tolua.getpeer(tmp) == nil then
  288. tolua.setpeer(tmp, {})
  289. end
  290. self.dscBox.recruitValueBg.recruitValueNum = tmp
  291. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  292. end
  293. ---@private
  294. function UIRecruitTipsView:InitGenerate__16(Root, data)
  295. --[[
  296. UIAnimator/Window/DscBox/Info/TimeBox
  297. --]]
  298. local tmp = Root:Find("UIAnimator/Window/DscBox/Info/TimeBox").gameObject
  299. if tolua.getpeer(tmp) == nil then
  300. tolua.setpeer(tmp, {})
  301. end
  302. self.dscBox.timeBox = tmp
  303. end
  304. ---@private
  305. function UIRecruitTipsView:InitGenerate__17(Root, data)
  306. --[[
  307. UIAnimator/Window/DscBox/Info/TimeBox/StatusImg
  308. --]]
  309. local tmp = Root:Find("UIAnimator/Window/DscBox/Info/TimeBox/StatusImg").gameObject
  310. if tolua.getpeer(tmp) == nil then
  311. tolua.setpeer(tmp, {})
  312. end
  313. self.statusImg = tmp
  314. tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
  315. end
  316. ---@private
  317. function UIRecruitTipsView:InitGenerate__18(Root, data)
  318. --[[
  319. UIAnimator/Window/DscBox/Info/TimeBox/Time
  320. --]]
  321. local tmp = Root:Find("UIAnimator/Window/DscBox/Info/TimeBox/Time").gameObject
  322. if tolua.getpeer(tmp) == nil then
  323. tolua.setpeer(tmp, {})
  324. end
  325. self.dscBox.timeBox.time = tmp
  326. tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
  327. end
  328. ---@private
  329. function UIRecruitTipsView:InitGenerate__19(Root, data)
  330. --[[
  331. UIAnimator/Window/BtnBox
  332. --]]
  333. local tmp = Root:Find("UIAnimator/Window/BtnBox").gameObject
  334. if tolua.getpeer(tmp) == nil then
  335. tolua.setpeer(tmp, {})
  336. end
  337. self.btnBox = tmp
  338. end
  339. ---@private
  340. function UIRecruitTipsView:InitGenerate__20(Root, data)
  341. --[[
  342. UIAnimator/Window/BtnBox/Title
  343. --]]
  344. local tmp = Root:Find("UIAnimator/Window/BtnBox/Title").gameObject
  345. if tolua.getpeer(tmp) == nil then
  346. tolua.setpeer(tmp, {})
  347. end
  348. self.title = tmp
  349. end
  350. ---@private
  351. function UIRecruitTipsView:InitGenerate__21(Root, data)
  352. --[[
  353. UIAnimator/Window/BtnBox/Title/QuestionTxt
  354. --]]
  355. local tmp = Root:Find("UIAnimator/Window/BtnBox/Title/QuestionTxt").gameObject
  356. if tolua.getpeer(tmp) == nil then
  357. tolua.setpeer(tmp, {})
  358. end
  359. self.questionTxt = tmp
  360. tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
  361. end
  362. ---@private
  363. function UIRecruitTipsView:InitGenerate__22(Root, data)
  364. --[[
  365. UIAnimator/Window/BtnBox/Box
  366. --]]
  367. local tmp = Root:Find("UIAnimator/Window/BtnBox/Box").gameObject
  368. if tolua.getpeer(tmp) == nil then
  369. tolua.setpeer(tmp, {})
  370. end
  371. self.box = tmp
  372. end
  373. ---@private
  374. function UIRecruitTipsView:InitGenerate__23(Root, data)
  375. --[[
  376. UIAnimator/Window/BtnBox/Box/BtnCancle
  377. --]]
  378. local tmp = Root:Find("UIAnimator/Window/BtnBox/Box/BtnCancle").gameObject
  379. if tolua.getpeer(tmp) == nil then
  380. tolua.setpeer(tmp, {})
  381. end
  382. self.btnCancle = tmp
  383. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  384. end
  385. ---@private
  386. function UIRecruitTipsView:InitGenerate__24(Root, data)
  387. --[[
  388. UIAnimator/Window/BtnBox/Box/BtnCancle/Text
  389. --]]
  390. local tmp = Root:Find("UIAnimator/Window/BtnBox/Box/BtnCancle/Text").gameObject
  391. if tolua.getpeer(tmp) == nil then
  392. tolua.setpeer(tmp, {})
  393. end
  394. self.btnCancleText = tmp
  395. tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
  396. end
  397. ---@private
  398. function UIRecruitTipsView:InitGenerate__25(Root, data)
  399. --[[
  400. UIAnimator/Window/BtnBox/Box/BtnBind
  401. --]]
  402. local tmp = Root:Find("UIAnimator/Window/BtnBox/Box/BtnBind").gameObject
  403. if tolua.getpeer(tmp) == nil then
  404. tolua.setpeer(tmp, {})
  405. end
  406. self.btnBind = tmp
  407. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  408. end
  409. ---@private
  410. function UIRecruitTipsView:InitGenerate__26(Root, data)
  411. --[[
  412. UIAnimator/Window/BtnBox/Box/BtnUnbind
  413. --]]
  414. local tmp = Root:Find("UIAnimator/Window/BtnBox/Box/BtnUnbind").gameObject
  415. if tolua.getpeer(tmp) == nil then
  416. tolua.setpeer(tmp, {})
  417. end
  418. self.btnUnbind = tmp
  419. tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
  420. end
  421. ---@private
  422. function UIRecruitTipsView:GenerateDestroy()
  423. if tolua.getpeer(self.dscBox.timeBox.time) ~= nil then
  424. tolua.setpeer(self.dscBox.timeBox.time, nil)
  425. end
  426. if tolua.getpeer(self.dscBox.timeBox) ~= nil then
  427. tolua.setpeer(self.dscBox.timeBox, nil)
  428. end
  429. if tolua.getpeer(self.dscBox.recruitValueBg.recruitValueNum) ~= nil then
  430. tolua.setpeer(self.dscBox.recruitValueBg.recruitValueNum, nil)
  431. end
  432. if tolua.getpeer(self.dscBox.recruitValueBg) ~= nil then
  433. tolua.setpeer(self.dscBox.recruitValueBg, nil)
  434. end
  435. if tolua.getpeer(self.dscBox.fightPBox.fighterPower) ~= nil then
  436. tolua.setpeer(self.dscBox.fightPBox.fighterPower, nil)
  437. end
  438. if tolua.getpeer(self.dscBox.fightPBox) ~= nil then
  439. tolua.setpeer(self.dscBox.fightPBox, nil)
  440. end
  441. if tolua.getpeer(self.dscBox.nickname) ~= nil then
  442. tolua.setpeer(self.dscBox.nickname, nil)
  443. end
  444. if tolua.getpeer(self.dscBox.info) ~= nil then
  445. tolua.setpeer(self.dscBox.info, nil)
  446. end
  447. if self.dscBox.headItem.GenerateDestroy ~= nil then
  448. self.dscBox.headItem:GenerateDestroy()
  449. end
  450. if tolua.getpeer(self.dscBox.headItem) ~= nil then
  451. tolua.setpeer(self.dscBox.headItem, nil)
  452. end
  453. if tolua.getpeer(self.dscBox.head) ~= nil then
  454. tolua.setpeer(self.dscBox.head, nil)
  455. end
  456. if tolua.getpeer(self.uIAnimator) ~= nil then
  457. tolua.setpeer(self.uIAnimator, nil)
  458. end
  459. self.uIAnimator = nil
  460. if tolua.getpeer(self.AnyBtn) ~= nil then
  461. tolua.setpeer(self.AnyBtn, nil)
  462. end
  463. self.AnyBtn = nil
  464. if tolua.getpeer(self.window) ~= nil then
  465. tolua.setpeer(self.window, nil)
  466. end
  467. self.window = nil
  468. if tolua.getpeer(self.btnClose) ~= nil then
  469. tolua.setpeer(self.btnClose, nil)
  470. end
  471. self.btnClose = nil
  472. if tolua.getpeer(self.noticeTitle) ~= nil then
  473. tolua.setpeer(self.noticeTitle, nil)
  474. end
  475. self.noticeTitle = nil
  476. if tolua.getpeer(self.dscBox) ~= nil then
  477. tolua.setpeer(self.dscBox, nil)
  478. end
  479. self.dscBox = nil
  480. if tolua.getpeer(self.statusImg) ~= nil then
  481. tolua.setpeer(self.statusImg, nil)
  482. end
  483. self.statusImg = nil
  484. if tolua.getpeer(self.btnBox) ~= nil then
  485. tolua.setpeer(self.btnBox, nil)
  486. end
  487. self.btnBox = nil
  488. if tolua.getpeer(self.title) ~= nil then
  489. tolua.setpeer(self.title, nil)
  490. end
  491. self.title = nil
  492. if tolua.getpeer(self.questionTxt) ~= nil then
  493. tolua.setpeer(self.questionTxt, nil)
  494. end
  495. self.questionTxt = nil
  496. if tolua.getpeer(self.box) ~= nil then
  497. tolua.setpeer(self.box, nil)
  498. end
  499. self.box = nil
  500. if tolua.getpeer(self.btnCancle) ~= nil then
  501. tolua.setpeer(self.btnCancle, nil)
  502. end
  503. self.btnCancle = nil
  504. if tolua.getpeer(self.btnCancleText) ~= nil then
  505. tolua.setpeer(self.btnCancleText, nil)
  506. end
  507. self.btnCancleText = nil
  508. if tolua.getpeer(self.btnBind) ~= nil then
  509. tolua.setpeer(self.btnBind, nil)
  510. end
  511. self.btnBind = nil
  512. if tolua.getpeer(self.btnUnbind) ~= nil then
  513. tolua.setpeer(self.btnUnbind, nil)
  514. end
  515. self.btnUnbind = nil
  516. self.transform = nil
  517. self.gameObject = nil
  518. self.inited = false
  519. end
  520. return UIRecruitTipsView