680 lines
21 KiB
Lua
680 lines
21 KiB
Lua
---@class UIShop__Generate_bottomTabBar_testBtn_btnshop7
|
|
---@field public gameObject UnityEngine.GameObject
|
|
---@field public button UnityEngine.UI.Button
|
|
|
|
---@class UIShop__Generate_bottomTabBar_testBtn_btnshop6
|
|
---@field public gameObject UnityEngine.GameObject
|
|
---@field public button UnityEngine.UI.Button
|
|
|
|
---@class UIShop__Generate_bottomTabBar_testBtn_btnshop5
|
|
---@field public gameObject UnityEngine.GameObject
|
|
---@field public button UnityEngine.UI.Button
|
|
|
|
---@class UIShop__Generate_bottomTabBar_testBtn_btnshop4
|
|
---@field public gameObject UnityEngine.GameObject
|
|
---@field public button UnityEngine.UI.Button
|
|
|
|
---@class UIShop__Generate_bottomTabBar_testBtn_btnshop3
|
|
---@field public gameObject UnityEngine.GameObject
|
|
---@field public button UnityEngine.UI.Button
|
|
|
|
---@class UIShop__Generate_bottomTabBar_testBtn_btnshop2
|
|
---@field public gameObject UnityEngine.GameObject
|
|
---@field public button UnityEngine.UI.Button
|
|
|
|
---@class UIShop__Generate_bottomTabBar_testBtn_btnshop1
|
|
---@field public gameObject UnityEngine.GameObject
|
|
---@field public button UnityEngine.UI.Button
|
|
|
|
---@class UIShop__Generate_bottomTabBar_testBtn
|
|
---@field public gameObject UnityEngine.GameObject
|
|
---@field public btnshop1 UIShop__Generate_bottomTabBar_testBtn_btnshop1
|
|
---@field public btnshop2 UIShop__Generate_bottomTabBar_testBtn_btnshop2
|
|
---@field public btnshop3 UIShop__Generate_bottomTabBar_testBtn_btnshop3
|
|
---@field public btnshop4 UIShop__Generate_bottomTabBar_testBtn_btnshop4
|
|
---@field public btnshop5 UIShop__Generate_bottomTabBar_testBtn_btnshop5
|
|
---@field public btnshop6 UIShop__Generate_bottomTabBar_testBtn_btnshop6
|
|
---@field public btnshop7 UIShop__Generate_bottomTabBar_testBtn_btnshop7
|
|
|
|
---@class UIShop__Generate_bottomTabBar_tabArena
|
|
---@field public gameObject UnityEngine.GameObject
|
|
---@field public toggle UnityEngine.UI.Toggle
|
|
---@field public redPoint1 UnityEngine.GameObject
|
|
|
|
---@class UIShop__Generate_bottomTabBar_tabGoddess
|
|
---@field public gameObject UnityEngine.GameObject
|
|
---@field public toggle UnityEngine.UI.Toggle
|
|
---@field public redPoint1 UnityEngine.GameObject
|
|
|
|
---@class UIShop__Generate_bottomTabBar_tabMarket
|
|
---@field public gameObject UnityEngine.GameObject
|
|
---@field public toggle UnityEngine.UI.Toggle
|
|
---@field public redPoint1 UnityEngine.GameObject
|
|
|
|
---@class UIShop__Generate_bottomTabBar_tabShop
|
|
---@field public gameObject UnityEngine.GameObject
|
|
---@field public toggle UnityEngine.UI.Toggle
|
|
---@field public redPoint1 UnityEngine.GameObject
|
|
|
|
---@class UIShop__Generate_btnBack
|
|
---@field public gameObject UnityEngine.GameObject
|
|
---@field public button UnityEngine.UI.Button
|
|
|
|
---@class UIShop__Generate_bottomTabBar
|
|
---@field public gameObject UnityEngine.GameObject
|
|
---@field public toggleGroup UnityEngine.UI.ToggleGroup
|
|
---@field public tabShop UIShop__Generate_bottomTabBar_tabShop
|
|
---@field public tabMarket UIShop__Generate_bottomTabBar_tabMarket
|
|
---@field public tabGoddess UIShop__Generate_bottomTabBar_tabGoddess
|
|
---@field public tabArena UIShop__Generate_bottomTabBar_tabArena
|
|
---@field public testBtn UIShop__Generate_bottomTabBar_testBtn
|
|
|
|
---@class UIShop__Generate_shopGoodsItem
|
|
---@field public gameObject UnityEngine.GameObject
|
|
---@field public button UnityEngine.UI.Button
|
|
|
|
---@class UIShop__Generate_goodsScrollView
|
|
---@field public gameObject UnityEngine.GameObject
|
|
---@field public loopGridView SuperScrollView.LoopGridView
|
|
|
|
---@class UIShop__Generate_btnRefresh
|
|
---@field public gameObject UnityEngine.GameObject
|
|
---@field public button UnityEngine.UI.Button
|
|
|
|
---@class UIShop__Generate_textTime
|
|
---@field public gameObject UnityEngine.GameObject
|
|
---@field public text UnityEngine.UI.Text
|
|
|
|
---@class UIShop__Generate_text_title
|
|
---@field public gameObject UnityEngine.GameObject
|
|
---@field public text TMPro.TextMeshProUGUI
|
|
|
|
---@class UIShop__Generate_talkBoxTxt
|
|
---@field public gameObject UnityEngine.GameObject
|
|
---@field public uILocalizeScript UILocalizeScript
|
|
---@field public text TMPro.TextMeshProUGUI
|
|
|
|
---@class UIShop__Generate_AnyBtn
|
|
---@field public gameObject UnityEngine.GameObject
|
|
---@field public button UnityEngine.UI.Button
|
|
|
|
---@class UIShop__Generate_uIAnimator
|
|
---@field public gameObject UnityEngine.GameObject
|
|
---@field public animator UnityEngine.Animator
|
|
|
|
---@class UIShop__Generate
|
|
---@field private gameObject UnityEngine.GameObject
|
|
---@field private transform UnityEngine.Transform
|
|
---@field private uIAnimator UIShop__Generate_uIAnimator
|
|
---@field private AnyBtn UIShop__Generate_AnyBtn
|
|
---@field private talkBoxTxt UIShop__Generate_talkBoxTxt
|
|
---@field private resourceBox UnityEngine.GameObject
|
|
---@field private shopCurrencyItem UnityEngine.GameObject
|
|
---@field private text_title UIShop__Generate_text_title
|
|
---@field private timeBox UnityEngine.GameObject
|
|
---@field private textTime UIShop__Generate_textTime
|
|
---@field private btnRefresh UIShop__Generate_btnRefresh
|
|
---@field private goodsScrollView UIShop__Generate_goodsScrollView
|
|
---@field private shopGoodsItem UIShop__Generate_shopGoodsItem
|
|
---@field private bottomTabBar UIShop__Generate_bottomTabBar
|
|
---@field private btnBack UIShop__Generate_btnBack
|
|
local UIShopView = class("UIShopView", require("UIViewBase"))
|
|
|
|
function UIShopView:ctor()
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:SetActive(result)
|
|
self.gameObject:SetActive(result)
|
|
end
|
|
---@private
|
|
function UIShopView: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)
|
|
self:InitGenerate__23(Root,data)
|
|
self:InitGenerate__24(Root,data)
|
|
self:InitGenerate__25(Root,data)
|
|
self:InitGenerate__26(Root,data)
|
|
self:InitGenerate__27(Root,data)
|
|
self:InitGenerate__28(Root,data)
|
|
self:InitGenerate__29(Root,data)
|
|
|
|
|
|
end
|
|
|
|
---@private
|
|
function UIShopView: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 UIShopView: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 UIShopView:InitGenerate__3(Root, data)
|
|
--[[
|
|
UIAnimator/Window/TopView/TalkBox/TalkBoxTxt
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/TopView/TalkBox/TalkBoxTxt").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.talkBoxTxt = tmp
|
|
|
|
tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript)
|
|
|
|
tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__4(Root, data)
|
|
--[[
|
|
UIAnimator/Window/TopView/ResourceBox
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.resourceBox = tmp
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__5(Root, data)
|
|
--[[
|
|
UIAnimator/Window/TopView/ResourceBox/ShopCurrencyItem
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/TopView/ResourceBox/ShopCurrencyItem").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.shopCurrencyItem = CommonUtil.BindGridViewItem2LuaStatic("ShopCurrencyItem", tmp)
|
|
self.shopCurrencyItem.prefabName = "ShopCurrencyItem"
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__6(Root, data)
|
|
--[[
|
|
UIAnimator/Window/TopView/bg_title/text_title
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/TopView/bg_title/text_title").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.text_title = tmp
|
|
|
|
tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__7(Root, data)
|
|
--[[
|
|
UIAnimator/Window/GoodsBox/TimeBox
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/GoodsBox/TimeBox").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.timeBox = tmp
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__8(Root, data)
|
|
--[[
|
|
UIAnimator/Window/GoodsBox/TimeBox/TextTime
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/GoodsBox/TimeBox/TextTime").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.textTime = tmp
|
|
|
|
tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__9(Root, data)
|
|
--[[
|
|
UIAnimator/Window/GoodsBox/TimeBox/BtnRefresh
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/GoodsBox/TimeBox/BtnRefresh").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.btnRefresh = tmp
|
|
|
|
tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__10(Root, data)
|
|
--[[
|
|
UIAnimator/Window/GoodsBox/GoodsScrollView
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/GoodsBox/GoodsScrollView").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.goodsScrollView = tmp
|
|
|
|
tmp.loopGridView = tmp:GetComponent(Enum.TypeInfo.LoopGridView)
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__11(Root, data)
|
|
--[[
|
|
UIAnimator/Window/GoodsBox/GoodsScrollView/Viewport/Content/ShopGoodsItem
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/GoodsBox/GoodsScrollView/Viewport/Content/ShopGoodsItem").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.shopGoodsItem = CommonUtil.BindGridViewItem2LuaStatic("ShopGoodsItem", tmp)
|
|
self.shopGoodsItem.prefabName = "ShopGoodsItem"
|
|
|
|
tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__12(Root, data)
|
|
--[[
|
|
UIAnimator/Window/BottomTabBar
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/BottomTabBar").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.bottomTabBar = tmp
|
|
|
|
tmp.toggleGroup = tmp:GetComponent(Enum.TypeInfo.ToggleGroup)
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__13(Root, data)
|
|
--[[
|
|
UIAnimator/Window/BottomTabBar/BtnBack
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/BottomTabBar/BtnBack").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.btnBack = tmp
|
|
|
|
tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__14(Root, data)
|
|
--[[
|
|
UIAnimator/Window/BottomTabBar/TabShop
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/BottomTabBar/TabShop").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.bottomTabBar.tabShop = tmp
|
|
|
|
tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__15(Root, data)
|
|
--[[
|
|
UIAnimator/Window/BottomTabBar/TabShop/RedPoint
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/BottomTabBar/TabShop/RedPoint").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.bottomTabBar.tabShop.redPoint1 = tmp
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__16(Root, data)
|
|
--[[
|
|
UIAnimator/Window/BottomTabBar/TabMarket
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/BottomTabBar/TabMarket").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.bottomTabBar.tabMarket = tmp
|
|
|
|
tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__17(Root, data)
|
|
--[[
|
|
UIAnimator/Window/BottomTabBar/TabMarket/RedPoint
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/BottomTabBar/TabMarket/RedPoint").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.bottomTabBar.tabMarket.redPoint1 = tmp
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__18(Root, data)
|
|
--[[
|
|
UIAnimator/Window/BottomTabBar/TabGoddess
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/BottomTabBar/TabGoddess").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.bottomTabBar.tabGoddess = tmp
|
|
|
|
tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__19(Root, data)
|
|
--[[
|
|
UIAnimator/Window/BottomTabBar/TabGoddess/RedPoint
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/BottomTabBar/TabGoddess/RedPoint").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.bottomTabBar.tabGoddess.redPoint1 = tmp
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__20(Root, data)
|
|
--[[
|
|
UIAnimator/Window/BottomTabBar/TabArena
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/BottomTabBar/TabArena").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.bottomTabBar.tabArena = tmp
|
|
|
|
tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__21(Root, data)
|
|
--[[
|
|
UIAnimator/Window/BottomTabBar/TabArena/RedPoint
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/BottomTabBar/TabArena/RedPoint").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.bottomTabBar.tabArena.redPoint1 = tmp
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__22(Root, data)
|
|
--[[
|
|
UIAnimator/Window/BottomTabBar/TestBtn
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/BottomTabBar/TestBtn").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.bottomTabBar.testBtn = tmp
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__23(Root, data)
|
|
--[[
|
|
UIAnimator/Window/BottomTabBar/TestBtn/btnshop1
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/BottomTabBar/TestBtn/btnshop1").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.bottomTabBar.testBtn.btnshop1 = tmp
|
|
|
|
tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__24(Root, data)
|
|
--[[
|
|
UIAnimator/Window/BottomTabBar/TestBtn/btnshop2
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/BottomTabBar/TestBtn/btnshop2").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.bottomTabBar.testBtn.btnshop2 = tmp
|
|
|
|
tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__25(Root, data)
|
|
--[[
|
|
UIAnimator/Window/BottomTabBar/TestBtn/btnshop3
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/BottomTabBar/TestBtn/btnshop3").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.bottomTabBar.testBtn.btnshop3 = tmp
|
|
|
|
tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__26(Root, data)
|
|
--[[
|
|
UIAnimator/Window/BottomTabBar/TestBtn/btnshop4
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/BottomTabBar/TestBtn/btnshop4").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.bottomTabBar.testBtn.btnshop4 = tmp
|
|
|
|
tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__27(Root, data)
|
|
--[[
|
|
UIAnimator/Window/BottomTabBar/TestBtn/btnshop5
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/BottomTabBar/TestBtn/btnshop5").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.bottomTabBar.testBtn.btnshop5 = tmp
|
|
|
|
tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__28(Root, data)
|
|
--[[
|
|
UIAnimator/Window/BottomTabBar/TestBtn/btnshop6
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/BottomTabBar/TestBtn/btnshop6").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.bottomTabBar.testBtn.btnshop6 = tmp
|
|
|
|
tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:InitGenerate__29(Root, data)
|
|
--[[
|
|
UIAnimator/Window/BottomTabBar/TestBtn/btnshop7
|
|
--]]
|
|
local tmp = Root:Find("UIAnimator/Window/BottomTabBar/TestBtn/btnshop7").gameObject
|
|
if tolua.getpeer(tmp) == nil then
|
|
tolua.setpeer(tmp, {})
|
|
end
|
|
self.bottomTabBar.testBtn.btnshop7 = tmp
|
|
|
|
tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
|
|
end
|
|
|
|
---@private
|
|
function UIShopView:GenerateDestroy()
|
|
if tolua.getpeer(self.bottomTabBar.testBtn.btnshop7) ~= nil then
|
|
tolua.setpeer(self.bottomTabBar.testBtn.btnshop7, nil)
|
|
end
|
|
if tolua.getpeer(self.bottomTabBar.testBtn.btnshop6) ~= nil then
|
|
tolua.setpeer(self.bottomTabBar.testBtn.btnshop6, nil)
|
|
end
|
|
if tolua.getpeer(self.bottomTabBar.testBtn.btnshop5) ~= nil then
|
|
tolua.setpeer(self.bottomTabBar.testBtn.btnshop5, nil)
|
|
end
|
|
if tolua.getpeer(self.bottomTabBar.testBtn.btnshop4) ~= nil then
|
|
tolua.setpeer(self.bottomTabBar.testBtn.btnshop4, nil)
|
|
end
|
|
if tolua.getpeer(self.bottomTabBar.testBtn.btnshop3) ~= nil then
|
|
tolua.setpeer(self.bottomTabBar.testBtn.btnshop3, nil)
|
|
end
|
|
if tolua.getpeer(self.bottomTabBar.testBtn.btnshop2) ~= nil then
|
|
tolua.setpeer(self.bottomTabBar.testBtn.btnshop2, nil)
|
|
end
|
|
if tolua.getpeer(self.bottomTabBar.testBtn.btnshop1) ~= nil then
|
|
tolua.setpeer(self.bottomTabBar.testBtn.btnshop1, nil)
|
|
end
|
|
if tolua.getpeer(self.bottomTabBar.testBtn) ~= nil then
|
|
tolua.setpeer(self.bottomTabBar.testBtn, nil)
|
|
end
|
|
if tolua.getpeer(self.bottomTabBar.tabArena.redPoint1) ~= nil then
|
|
tolua.setpeer(self.bottomTabBar.tabArena.redPoint1, nil)
|
|
end
|
|
if tolua.getpeer(self.bottomTabBar.tabArena) ~= nil then
|
|
tolua.setpeer(self.bottomTabBar.tabArena, nil)
|
|
end
|
|
if tolua.getpeer(self.bottomTabBar.tabGoddess.redPoint1) ~= nil then
|
|
tolua.setpeer(self.bottomTabBar.tabGoddess.redPoint1, nil)
|
|
end
|
|
if tolua.getpeer(self.bottomTabBar.tabGoddess) ~= nil then
|
|
tolua.setpeer(self.bottomTabBar.tabGoddess, nil)
|
|
end
|
|
if tolua.getpeer(self.bottomTabBar.tabMarket.redPoint1) ~= nil then
|
|
tolua.setpeer(self.bottomTabBar.tabMarket.redPoint1, nil)
|
|
end
|
|
if tolua.getpeer(self.bottomTabBar.tabMarket) ~= nil then
|
|
tolua.setpeer(self.bottomTabBar.tabMarket, nil)
|
|
end
|
|
if tolua.getpeer(self.bottomTabBar.tabShop.redPoint1) ~= nil then
|
|
tolua.setpeer(self.bottomTabBar.tabShop.redPoint1, nil)
|
|
end
|
|
if tolua.getpeer(self.bottomTabBar.tabShop) ~= nil then
|
|
tolua.setpeer(self.bottomTabBar.tabShop, 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.talkBoxTxt) ~= nil then
|
|
tolua.setpeer(self.talkBoxTxt, nil)
|
|
end
|
|
self.talkBoxTxt = nil
|
|
if tolua.getpeer(self.resourceBox) ~= nil then
|
|
tolua.setpeer(self.resourceBox, nil)
|
|
end
|
|
self.resourceBox = nil
|
|
if self.shopCurrencyItem.GenerateDestroy ~= nil then
|
|
self.shopCurrencyItem:GenerateDestroy()
|
|
end
|
|
if tolua.getpeer(self.shopCurrencyItem) ~= nil then
|
|
tolua.setpeer(self.shopCurrencyItem, nil)
|
|
end
|
|
self.shopCurrencyItem = nil
|
|
if tolua.getpeer(self.text_title) ~= nil then
|
|
tolua.setpeer(self.text_title, nil)
|
|
end
|
|
self.text_title = nil
|
|
if tolua.getpeer(self.timeBox) ~= nil then
|
|
tolua.setpeer(self.timeBox, nil)
|
|
end
|
|
self.timeBox = nil
|
|
if tolua.getpeer(self.textTime) ~= nil then
|
|
tolua.setpeer(self.textTime, nil)
|
|
end
|
|
self.textTime = nil
|
|
if tolua.getpeer(self.btnRefresh) ~= nil then
|
|
tolua.setpeer(self.btnRefresh, nil)
|
|
end
|
|
self.btnRefresh = nil
|
|
if tolua.getpeer(self.goodsScrollView) ~= nil then
|
|
tolua.setpeer(self.goodsScrollView, nil)
|
|
end
|
|
self.goodsScrollView = nil
|
|
if self.shopGoodsItem.GenerateDestroy ~= nil then
|
|
self.shopGoodsItem:GenerateDestroy()
|
|
end
|
|
if tolua.getpeer(self.shopGoodsItem) ~= nil then
|
|
tolua.setpeer(self.shopGoodsItem, nil)
|
|
end
|
|
self.shopGoodsItem = nil
|
|
if tolua.getpeer(self.bottomTabBar) ~= nil then
|
|
tolua.setpeer(self.bottomTabBar, nil)
|
|
end
|
|
self.bottomTabBar = nil
|
|
if tolua.getpeer(self.btnBack) ~= nil then
|
|
tolua.setpeer(self.btnBack, nil)
|
|
end
|
|
self.btnBack = nil
|
|
self.transform = nil
|
|
self.gameObject = nil
|
|
self.inited = false
|
|
end
|
|
return UIShopView |