| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391 |
- ---@class UIDiffTask__Generate_taskTxt
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text TMPro.TextMeshProUGUI
- ---@class UIDiffTask__Generate_goodsItemsContent
- ---@field public gameObject UnityEngine.GameObject
- ---@field public horizontalLayoutGroup UnityEngine.UI.HorizontalLayoutGroup
- ---@class UIDiffTask__Generate_goodsItems
- ---@field public gameObject UnityEngine.GameObject
- ---@field public loopHorizontalScrollRect UnityEngine.UI.LoopHorizontalScrollRect
- ---@class UIDiffTask__Generate_BtnClose
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIDiffTask__Generate_content
- ---@field public gameObject UnityEngine.GameObject
- ---@field public horizontalLayoutGroup UnityEngine.UI.HorizontalLayoutGroup
- ---@class UIDiffTask__Generate_scrollView
- ---@field public gameObject UnityEngine.GameObject
- ---@field public loopHorizontalScrollRect UnityEngine.UI.LoopHorizontalScrollRect
- ---@class UIDiffTask__Generate_btnArrowR
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIDiffTask__Generate_btnArrowL
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIDiffTask__Generate_btnGoto
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@field public text UnityEngine.GameObject
- ---@class UIDiffTask__Generate_getBtn_number
- ---@field public gameObject UnityEngine.GameObject
- ---@field public text TMPro.TextMeshProUGUI
- ---@class UIDiffTask__Generate_getBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@field public number UIDiffTask__Generate_getBtn_number
- ---@class UIDiffTask__Generate_AnyBtn
- ---@field public gameObject UnityEngine.GameObject
- ---@field public button UnityEngine.UI.Button
- ---@class UIDiffTask__Generate
- ---@field private gameObject UnityEngine.GameObject
- ---@field private transform UnityEngine.Transform
- ---@field private AnyBtn UIDiffTask__Generate_AnyBtn
- ---@field private table1 UnityEngine.GameObject
- ---@field private table2 UnityEngine.GameObject
- ---@field private getBtn UIDiffTask__Generate_getBtn
- ---@field private sealBtn UnityEngine.GameObject
- ---@field private btnGoto UIDiffTask__Generate_btnGoto
- ---@field private btnArrowL UIDiffTask__Generate_btnArrowL
- ---@field private btnArrowR UIDiffTask__Generate_btnArrowR
- ---@field private scrollView UIDiffTask__Generate_scrollView
- ---@field private content UIDiffTask__Generate_content
- ---@field private BtnClose UIDiffTask__Generate_BtnClose
- ---@field private goodsItems UIDiffTask__Generate_goodsItems
- ---@field private goodsItemsContent UIDiffTask__Generate_goodsItemsContent
- ---@field private taskTxt UIDiffTask__Generate_taskTxt
- local UIDiffTaskView = class("UIDiffTaskView", require("UIViewBase"))
- function UIDiffTaskView:ctor()
- end
- ---@private
- function UIDiffTaskView:SetActive(result)
- self.gameObject:SetActive(result)
- end
- ---@private
- function UIDiffTaskView: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)
- end
- ---@private
- function UIDiffTaskView: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 UIDiffTaskView:InitGenerate__2(Root, data)
- --[[
- UIAnimator/Window/BG/table1
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/table1").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.table1 = tmp
- end
- ---@private
- function UIDiffTaskView:InitGenerate__3(Root, data)
- --[[
- UIAnimator/Window/BG/table2
- --]]
- local tmp = Root:Find("UIAnimator/Window/BG/table2").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.table2 = tmp
- end
- ---@private
- function UIDiffTaskView:InitGenerate__4(Root, data)
- --[[
- UIAnimator/Window/GetBtn
- --]]
- local tmp = Root:Find("UIAnimator/Window/GetBtn").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.getBtn = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIDiffTaskView:InitGenerate__5(Root, data)
- --[[
- UIAnimator/Window/GetBtn/Number
- --]]
- local tmp = Root:Find("UIAnimator/Window/GetBtn/Number").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.getBtn.number = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
- end
- ---@private
- function UIDiffTaskView:InitGenerate__6(Root, data)
- --[[
- UIAnimator/Window/Seal
- --]]
- local tmp = Root:Find("UIAnimator/Window/Seal").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.sealBtn = tmp
- end
- ---@private
- function UIDiffTaskView:InitGenerate__7(Root, data)
- --[[
- UIAnimator/Window/BtnGoto
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnGoto").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnGoto = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIDiffTaskView:InitGenerate__8(Root, data)
- --[[
- UIAnimator/Window/BtnGoto/Text
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnGoto/Text").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnGoto.text = tmp
- end
- ---@private
- function UIDiffTaskView:InitGenerate__9(Root, data)
- --[[
- UIAnimator/Window/BtnArrowL
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnArrowL").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnArrowL = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIDiffTaskView:InitGenerate__10(Root, data)
- --[[
- UIAnimator/Window/BtnArrowR
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnArrowR").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.btnArrowR = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIDiffTaskView:InitGenerate__11(Root, data)
- --[[
- UIAnimator/Window/TaskItems/ScrollView
- --]]
- local tmp = Root:Find("UIAnimator/Window/TaskItems/ScrollView").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.scrollView = tmp
- tmp.loopHorizontalScrollRect = tmp:GetComponent(Enum.TypeInfo.LoopHorizontalScrollRect)
- end
- ---@private
- function UIDiffTaskView:InitGenerate__12(Root, data)
- --[[
- UIAnimator/Window/TaskItems/ScrollView/Viewport/Content
- --]]
- local tmp = Root:Find("UIAnimator/Window/TaskItems/ScrollView/Viewport/Content").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.content = tmp
- tmp.horizontalLayoutGroup = tmp:GetComponent(Enum.TypeInfo.HorizontalLayoutGroup)
- end
- ---@private
- function UIDiffTaskView:InitGenerate__13(Root, data)
- --[[
- UIAnimator/Window/BtnCloseFlat
- --]]
- local tmp = Root:Find("UIAnimator/Window/BtnCloseFlat").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.BtnClose = tmp
- tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
- end
- ---@private
- function UIDiffTaskView:InitGenerate__14(Root, data)
- --[[
- UIAnimator/Window/GoodsItems
- --]]
- local tmp = Root:Find("UIAnimator/Window/GoodsItems").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.goodsItems = tmp
- tmp.loopHorizontalScrollRect = tmp:GetComponent(Enum.TypeInfo.LoopHorizontalScrollRect)
- end
- ---@private
- function UIDiffTaskView:InitGenerate__15(Root, data)
- --[[
- UIAnimator/Window/GoodsItems/Viewport/GoodsItemsContent
- --]]
- local tmp = Root:Find("UIAnimator/Window/GoodsItems/Viewport/GoodsItemsContent").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.goodsItemsContent = tmp
- tmp.horizontalLayoutGroup = tmp:GetComponent(Enum.TypeInfo.HorizontalLayoutGroup)
- end
- ---@private
- function UIDiffTaskView:InitGenerate__16(Root, data)
- --[[
- UIAnimator/Window/TaskTxt
- --]]
- local tmp = Root:Find("UIAnimator/Window/TaskTxt").gameObject
- if tolua.getpeer(tmp) == nil then
- tolua.setpeer(tmp, {})
- end
- self.taskTxt = tmp
- tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
- end
- ---@private
- function UIDiffTaskView:GenerateDestroy()
- if tolua.getpeer(self.btnGoto.text) ~= nil then
- tolua.setpeer(self.btnGoto.text, nil)
- end
- if tolua.getpeer(self.getBtn.number) ~= nil then
- tolua.setpeer(self.getBtn.number, nil)
- end
- if tolua.getpeer(self.AnyBtn) ~= nil then
- tolua.setpeer(self.AnyBtn, nil)
- end
- self.AnyBtn = nil
- if tolua.getpeer(self.table1) ~= nil then
- tolua.setpeer(self.table1, nil)
- end
- self.table1 = nil
- if tolua.getpeer(self.table2) ~= nil then
- tolua.setpeer(self.table2, nil)
- end
- self.table2 = nil
- if tolua.getpeer(self.getBtn) ~= nil then
- tolua.setpeer(self.getBtn, nil)
- end
- self.getBtn = nil
- if tolua.getpeer(self.sealBtn) ~= nil then
- tolua.setpeer(self.sealBtn, nil)
- end
- self.sealBtn = nil
- if tolua.getpeer(self.btnGoto) ~= nil then
- tolua.setpeer(self.btnGoto, nil)
- end
- self.btnGoto = nil
- if tolua.getpeer(self.btnArrowL) ~= nil then
- tolua.setpeer(self.btnArrowL, nil)
- end
- self.btnArrowL = nil
- if tolua.getpeer(self.btnArrowR) ~= nil then
- tolua.setpeer(self.btnArrowR, nil)
- end
- self.btnArrowR = nil
- if tolua.getpeer(self.scrollView) ~= nil then
- tolua.setpeer(self.scrollView, nil)
- end
- self.scrollView = nil
- if tolua.getpeer(self.content) ~= nil then
- tolua.setpeer(self.content, nil)
- end
- self.content = nil
- if tolua.getpeer(self.BtnClose) ~= nil then
- tolua.setpeer(self.BtnClose, nil)
- end
- self.BtnClose = nil
- if tolua.getpeer(self.goodsItems) ~= nil then
- tolua.setpeer(self.goodsItems, nil)
- end
- self.goodsItems = nil
- if tolua.getpeer(self.goodsItemsContent) ~= nil then
- tolua.setpeer(self.goodsItemsContent, nil)
- end
- self.goodsItemsContent = nil
- if tolua.getpeer(self.taskTxt) ~= nil then
- tolua.setpeer(self.taskTxt, nil)
- end
- self.taskTxt = nil
- self.transform = nil
- self.gameObject = nil
- self.inited = false
- end
- return UIDiffTaskView
|