| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507 |
- ---@class UINoticeTips__Generate_btnOpen_num
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UINoticeTips__Generate_btnOpen_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uILocalizeScript UILocalizeScript
- ---@class UINoticeTips__Generate_btnOpen_icon
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UINoticeTips__Generate_btnOpen
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@field public icon UINoticeTips__Generate_btnOpen_icon
- ---@field public text UINoticeTips__Generate_btnOpen_text
- ---@field public num UINoticeTips__Generate_btnOpen_num
- ---@class UINoticeTips__Generate_text
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uILocalizeScript UILocalizeScript
- ---@class UINoticeTips__Generate_btnQuit
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UINoticeTips__Generate_btnSure
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uILocalizeScript UILocalizeScript
- ---@class UINoticeTips__Generate_btnRight
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UINoticeTips__Generate_btnCancleText
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uILocalizeScript UILocalizeScript
- ---@class UINoticeTips__Generate_btnCancle
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UINoticeTips__Generate_questionTxt
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uILocalizeScript UILocalizeScript
- ---@class UINoticeTips__Generate_dscBox_dscTxt
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uILocalizeScript UILocalizeScript
- ---@class UINoticeTips__Generate_dscBox
- ---@field public gameObject UnityEngine.GameObject
- ---@field public dscTxt UINoticeTips__Generate_dscBox_dscTxt
- ---@class UINoticeTips__Generate_noticeTitle
- ---@field public gameObject UnityEngine.GameObject
- ---@field public uILocalizeScript UILocalizeScript
- ---@class UINoticeTips__Generate_btnClose
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UINoticeTips__Generate_AnyBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UINoticeTips__Generate_uIAnimator
- ---@field public gameObject UnityEngine.GameObject
- ---@field public animator UnityEngine.Animator
- ---@class UINoticeTips__Generate
- ---@field private gameObject UnityEngine.GameObject
- ---@field private transform UnityEngine.Transform
- ---@field private uIAnimator UINoticeTips__Generate_uIAnimator
- ---@field private AnyBtn UINoticeTips__Generate_AnyBtn
- ---@field private window UnityEngine.GameObject
- ---@field private btnClose UINoticeTips__Generate_btnClose
- ---@field private noticeTitle UINoticeTips__Generate_noticeTitle
- ---@field private dscBox UINoticeTips__Generate_dscBox
- ---@field private btnBox UnityEngine.GameObject
- ---@field private title UnityEngine.GameObject
- ---@field private questionTxt UINoticeTips__Generate_questionTxt
- ---@field private box UnityEngine.GameObject
- ---@field private btnCancle UINoticeTips__Generate_btnCancle
- ---@field private btnCancleText UINoticeTips__Generate_btnCancleText
- ---@field private btnRight UINoticeTips__Generate_btnRight
- ---@field private btnSure UINoticeTips__Generate_btnSure
- ---@field private btnQuit UINoticeTips__Generate_btnQuit
- ---@field private text UINoticeTips__Generate_text
- ---@field private btnOpen UINoticeTips__Generate_btnOpen
- local UINoticeTipsView = class("UINoticeTipsView", require("UIViewBase"))
- function UINoticeTipsView:ctor()
- end
- ---@private
- function UINoticeTipsView:SetActive(result)
- self.gameObject:SetActive(result)
- end
- ---@private
- function UINoticeTipsView: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)
- end
- ---@private
- function UINoticeTipsView:InitGenerate__1(Root, data)
- --[[
- UIAnimator
- --]]
- local tmp = Root:Find("UIAnimator").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.uIAnimator = tmp
- tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
- tmp.animator.logWarnings = false
- end
- ---@private
- function UINoticeTipsView:InitGenerate__2(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 UINoticeTipsView:InitGenerate__3(Root, data)
- --[[
- UIAnimator/Window
- --]]
- local tmp = Root:Find("UIAnimator/Window").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.window = tmp
- end
- ---@private
- function UINoticeTipsView:InitGenerate__4(Root, data)
- --[[
- UIAnimator/Window/BtnClose
- --]]
- local tmp = Root:Find("UIAnimator/Window/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 UINoticeTipsView:InitGenerate__5(Root, data)
- --[[
- UIAnimator/Window/NoticeTitle
- --]]
- local tmp = Root:Find("UIAnimator/Window/NoticeTitle").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.noticeTitle = tmp
- tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
- end
- ---@private
- function UINoticeTipsView:InitGenerate__6(Root, data)
- --[[
- UIAnimator/Window/DscBox
- --]]
- local tmp = Root:Find("UIAnimator/Window/DscBox").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.dscBox = tmp
- end
- ---@private
- function UINoticeTipsView:InitGenerate__7(Root, data)
- --[[
- UIAnimator/Window/DscBox/DscTxt
- --]]
- local tmp = Root:Find("UIAnimator/Window/DscBox/DscTxt").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.dscBox.dscTxt = tmp
- tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
- end
- ---@private
- function UINoticeTipsView:InitGenerate__8(Root, data)
- --[[
- UIAnimator/Window/BtnBox
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnBox = tmp
- end
- ---@private
- function UINoticeTipsView:InitGenerate__9(Root, data)
- --[[
- UIAnimator/Window/BtnBox/Title
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/Title").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.title = tmp
- end
- ---@private
- function UINoticeTipsView:InitGenerate__10(Root, data)
- --[[
- UIAnimator/Window/BtnBox/Title/QuestionTxt
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/Title/QuestionTxt").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.questionTxt = tmp
- tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
- end
- ---@private
- function UINoticeTipsView:InitGenerate__11(Root, data)
- --[[
- UIAnimator/Window/BtnBox/Box
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/Box").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.box = tmp
- end
- ---@private
- function UINoticeTipsView:InitGenerate__12(Root, data)
- --[[
- UIAnimator/Window/BtnBox/Box/BtnCancle
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/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 UINoticeTipsView:InitGenerate__13(Root, data)
- --[[
- UIAnimator/Window/BtnBox/Box/BtnCancle/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/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 UINoticeTipsView:InitGenerate__14(Root, data)
- --[[
- UIAnimator/Window/BtnBox/Box/BtnRight
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/Box/BtnRight").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnRight = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UINoticeTipsView:InitGenerate__15(Root, data)
- --[[
- UIAnimator/Window/BtnBox/Box/BtnRight/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/Box/BtnRight/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnSure = tmp
- tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
- end
- ---@private
- function UINoticeTipsView:InitGenerate__16(Root, data)
- --[[
- UIAnimator/Window/BtnBox/Box/BtnQuit
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/Box/BtnQuit").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnQuit = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UINoticeTipsView:InitGenerate__17(Root, data)
- --[[
- UIAnimator/Window/BtnBox/Box/BtnQuit/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/Box/BtnQuit/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.text = tmp
- tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
- end
- ---@private
- function UINoticeTipsView:InitGenerate__18(Root, data)
- --[[
- UIAnimator/Window/BtnBox/Box/BtnOpen
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/Box/BtnOpen").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnOpen = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UINoticeTipsView:InitGenerate__19(Root, data)
- --[[
- UIAnimator/Window/BtnBox/Box/BtnOpen/Content/Image
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/Box/BtnOpen/Content/Image").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnOpen.icon = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UINoticeTipsView:InitGenerate__20(Root, data)
- --[[
- UIAnimator/Window/BtnBox/Box/BtnOpen/Content/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/Box/BtnOpen/Content/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnOpen.text = tmp
- tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
- end
- ---@private
- function UINoticeTipsView:InitGenerate__21(Root, data)
- --[[
- UIAnimator/Window/BtnBox/Box/BtnOpen/Content/num
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBox/Box/BtnOpen/Content/num").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnOpen.num = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UINoticeTipsView:GenerateDestroy()
- if tolua.getpeer(self.btnOpen.num) ~= nil then
- tolua.setpeer(self.btnOpen.num, nil)
- end
- if tolua.getpeer(self.btnOpen.text) ~= nil then
- tolua.setpeer(self.btnOpen.text, nil)
- end
- if tolua.getpeer(self.btnOpen.icon) ~= nil then
- tolua.setpeer(self.btnOpen.icon, nil)
- end
- if tolua.getpeer(self.dscBox.dscTxt) ~= nil then
- tolua.setpeer(self.dscBox.dscTxt, nil)
- end
- if tolua.getpeer(self.uIAnimator) ~= nil then
- tolua.setpeer(self.uIAnimator, nil)
- end
- self.uIAnimator = nil
- if tolua.getpeer(self.AnyBtn) ~= nil then
- tolua.setpeer(self.AnyBtn, nil)
- end
- self.AnyBtn = nil
- if tolua.getpeer(self.window) ~= nil then
- tolua.setpeer(self.window, nil)
- end
- self.window = nil
- if tolua.getpeer(self.btnClose) ~= nil then
- tolua.setpeer(self.btnClose, nil)
- end
- self.btnClose = nil
- if tolua.getpeer(self.noticeTitle) ~= nil then
- tolua.setpeer(self.noticeTitle, nil)
- end
- self.noticeTitle = nil
- if tolua.getpeer(self.dscBox) ~= nil then
- tolua.setpeer(self.dscBox, nil)
- end
- self.dscBox = nil
- if tolua.getpeer(self.btnBox) ~= nil then
- tolua.setpeer(self.btnBox, nil)
- end
- self.btnBox = nil
- if tolua.getpeer(self.title) ~= nil then
- tolua.setpeer(self.title, nil)
- end
- self.title = nil
- if tolua.getpeer(self.questionTxt) ~= nil then
- tolua.setpeer(self.questionTxt, nil)
- end
- self.questionTxt = 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.btnRight) ~= nil then
- tolua.setpeer(self.btnRight, nil)
- end
- self.btnRight = nil
- if tolua.getpeer(self.btnSure) ~= nil then
- tolua.setpeer(self.btnSure, nil)
- end
- self.btnSure = nil
- if tolua.getpeer(self.btnQuit) ~= nil then
- tolua.setpeer(self.btnQuit, nil)
- end
- self.btnQuit = nil
- if tolua.getpeer(self.text) ~= nil then
- tolua.setpeer(self.text, nil)
- end
- self.text = nil
- if tolua.getpeer(self.btnOpen) ~= nil then
- tolua.setpeer(self.btnOpen, nil)
- end
- self.btnOpen = nil
- self.transform = nil
- self.gameObject = nil
- self.inited = false
- end
- return UINoticeTipsView
|