| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266 |
- ---@class UIActivityDailyRechargeBT__Generate_backBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIActivityDailyRechargeBT__Generate_title
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text TMPro.TextMeshProUGUI
- ---@class UIActivityDailyRechargeBT__Generate_bg
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UIActivityDailyRechargeBT__Generate_banner
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UIActivityDailyRechargeBT__Generate_taskListScroll
- ---@field public gameObject UnityEngine.GameObject
- ---@field public loopListView SuperScrollView.LoopListView
- ---@class UIActivityDailyRechargeBT__Generate_leftTimeNode_icon
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UIActivityDailyRechargeBT__Generate_leftTimeNode_leftTimeTxt
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIActivityDailyRechargeBT__Generate_leftTimeNode
- ---@field public gameObject UnityEngine.GameObject
- ---@field public leftTimeTxt UIActivityDailyRechargeBT__Generate_leftTimeNode_leftTimeTxt
- ---@field public icon UIActivityDailyRechargeBT__Generate_leftTimeNode_icon
- ---@class UIActivityDailyRechargeBT__Generate_AnyBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIActivityDailyRechargeBT__Generate
- ---@field private gameObject UnityEngine.GameObject
- ---@field private transform UnityEngine.Transform
- ---@field private AnyBtn UIActivityDailyRechargeBT__Generate_AnyBtn
- ---@field private leftTimeNode UIActivityDailyRechargeBT__Generate_leftTimeNode
- ---@field private taskListScroll UIActivityDailyRechargeBT__Generate_taskListScroll
- ---@field private taskItemActivity UnityEngine.GameObject
- ---@field private banner UIActivityDailyRechargeBT__Generate_banner
- ---@field private bg UIActivityDailyRechargeBT__Generate_bg
- ---@field private title UIActivityDailyRechargeBT__Generate_title
- ---@field private backBtn UIActivityDailyRechargeBT__Generate_backBtn
- local UIActivityDailyRechargeBTView = class("UIActivityDailyRechargeBTView", require("UIViewBase"))
- function UIActivityDailyRechargeBTView:ctor()
- end
- ---@private
- function UIActivityDailyRechargeBTView:SetActive(result)
- self.gameObject:SetActive(result)
- end
- ---@private
- function UIActivityDailyRechargeBTView: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)
- end
- ---@private
- function UIActivityDailyRechargeBTView: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 UIActivityDailyRechargeBTView:InitGenerate__2(Root, data)
- --[[
- UIAnimator/Window/Bottom/Bg/TimeCountdown
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/Bg/TimeCountdown").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.leftTimeNode = tmp
- end
- ---@private
- function UIActivityDailyRechargeBTView:InitGenerate__3(Root, data)
- --[[
- UIAnimator/Window/Bottom/Bg/TimeCountdown/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/Bg/TimeCountdown/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.leftTimeNode.leftTimeTxt = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
- end
- ---@private
- function UIActivityDailyRechargeBTView:InitGenerate__4(Root, data)
- --[[
- UIAnimator/Window/Bottom/Bg/TimeCountdown/Text/Icon
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/Bg/TimeCountdown/Text/Icon").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.leftTimeNode.icon = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UIActivityDailyRechargeBTView:InitGenerate__5(Root, data)
- --[[
- UIAnimator/Window/Bottom/Bg/ScrollView
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/Bg/ScrollView").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.taskListScroll = tmp
- tmp.loopListView = tmp:GetComponent(Enum.TypeInfo.LoopListView)
- end
- ---@private
- function UIActivityDailyRechargeBTView:InitGenerate__6(Root, data)
- --[[
- UIAnimator/Window/Bottom/Bg/ScrollView/Viewport/Content/TaskItemActivity
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/Bg/ScrollView/Viewport/Content/TaskItemActivity").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.taskItemActivity = CommonUtil.BindGridViewItem2LuaStatic("TaskItemActivity", tmp)
- self.taskItemActivity.prefabName = "TaskItemActivity"
- end
- ---@private
- function UIActivityDailyRechargeBTView:InitGenerate__7(Root, data)
- --[[
- UIAnimator/Window/Banner
- --]]
- local tmp = Root:Find("UIAnimator/Window/Banner").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.banner = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UIActivityDailyRechargeBTView:InitGenerate__8(Root, data)
- --[[
- UIAnimator/Window/Banner/Image
- --]]
- local tmp = Root:Find("UIAnimator/Window/Banner/Image").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.bg = tmp
- tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
- end
- ---@private
- function UIActivityDailyRechargeBTView:InitGenerate__9(Root, data)
- --[[
- UIAnimator/Window/Banner/Label/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/Banner/Label/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.title = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
- end
- ---@private
- function UIActivityDailyRechargeBTView:InitGenerate__10(Root, data)
- --[[
- UIAnimator/Window/BtnBack
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnBack").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.backBtn = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIActivityDailyRechargeBTView:GenerateDestroy()
- if tolua.getpeer(self.leftTimeNode.icon) ~= nil then
- tolua.setpeer(self.leftTimeNode.icon, nil)
- end
- if tolua.getpeer(self.leftTimeNode.leftTimeTxt) ~= nil then
- tolua.setpeer(self.leftTimeNode.leftTimeTxt, nil)
- end
- if tolua.getpeer(self.AnyBtn) ~= nil then
- tolua.setpeer(self.AnyBtn, nil)
- end
- self.AnyBtn = nil
- if tolua.getpeer(self.leftTimeNode) ~= nil then
- tolua.setpeer(self.leftTimeNode, nil)
- end
- self.leftTimeNode = nil
- if tolua.getpeer(self.taskListScroll) ~= nil then
- tolua.setpeer(self.taskListScroll, nil)
- end
- self.taskListScroll = nil
- if self.taskItemActivity.GenerateDestroy ~= nil then
- self.taskItemActivity:GenerateDestroy()
- end
- if tolua.getpeer(self.taskItemActivity) ~= nil then
- tolua.setpeer(self.taskItemActivity, nil)
- end
- self.taskItemActivity = nil
- if tolua.getpeer(self.banner) ~= nil then
- tolua.setpeer(self.banner, nil)
- end
- self.banner = nil
- if tolua.getpeer(self.bg) ~= nil then
- tolua.setpeer(self.bg, nil)
- end
- self.bg = nil
- if tolua.getpeer(self.title) ~= nil then
- tolua.setpeer(self.title, nil)
- end
- self.title = nil
- if tolua.getpeer(self.backBtn) ~= nil then
- tolua.setpeer(self.backBtn, nil)
- end
- self.backBtn = nil
- self.transform = nil
- self.gameObject = nil
- self.inited = false
- end
- return UIActivityDailyRechargeBTView
|