---@class UIPetMySupport__Generate_count ---@field public gameObject UnityEngine.GameObject ---@field public text UnityEngine.UI.Text ---@class UIPetMySupport__Generate_scrollView ---@field public gameObject UnityEngine.GameObject ---@field public loopGridView SuperScrollView.LoopGridView ---@class UIPetMySupport__Generate_btnClose ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@class UIPetMySupport__Generate_bg ---@field public gameObject UnityEngine.GameObject ---@field public verticalLayoutGroup UnityEngine.UI.VerticalLayoutGroup ---@class UIPetMySupport__Generate_AnyBtn ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@class UIPetMySupport__Generate_uIAnimator ---@field public gameObject UnityEngine.GameObject ---@field public animator UnityEngine.Animator ---@class UIPetMySupport__Generate ---@field private gameObject UnityEngine.GameObject ---@field private transform UnityEngine.Transform ---@field private uIAnimator UIPetMySupport__Generate_uIAnimator ---@field private AnyBtn UIPetMySupport__Generate_AnyBtn ---@field private window UnityEngine.GameObject ---@field private bg UIPetMySupport__Generate_bg ---@field private btnClose UIPetMySupport__Generate_btnClose ---@field private scrollView UIPetMySupport__Generate_scrollView ---@field private supportItem UnityEngine.GameObject ---@field private bottom UnityEngine.GameObject ---@field private count UIPetMySupport__Generate_count local UIPetMySupportView = class("UIPetMySupportView", require("UIViewBase")) function UIPetMySupportView:ctor() end ---@private function UIPetMySupportView:SetActive(result) self.gameObject:SetActive(result) end ---@private function UIPetMySupportView: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 UIPetMySupportView:InitGenerate__1(Root, data) --[[ Root --]] end ---@private function UIPetMySupportView: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 UIPetMySupportView: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 UIPetMySupportView: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 UIPetMySupportView: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 tmp.verticalLayoutGroup = tmp:GetComponent(Enum.TypeInfo.VerticalLayoutGroup) end ---@private function UIPetMySupportView: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 UIPetMySupportView:InitGenerate__7(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) end ---@private function UIPetMySupportView:InitGenerate__8(Root, data) --[[ UIAnimator/Window/Bg/ScrollView/Viewport/Content/SupportItem --]] local tmp = Root:Find("UIAnimator/Window/Bg/ScrollView/Viewport/Content/SupportItem").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.supportItem = CommonUtil.BindGridViewItem2LuaStatic("SupportItem", tmp) self.supportItem.prefabName = "SupportItem" end ---@private function UIPetMySupportView:InitGenerate__9(Root, data) --[[ UIAnimator/Window/Bg/Bottom --]] local tmp = Root:Find("UIAnimator/Window/Bg/Bottom").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.bottom = tmp end ---@private function UIPetMySupportView:InitGenerate__10(Root, data) --[[ UIAnimator/Window/Bg/Bottom/ChosenNum/Count --]] local tmp = Root:Find("UIAnimator/Window/Bg/Bottom/ChosenNum/Count").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.count = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.Text) end ---@private function UIPetMySupportView: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.scrollView) ~= nil then tolua.setpeer(self.scrollView, nil) end self.scrollView = nil if self.supportItem.GenerateDestroy ~= nil then self.supportItem:GenerateDestroy() end if tolua.getpeer(self.supportItem) ~= nil then tolua.setpeer(self.supportItem, nil) end self.supportItem = nil if tolua.getpeer(self.bottom) ~= nil then tolua.setpeer(self.bottom, nil) end self.bottom = nil if tolua.getpeer(self.count) ~= nil then tolua.setpeer(self.count, nil) end self.count = nil self.transform = nil self.gameObject = nil self.inited = false end return UIPetMySupportView