| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372 |
- ---@class UIActivityDailyRechargeROBT__Generate_backBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIActivityDailyRechargeROBT__Generate_title
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text TMPro.TextMeshProUGUI
- ---@class UIActivityDailyRechargeROBT__Generate_bg
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UIActivityDailyRechargeROBT__Generate_banner
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UIActivityDailyRechargeROBT__Generate_weekTaskToggle
- ---@field public gameObject UnityEngine.GameObject
- ---@field public toggle UnityEngine.UI.Toggle
- ---@field public redpoint UnityEngine.GameObject
- ---@class UIActivityDailyRechargeROBT__Generate_dailyTaskToggle
- ---@field public gameObject UnityEngine.GameObject
- ---@field public toggle UnityEngine.UI.Toggle
- ---@field public redpoint UnityEngine.GameObject
- ---@class UIActivityDailyRechargeROBT__Generate_toggleGroup
- ---@field public gameObject UnityEngine.GameObject
- ---@field public toggleGroup UnityEngine.UI.ToggleGroup
- ---@class UIActivityDailyRechargeROBT__Generate_taskListScroll
- ---@field public gameObject UnityEngine.GameObject
- ---@field public loopListView SuperScrollView.LoopListView
- ---@class UIActivityDailyRechargeROBT__Generate_leftTimeNode_icon
- ---@field public gameObject UnityEngine.GameObject
- ---@field public image UnityEngine.UI.Image
- ---@class UIActivityDailyRechargeROBT__Generate_leftTimeNode_leftTimeTxt
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text UnityEngine.UI.Text
- ---@class UIActivityDailyRechargeROBT__Generate_leftTimeNode
- ---@field public gameObject UnityEngine.GameObject
- ---@field public leftTimeTxt UIActivityDailyRechargeROBT__Generate_leftTimeNode_leftTimeTxt
- ---@field public icon UIActivityDailyRechargeROBT__Generate_leftTimeNode_icon
- ---@class UIActivityDailyRechargeROBT__Generate_AnyBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIActivityDailyRechargeROBT__Generate
- ---@field private gameObject UnityEngine.GameObject
- ---@field private transform UnityEngine.Transform
- ---@field private AnyBtn UIActivityDailyRechargeROBT__Generate_AnyBtn
- ---@field private leftTimeNode UIActivityDailyRechargeROBT__Generate_leftTimeNode
- ---@field private taskListScroll UIActivityDailyRechargeROBT__Generate_taskListScroll
- ---@field private taskItemActivity UnityEngine.GameObject
- ---@field private toggleGroup UIActivityDailyRechargeROBT__Generate_toggleGroup
- ---@field private dailyTaskToggle UIActivityDailyRechargeROBT__Generate_dailyTaskToggle
- ---@field private weekTaskToggle UIActivityDailyRechargeROBT__Generate_weekTaskToggle
- ---@field private banner UIActivityDailyRechargeROBT__Generate_banner
- ---@field private bg UIActivityDailyRechargeROBT__Generate_bg
- ---@field private title UIActivityDailyRechargeROBT__Generate_title
- ---@field private backBtn UIActivityDailyRechargeROBT__Generate_backBtn
- local UIActivityDailyRechargeROBTView = class("UIActivityDailyRechargeROBTView", require("UIViewBase"))
- function UIActivityDailyRechargeROBTView:ctor()
- end
- ---@private
- function UIActivityDailyRechargeROBTView:SetActive(result)
- self.gameObject:SetActive(result)
- end
- ---@private
- function UIActivityDailyRechargeROBTView: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)
- end
- ---@private
- function UIActivityDailyRechargeROBTView: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 UIActivityDailyRechargeROBTView: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 UIActivityDailyRechargeROBTView: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 UIActivityDailyRechargeROBTView: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 UIActivityDailyRechargeROBTView: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 UIActivityDailyRechargeROBTView: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 UIActivityDailyRechargeROBTView:InitGenerate__7(Root, data)
- --[[
- UIAnimator/Window/Bottom/ToggleGroup
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/ToggleGroup").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.toggleGroup = tmp
- tmp.toggleGroup = tmp:GetComponent(Enum.TypeInfo.ToggleGroup)
- end
- ---@private
- function UIActivityDailyRechargeROBTView:InitGenerate__8(Root, data)
- --[[
- UIAnimator/Window/Bottom/ToggleGroup/Toggle1
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/ToggleGroup/Toggle1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.dailyTaskToggle = tmp
- tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
- end
- ---@private
- function UIActivityDailyRechargeROBTView:InitGenerate__9(Root, data)
- --[[
- UIAnimator/Window/Bottom/ToggleGroup/Toggle1/UIRedPointRP
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/ToggleGroup/Toggle1/UIRedPointRP").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.dailyTaskToggle.redpoint = tmp
- end
- ---@private
- function UIActivityDailyRechargeROBTView:InitGenerate__10(Root, data)
- --[[
- UIAnimator/Window/Bottom/ToggleGroup/Toggle2
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/ToggleGroup/Toggle2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.weekTaskToggle = tmp
- tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
- end
- ---@private
- function UIActivityDailyRechargeROBTView:InitGenerate__11(Root, data)
- --[[
- UIAnimator/Window/Bottom/ToggleGroup/Toggle2/UIRedPointRP
- --]]
- local tmp = Root:Find("UIAnimator/Window/Bottom/ToggleGroup/Toggle2/UIRedPointRP").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.weekTaskToggle.redpoint = tmp
- end
- ---@private
- function UIActivityDailyRechargeROBTView:InitGenerate__12(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 UIActivityDailyRechargeROBTView:InitGenerate__13(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 UIActivityDailyRechargeROBTView:InitGenerate__14(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 UIActivityDailyRechargeROBTView:InitGenerate__15(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 UIActivityDailyRechargeROBTView:GenerateDestroy()
- if tolua.getpeer(self.weekTaskToggle.redpoint) ~= nil then
- tolua.setpeer(self.weekTaskToggle.redpoint, nil)
- end
- if tolua.getpeer(self.dailyTaskToggle.redpoint) ~= nil then
- tolua.setpeer(self.dailyTaskToggle.redpoint, nil)
- end
- 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.toggleGroup) ~= nil then
- tolua.setpeer(self.toggleGroup, nil)
- end
- self.toggleGroup = nil
- if tolua.getpeer(self.dailyTaskToggle) ~= nil then
- tolua.setpeer(self.dailyTaskToggle, nil)
- end
- self.dailyTaskToggle = nil
- if tolua.getpeer(self.weekTaskToggle) ~= nil then
- tolua.setpeer(self.weekTaskToggle, nil)
- end
- self.weekTaskToggle = 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 UIActivityDailyRechargeROBTView
|