| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528 |
- ---@class UIVoyageRobbery__Generate_btnAdd
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIVoyageRobbery__Generate_robNum
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIVoyageRobbery__Generate_btnChallenge
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIVoyageRobbery__Generate_btnCancleText
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uILocalizeScript UILocalizeScript
- ---@class UIVoyageRobbery__Generate_btnCancle
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIVoyageRobbery__Generate_timerTxt
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIVoyageRobbery__Generate_currency3_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIVoyageRobbery__Generate_currency3_icon
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UIVoyageRobbery__Generate_currency3
- ---@field public gameObject UnityEngine.GameObject
- ---@field public icon UIVoyageRobbery__Generate_currency3_icon
- ---@field public text UIVoyageRobbery__Generate_currency3_text
- ---@class UIVoyageRobbery__Generate_currency2_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIVoyageRobbery__Generate_currency2_icon
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UIVoyageRobbery__Generate_currency2
- ---@field public gameObject UnityEngine.GameObject
- ---@field public icon UIVoyageRobbery__Generate_currency2_icon
- ---@field public text UIVoyageRobbery__Generate_currency2_text
- ---@class UIVoyageRobbery__Generate_currency1_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIVoyageRobbery__Generate_currency1_icon
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UIVoyageRobbery__Generate_currency1
- ---@field public gameObject UnityEngine.GameObject
- ---@field public icon UIVoyageRobbery__Generate_currency1_icon
- ---@field public text UIVoyageRobbery__Generate_currency1_text
- ---@class UIVoyageRobbery__Generate_nameTxt
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIVoyageRobbery__Generate_beRobNum
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIVoyageRobbery__Generate_btnClose
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIVoyageRobbery__Generate_AnyBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIVoyageRobbery__Generate
- ---@field private gameObject UnityEngine.GameObject
- ---@field private transform UnityEngine.Transform
- ---@field private AnyBtn UIVoyageRobbery__Generate_AnyBtn
- ---@field private btnClose UIVoyageRobbery__Generate_btnClose
- ---@field private beRobNum UIVoyageRobbery__Generate_beRobNum
- ---@field private nameSp UnityEngine.GameObject
- ---@field private nameTxt UIVoyageRobbery__Generate_nameTxt
- ---@field private currency1 UIVoyageRobbery__Generate_currency1
- ---@field private currency2 UIVoyageRobbery__Generate_currency2
- ---@field private currency3 UIVoyageRobbery__Generate_currency3
- ---@field private timer UnityEngine.GameObject
- ---@field private timerTxt UIVoyageRobbery__Generate_timerTxt
- ---@field private box UnityEngine.GameObject
- ---@field private btnCancle UIVoyageRobbery__Generate_btnCancle
- ---@field private btnCancleText UIVoyageRobbery__Generate_btnCancleText
- ---@field private btnChallenge UIVoyageRobbery__Generate_btnChallenge
- ---@field private robNum UIVoyageRobbery__Generate_robNum
- ---@field private btnAdd UIVoyageRobbery__Generate_btnAdd
- local UIVoyageRobberyView = class("UIVoyageRobberyView", require("UIViewBase"))
- function UIVoyageRobberyView:ctor()
- end
- ---@private
- function UIVoyageRobberyView:SetActive(result)
- self.gameObject:SetActive(result)
- end
- ---@private
- function UIVoyageRobberyView:InitGenerate(Root, data)
- self.transform = Root
- self.inited = true
- if self.super.Init then
- self.super.Init(self)
- end
- local tmp
- self:InitGenerate__1(Root,data)
- self:InitGenerate__2(Root,data)
- self:InitGenerate__3(Root,data)
- self:InitGenerate__4(Root,data)
- self:InitGenerate__5(Root,data)
- self:InitGenerate__6(Root,data)
- self:InitGenerate__7(Root,data)
- self:InitGenerate__8(Root,data)
- self:InitGenerate__9(Root,data)
- self:InitGenerate__10(Root,data)
- self:InitGenerate__11(Root,data)
- self:InitGenerate__12(Root,data)
- self:InitGenerate__13(Root,data)
- self:InitGenerate__14(Root,data)
- self:InitGenerate__15(Root,data)
- self:InitGenerate__16(Root,data)
- self:InitGenerate__17(Root,data)
- self:InitGenerate__18(Root,data)
- self:InitGenerate__19(Root,data)
- self:InitGenerate__20(Root,data)
- self:InitGenerate__21(Root,data)
- self:InitGenerate__22(Root,data)
- end
- ---@private
- function UIVoyageRobberyView:InitGenerate__1(Root, data)
- --[[
- UIAnimator/Alpha
- --]]
- local tmp = Root:Find("UIAnimator/Alpha").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.AnyBtn = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIVoyageRobberyView:InitGenerate__2(Root, data)
- --[[
- UIAnimator/Window/BG/BtnClose
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/BtnClose").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnClose = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIVoyageRobberyView:InitGenerate__3(Root, data)
- --[[
- UIAnimator/Window/BG/Content/Tips/BeRobNum
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Content/Tips/BeRobNum").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.beRobNum = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIVoyageRobberyView:InitGenerate__4(Root, data)
- --[[
- UIAnimator/Window/BG/Content/ShipHolder/NameSp
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Content/ShipHolder/NameSp").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.nameSp = tmp
- end
- ---@private
- function UIVoyageRobberyView:InitGenerate__5(Root, data)
- --[[
- UIAnimator/Window/BG/Content/ShipHolder/NameSp/NameTxt
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Content/ShipHolder/NameSp/NameTxt").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.nameTxt = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIVoyageRobberyView:InitGenerate__6(Root, data)
- --[[
- UIAnimator/Window/BG/Content/Profit/Currency1
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Content/Profit/Currency1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.currency1 = tmp
- end
- ---@private
- function UIVoyageRobberyView:InitGenerate__7(Root, data)
- --[[
- UIAnimator/Window/BG/Content/Profit/Currency1/Icon
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Content/Profit/Currency1/Icon").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.currency1.icon = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UIVoyageRobberyView:InitGenerate__8(Root, data)
- --[[
- UIAnimator/Window/BG/Content/Profit/Currency1/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Content/Profit/Currency1/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.currency1.text = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIVoyageRobberyView:InitGenerate__9(Root, data)
- --[[
- UIAnimator/Window/BG/Content/Profit/Currency2
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Content/Profit/Currency2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.currency2 = tmp
- end
- ---@private
- function UIVoyageRobberyView:InitGenerate__10(Root, data)
- --[[
- UIAnimator/Window/BG/Content/Profit/Currency2/Icon
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Content/Profit/Currency2/Icon").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.currency2.icon = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UIVoyageRobberyView:InitGenerate__11(Root, data)
- --[[
- UIAnimator/Window/BG/Content/Profit/Currency2/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Content/Profit/Currency2/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.currency2.text = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIVoyageRobberyView:InitGenerate__12(Root, data)
- --[[
- UIAnimator/Window/BG/Content/Profit/Currency3
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Content/Profit/Currency3").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.currency3 = tmp
- end
- ---@private
- function UIVoyageRobberyView:InitGenerate__13(Root, data)
- --[[
- UIAnimator/Window/BG/Content/Profit/Currency3/Icon
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Content/Profit/Currency3/Icon").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.currency3.icon = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UIVoyageRobberyView:InitGenerate__14(Root, data)
- --[[
- UIAnimator/Window/BG/Content/Profit/Currency3/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Content/Profit/Currency3/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.currency3.text = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIVoyageRobberyView:InitGenerate__15(Root, data)
- --[[
- UIAnimator/Window/BG/Content/Timer
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Content/Timer").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.timer = tmp
- end
- ---@private
- function UIVoyageRobberyView:InitGenerate__16(Root, data)
- --[[
- UIAnimator/Window/BG/Content/Timer/TimerTxt
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Content/Timer/TimerTxt").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.timerTxt = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIVoyageRobberyView:InitGenerate__17(Root, data)
- --[[
- UIAnimator/Window/BG/Box
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Box").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.box = tmp
- end
- ---@private
- function UIVoyageRobberyView:InitGenerate__18(Root, data)
- --[[
- UIAnimator/Window/BG/Box/BtnCancle
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Box/BtnCancle").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnCancle = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIVoyageRobberyView:InitGenerate__19(Root, data)
- --[[
- UIAnimator/Window/BG/Box/BtnCancle/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Box/BtnCancle/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnCancleText = tmp
- tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
- end
- ---@private
- function UIVoyageRobberyView:InitGenerate__20(Root, data)
- --[[
- UIAnimator/Window/BG/Box/BtnChallenge
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Box/BtnChallenge").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnChallenge = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIVoyageRobberyView:InitGenerate__21(Root, data)
- --[[
- UIAnimator/Window/BG/Title/RobNum
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Title/RobNum").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.robNum = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIVoyageRobberyView:InitGenerate__22(Root, data)
- --[[
- UIAnimator/Window/BG/Title/BtnAdd
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/Title/BtnAdd").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnAdd = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIVoyageRobberyView:GenerateDestroy()
- if tolua.getpeer(self.currency3.text) ~= nil then
- tolua.setpeer(self.currency3.text, nil)
- end
- if tolua.getpeer(self.currency3.icon) ~= nil then
- tolua.setpeer(self.currency3.icon, nil)
- end
- if tolua.getpeer(self.currency2.text) ~= nil then
- tolua.setpeer(self.currency2.text, nil)
- end
- if tolua.getpeer(self.currency2.icon) ~= nil then
- tolua.setpeer(self.currency2.icon, nil)
- end
- if tolua.getpeer(self.currency1.text) ~= nil then
- tolua.setpeer(self.currency1.text, nil)
- end
- if tolua.getpeer(self.currency1.icon) ~= nil then
- tolua.setpeer(self.currency1.icon, nil)
- end
- if tolua.getpeer(self.AnyBtn) ~= nil then
- tolua.setpeer(self.AnyBtn, nil)
- end
- self.AnyBtn = nil
- if tolua.getpeer(self.btnClose) ~= nil then
- tolua.setpeer(self.btnClose, nil)
- end
- self.btnClose = nil
- if tolua.getpeer(self.beRobNum) ~= nil then
- tolua.setpeer(self.beRobNum, nil)
- end
- self.beRobNum = nil
- if tolua.getpeer(self.nameSp) ~= nil then
- tolua.setpeer(self.nameSp, nil)
- end
- self.nameSp = nil
- if tolua.getpeer(self.nameTxt) ~= nil then
- tolua.setpeer(self.nameTxt, nil)
- end
- self.nameTxt = nil
- if tolua.getpeer(self.currency1) ~= nil then
- tolua.setpeer(self.currency1, nil)
- end
- self.currency1 = nil
- if tolua.getpeer(self.currency2) ~= nil then
- tolua.setpeer(self.currency2, nil)
- end
- self.currency2 = nil
- if tolua.getpeer(self.currency3) ~= nil then
- tolua.setpeer(self.currency3, nil)
- end
- self.currency3 = nil
- if tolua.getpeer(self.timer) ~= nil then
- tolua.setpeer(self.timer, nil)
- end
- self.timer = nil
- if tolua.getpeer(self.timerTxt) ~= nil then
- tolua.setpeer(self.timerTxt, nil)
- end
- self.timerTxt = nil
- if tolua.getpeer(self.box) ~= nil then
- tolua.setpeer(self.box, nil)
- end
- self.box = nil
- if tolua.getpeer(self.btnCancle) ~= nil then
- tolua.setpeer(self.btnCancle, nil)
- end
- self.btnCancle = nil
- if tolua.getpeer(self.btnCancleText) ~= nil then
- tolua.setpeer(self.btnCancleText, nil)
- end
- self.btnCancleText = nil
- if tolua.getpeer(self.btnChallenge) ~= nil then
- tolua.setpeer(self.btnChallenge, nil)
- end
- self.btnChallenge = nil
- if tolua.getpeer(self.robNum) ~= nil then
- tolua.setpeer(self.robNum, nil)
- end
- self.robNum = nil
- if tolua.getpeer(self.btnAdd) ~= nil then
- tolua.setpeer(self.btnAdd, nil)
- end
- self.btnAdd = nil
- self.transform = nil
- self.gameObject = nil
- self.inited = false
- end
- return UIVoyageRobberyView
|