---@class UIArtifactRewardsList__Generate_iconitem ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@field public layoutElement UnityEngine.UI.LayoutElement ---@class UIArtifactRewardsList__Generate_scrollView ---@field public gameObject UnityEngine.GameObject ---@field public loopGridView SuperScrollView.LoopGridView ---@field public scrollRect UnityEngine.UI.ScrollRect ---@class UIArtifactRewardsList__Generate_textTitle ---@field public gameObject UnityEngine.GameObject ---@field public text TMPro.TextMeshProUGUI ---@class UIArtifactRewardsList__Generate_btnClose ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@class UIArtifactRewardsList__Generate_AnyBtn ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@class UIArtifactRewardsList__Generate_uIAnimator ---@field public gameObject UnityEngine.GameObject ---@field public animator UnityEngine.Animator ---@class UIArtifactRewardsList__Generate ---@field private gameObject UnityEngine.GameObject ---@field private transform UnityEngine.Transform ---@field private uIAnimator UIArtifactRewardsList__Generate_uIAnimator ---@field private AnyBtn UIArtifactRewardsList__Generate_AnyBtn ---@field private window UnityEngine.GameObject ---@field private bg UnityEngine.GameObject ---@field private btnClose UIArtifactRewardsList__Generate_btnClose ---@field private textTitle UIArtifactRewardsList__Generate_textTitle ---@field private scrollView UIArtifactRewardsList__Generate_scrollView ---@field private iconitem UIArtifactRewardsList__Generate_iconitem local UIArtifactRewardsListView = class("UIArtifactRewardsListView", require("UIViewBase")) function UIArtifactRewardsListView:ctor() end ---@private function UIArtifactRewardsListView:SetActive(result) self.gameObject:SetActive(result) end ---@private function UIArtifactRewardsListView: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) end ---@private function UIArtifactRewardsListView:InitGenerate__1(Root, data) --[[ Root --]] end ---@private function UIArtifactRewardsListView:InitGenerate__2(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 UIArtifactRewardsListView:InitGenerate__3(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 UIArtifactRewardsListView:InitGenerate__4(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 UIArtifactRewardsListView:InitGenerate__5(Root, data) --[[ UIAnimator/Window/Bg --]] local tmp = Root:Find("UIAnimator/Window/Bg").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.bg = tmp end ---@private function UIArtifactRewardsListView:InitGenerate__6(Root, data) --[[ UIAnimator/Window/Bg/BtnClose --]] local tmp = Root:Find("UIAnimator/Window/Bg/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 UIArtifactRewardsListView:InitGenerate__7(Root, data) --[[ UIAnimator/Window/Bg/TextTitle --]] local tmp = Root:Find("UIAnimator/Window/Bg/TextTitle").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.textTitle = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI) end ---@private function UIArtifactRewardsListView:InitGenerate__8(Root, data) --[[ UIAnimator/Window/Bg/ScrollView --]] local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.scrollView = tmp tmp.loopGridView = tmp:GetComponent(Enum.TypeInfo.LoopGridView) tmp.scrollRect = tmp:GetComponent(Enum.TypeInfo.ScrollRect) end ---@private function UIArtifactRewardsListView:InitGenerate__9(Root, data) --[[ UIAnimator/Window/Bg/ScrollView/Viewport/Content/IconItem --]] local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/Content/IconItem").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.iconitem = CommonUtil.BindGridViewItem2LuaStatic("IconItem", tmp) self.iconitem.prefabName = "IconItem" tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform) tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement) end ---@private function UIArtifactRewardsListView:GenerateDestroy() 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.bg) ~= nil then tolua.setpeer(self.bg, nil) end self.bg = nil if tolua.getpeer(self.btnClose) ~= nil then tolua.setpeer(self.btnClose, nil) end self.btnClose = nil if tolua.getpeer(self.textTitle) ~= nil then tolua.setpeer(self.textTitle, nil) end self.textTitle = nil if tolua.getpeer(self.scrollView) ~= nil then tolua.setpeer(self.scrollView, nil) end self.scrollView = nil if self.iconitem.GenerateDestroy ~= nil then self.iconitem:GenerateDestroy() end if tolua.getpeer(self.iconitem) ~= nil then tolua.setpeer(self.iconitem, nil) end self.iconitem = nil self.transform = nil self.gameObject = nil self.inited = false end return UIArtifactRewardsListView