---@class UIPetAdvence__Generate_cost1_num ---@field public gameObject UnityEngine.GameObject ---@field public text UnityEngine.UI.Text ---@class UIPetAdvence__Generate_cost1_res ---@field public gameObject UnityEngine.GameObject ---@field public image UnityEngine.UI.Image ---@class UIPetAdvence__Generate_cost1 ---@field public gameObject UnityEngine.GameObject ---@field public res UIPetAdvence__Generate_cost1_res ---@field public num UIPetAdvence__Generate_cost1_num ---@class UIPetAdvence__Generate_btnSure ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@class UIPetAdvence__Generate_dsc ---@field public gameObject UnityEngine.GameObject ---@field public uILocalizeScript UILocalizeScript ---@class UIPetAdvence__Generate_iconPetItem ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@field public layoutElement UnityEngine.UI.LayoutElement ---@class UIPetAdvence__Generate_mats ---@field public gameObject UnityEngine.GameObject ---@field public loopGridView SuperScrollView.LoopGridView ---@class UIPetAdvence__Generate_attrs_attr5_number2 ---@field public gameObject UnityEngine.GameObject ---@field public text UnityEngine.UI.Text ---@class UIPetAdvence__Generate_attrs_attr5_number1 ---@field public gameObject UnityEngine.GameObject ---@field public text UnityEngine.UI.Text ---@class UIPetAdvence__Generate_attrs_attr5_text ---@field public gameObject UnityEngine.GameObject ---@field public text UnityEngine.UI.Text ---@class UIPetAdvence__Generate_attrs_attr5 ---@field public gameObject UnityEngine.GameObject ---@field public text UIPetAdvence__Generate_attrs_attr5_text ---@field public number1 UIPetAdvence__Generate_attrs_attr5_number1 ---@field public number2 UIPetAdvence__Generate_attrs_attr5_number2 ---@class UIPetAdvence__Generate_attrs_attr4_number2 ---@field public gameObject UnityEngine.GameObject ---@field public text UnityEngine.UI.Text ---@class UIPetAdvence__Generate_attrs_attr4_number1 ---@field public gameObject UnityEngine.GameObject ---@field public text UnityEngine.UI.Text ---@class UIPetAdvence__Generate_attrs_attr4_text ---@field public gameObject UnityEngine.GameObject ---@field public text UnityEngine.UI.Text ---@class UIPetAdvence__Generate_attrs_attr4 ---@field public gameObject UnityEngine.GameObject ---@field public text UIPetAdvence__Generate_attrs_attr4_text ---@field public number1 UIPetAdvence__Generate_attrs_attr4_number1 ---@field public number2 UIPetAdvence__Generate_attrs_attr4_number2 ---@class UIPetAdvence__Generate_attrs_attr3_number2 ---@field public gameObject UnityEngine.GameObject ---@field public text UnityEngine.UI.Text ---@class UIPetAdvence__Generate_attrs_attr3_number1 ---@field public gameObject UnityEngine.GameObject ---@field public text UnityEngine.UI.Text ---@class UIPetAdvence__Generate_attrs_attr3_text ---@field public gameObject UnityEngine.GameObject ---@field public text UnityEngine.UI.Text ---@class UIPetAdvence__Generate_attrs_attr3 ---@field public gameObject UnityEngine.GameObject ---@field public text UIPetAdvence__Generate_attrs_attr3_text ---@field public number1 UIPetAdvence__Generate_attrs_attr3_number1 ---@field public number2 UIPetAdvence__Generate_attrs_attr3_number2 ---@class UIPetAdvence__Generate_attrs_attr2_number2 ---@field public gameObject UnityEngine.GameObject ---@field public text UnityEngine.UI.Text ---@class UIPetAdvence__Generate_attrs_attr2_number1 ---@field public gameObject UnityEngine.GameObject ---@field public text UnityEngine.UI.Text ---@class UIPetAdvence__Generate_attrs_attr2_text ---@field public gameObject UnityEngine.GameObject ---@field public text UnityEngine.UI.Text ---@class UIPetAdvence__Generate_attrs_attr2 ---@field public gameObject UnityEngine.GameObject ---@field public text UIPetAdvence__Generate_attrs_attr2_text ---@field public number1 UIPetAdvence__Generate_attrs_attr2_number1 ---@field public number2 UIPetAdvence__Generate_attrs_attr2_number2 ---@class UIPetAdvence__Generate_attrs_attr1_number2 ---@field public gameObject UnityEngine.GameObject ---@field public text UnityEngine.UI.Text ---@class UIPetAdvence__Generate_attrs_attr1_number1 ---@field public gameObject UnityEngine.GameObject ---@field public text UnityEngine.UI.Text ---@class UIPetAdvence__Generate_attrs_attr1_text ---@field public gameObject UnityEngine.GameObject ---@field public text UnityEngine.UI.Text ---@class UIPetAdvence__Generate_attrs_attr1 ---@field public gameObject UnityEngine.GameObject ---@field public text UIPetAdvence__Generate_attrs_attr1_text ---@field public number1 UIPetAdvence__Generate_attrs_attr1_number1 ---@field public number2 UIPetAdvence__Generate_attrs_attr1_number2 ---@class UIPetAdvence__Generate_attrs_lVLimit_number2 ---@field public gameObject UnityEngine.GameObject ---@field public text UnityEngine.UI.Text ---@class UIPetAdvence__Generate_attrs_lVLimit_number1 ---@field public gameObject UnityEngine.GameObject ---@field public text UnityEngine.UI.Text ---@class UIPetAdvence__Generate_attrs_lVLimit ---@field public gameObject UnityEngine.GameObject ---@field public number1 UIPetAdvence__Generate_attrs_lVLimit_number1 ---@field public number2 UIPetAdvence__Generate_attrs_lVLimit_number2 ---@class UIPetAdvence__Generate_attrs ---@field public gameObject UnityEngine.GameObject ---@field public lVLimit UIPetAdvence__Generate_attrs_lVLimit ---@field public attr1 UIPetAdvence__Generate_attrs_attr1 ---@field public attr2 UIPetAdvence__Generate_attrs_attr2 ---@field public attr3 UIPetAdvence__Generate_attrs_attr3 ---@field public attr4 UIPetAdvence__Generate_attrs_attr4 ---@field public attr5 UIPetAdvence__Generate_attrs_attr5 ---@class UIPetAdvence__Generate_item4_unowned_frame ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@class UIPetAdvence__Generate_item4_unowned_icon ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@class UIPetAdvence__Generate_item4_unowned ---@field public gameObject UnityEngine.GameObject ---@field public icon UIPetAdvence__Generate_item4_unowned_icon ---@field public frame UIPetAdvence__Generate_item4_unowned_frame ---@class UIPetAdvence__Generate_item4_iconPetItem ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@field public layoutElement UnityEngine.UI.LayoutElement ---@class UIPetAdvence__Generate_item4 ---@field public gameObject UnityEngine.GameObject ---@field public owned UnityEngine.GameObject ---@field public iconPetItem UIPetAdvence__Generate_item4_iconPetItem ---@field public unowned UIPetAdvence__Generate_item4_unowned ---@class UIPetAdvence__Generate_item3_unowned_frame ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@class UIPetAdvence__Generate_item3_unowned_icon ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@class UIPetAdvence__Generate_item3_unowned ---@field public gameObject UnityEngine.GameObject ---@field public icon UIPetAdvence__Generate_item3_unowned_icon ---@field public frame UIPetAdvence__Generate_item3_unowned_frame ---@class UIPetAdvence__Generate_item3_iconPetItem ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@field public layoutElement UnityEngine.UI.LayoutElement ---@class UIPetAdvence__Generate_item3 ---@field public gameObject UnityEngine.GameObject ---@field public owned UnityEngine.GameObject ---@field public iconPetItem UIPetAdvence__Generate_item3_iconPetItem ---@field public unowned UIPetAdvence__Generate_item3_unowned ---@class UIPetAdvence__Generate_item2_unowned_frame ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@class UIPetAdvence__Generate_item2_unowned_icon ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@class UIPetAdvence__Generate_item2_unowned ---@field public gameObject UnityEngine.GameObject ---@field public icon UIPetAdvence__Generate_item2_unowned_icon ---@field public frame UIPetAdvence__Generate_item2_unowned_frame ---@class UIPetAdvence__Generate_item2_iconPetItem ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@field public layoutElement UnityEngine.UI.LayoutElement ---@class UIPetAdvence__Generate_item2 ---@field public gameObject UnityEngine.GameObject ---@field public owned UnityEngine.GameObject ---@field public iconPetItem UIPetAdvence__Generate_item2_iconPetItem ---@field public unowned UIPetAdvence__Generate_item2_unowned ---@class UIPetAdvence__Generate_item1_unowned_frame ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@class UIPetAdvence__Generate_item1_unowned_icon ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@class UIPetAdvence__Generate_item1_unowned ---@field public gameObject UnityEngine.GameObject ---@field public icon UIPetAdvence__Generate_item1_unowned_icon ---@field public frame UIPetAdvence__Generate_item1_unowned_frame ---@class UIPetAdvence__Generate_item1_iconPetItem ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@field public layoutElement UnityEngine.UI.LayoutElement ---@class UIPetAdvence__Generate_item1 ---@field public gameObject UnityEngine.GameObject ---@field public owned UnityEngine.GameObject ---@field public iconPetItem UIPetAdvence__Generate_item1_iconPetItem ---@field public unowned UIPetAdvence__Generate_item1_unowned ---@class UIPetAdvence__Generate_btnClose ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@class UIPetAdvence__Generate_bg ---@field public gameObject UnityEngine.GameObject ---@field public verticalLayoutGroup UnityEngine.UI.VerticalLayoutGroup ---@class UIPetAdvence__Generate_AnyBtn ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@class UIPetAdvence__Generate_uIAnimator ---@field public gameObject UnityEngine.GameObject ---@field public animator UnityEngine.Animator ---@class UIPetAdvence__Generate ---@field private gameObject UnityEngine.GameObject ---@field private transform UnityEngine.Transform ---@field private uIAnimator UIPetAdvence__Generate_uIAnimator ---@field private AnyBtn UIPetAdvence__Generate_AnyBtn ---@field private window UnityEngine.GameObject ---@field private bg UIPetAdvence__Generate_bg ---@field private closeBox UnityEngine.GameObject ---@field private btnClose UIPetAdvence__Generate_btnClose ---@field private item1 UIPetAdvence__Generate_item1 ---@field private item2 UIPetAdvence__Generate_item2 ---@field private item3 UIPetAdvence__Generate_item3 ---@field private item4 UIPetAdvence__Generate_item4 ---@field private attrs UIPetAdvence__Generate_attrs ---@field private mats UIPetAdvence__Generate_mats ---@field private iconPetItem UIPetAdvence__Generate_iconPetItem ---@field private dsc UIPetAdvence__Generate_dsc ---@field private btnBox UnityEngine.GameObject ---@field private btnSure UIPetAdvence__Generate_btnSure ---@field private cost1 UIPetAdvence__Generate_cost1 local UIPetAdvenceView = class("UIPetAdvenceView", require("UIViewBase")) function UIPetAdvenceView:ctor() end ---@private function UIPetAdvenceView:SetActive(result) self.gameObject:SetActive(result) end ---@private function UIPetAdvenceView: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) self:InitGenerate__30(Root,data) self:InitGenerate__31(Root,data) self:InitGenerate__32(Root,data) self:InitGenerate__33(Root,data) self:InitGenerate__34(Root,data) self:InitGenerate__35(Root,data) self:InitGenerate__36(Root,data) self:InitGenerate__37(Root,data) self:InitGenerate__38(Root,data) self:InitGenerate__39(Root,data) self:InitGenerate__40(Root,data) self:InitGenerate__41(Root,data) self:InitGenerate__42(Root,data) self:InitGenerate__43(Root,data) self:InitGenerate__44(Root,data) self:InitGenerate__45(Root,data) self:InitGenerate__46(Root,data) self:InitGenerate__47(Root,data) self:InitGenerate__48(Root,data) self:InitGenerate__49(Root,data) self:InitGenerate__50(Root,data) self:InitGenerate__51(Root,data) self:InitGenerate__52(Root,data) self:InitGenerate__53(Root,data) self:InitGenerate__54(Root,data) self:InitGenerate__55(Root,data) self:InitGenerate__56(Root,data) self:InitGenerate__57(Root,data) self:InitGenerate__58(Root,data) self:InitGenerate__59(Root,data) self:InitGenerate__60(Root,data) self:InitGenerate__61(Root,data) self:InitGenerate__62(Root,data) self:InitGenerate__63(Root,data) end ---@private function UIPetAdvenceView:InitGenerate__1(Root, data) --[[ Root --]] end ---@private function UIPetAdvenceView: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 UIPetAdvenceView: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 UIPetAdvenceView: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 UIPetAdvenceView: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 UIPetAdvenceView:InitGenerate__6(Root, data) --[[ UIAnimator/Window/Bg/CloseBox --]] local tmp = Root:Find("UIAnimator/Window/Bg/CloseBox").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.closeBox = tmp end ---@private function UIPetAdvenceView:InitGenerate__7(Root, data) --[[ UIAnimator/Window/Bg/CloseBox/BtnClose --]] local tmp = Root:Find("UIAnimator/Window/Bg/CloseBox/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 UIPetAdvenceView:InitGenerate__8(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Items/Item1 --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item1").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.item1 = tmp end ---@private function UIPetAdvenceView:InitGenerate__9(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Owned --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Owned").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.item1.owned = tmp end ---@private function UIPetAdvenceView:InitGenerate__10(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Owned/IconPetItem --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Owned/IconPetItem").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.item1.iconPetItem = CommonUtil.BindGridViewItem2LuaStatic("IconPetItem", tmp) self.item1.iconPetItem.prefabName = "IconPetItem" tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform) tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement) end ---@private function UIPetAdvenceView:InitGenerate__11(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Unowned --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Unowned").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.item1.unowned = tmp end ---@private function UIPetAdvenceView:InitGenerate__12(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Unowned/icon --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Unowned/icon").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.item1.unowned.icon = tmp tmp.button = tmp:GetComponent(Enum.TypeInfo.Button) end ---@private function UIPetAdvenceView:InitGenerate__13(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Unowned/frame --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item1/Unowned/frame").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.item1.unowned.frame = tmp tmp.button = tmp:GetComponent(Enum.TypeInfo.Button) end ---@private function UIPetAdvenceView:InitGenerate__14(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Items/Item2 --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item2").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.item2 = tmp end ---@private function UIPetAdvenceView:InitGenerate__15(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Owned --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Owned").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.item2.owned = tmp end ---@private function UIPetAdvenceView:InitGenerate__16(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Owned/IconPetItem --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Owned/IconPetItem").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.item2.iconPetItem = CommonUtil.BindGridViewItem2LuaStatic("IconPetItem", tmp) self.item2.iconPetItem.prefabName = "IconPetItem" tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform) tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement) end ---@private function UIPetAdvenceView:InitGenerate__17(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Unowned --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Unowned").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.item2.unowned = tmp end ---@private function UIPetAdvenceView:InitGenerate__18(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Unowned/icon --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Unowned/icon").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.item2.unowned.icon = tmp tmp.button = tmp:GetComponent(Enum.TypeInfo.Button) end ---@private function UIPetAdvenceView:InitGenerate__19(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Unowned/frame --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item2/Unowned/frame").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.item2.unowned.frame = tmp tmp.button = tmp:GetComponent(Enum.TypeInfo.Button) end ---@private function UIPetAdvenceView:InitGenerate__20(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Items/Item3 --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item3").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.item3 = tmp end ---@private function UIPetAdvenceView:InitGenerate__21(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Owned --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Owned").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.item3.owned = tmp end ---@private function UIPetAdvenceView:InitGenerate__22(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Owned/IconPetItem --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Owned/IconPetItem").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.item3.iconPetItem = CommonUtil.BindGridViewItem2LuaStatic("IconPetItem", tmp) self.item3.iconPetItem.prefabName = "IconPetItem" tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform) tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement) end ---@private function UIPetAdvenceView:InitGenerate__23(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Unowned --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Unowned").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.item3.unowned = tmp end ---@private function UIPetAdvenceView:InitGenerate__24(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Unowned/icon --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Unowned/icon").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.item3.unowned.icon = tmp tmp.button = tmp:GetComponent(Enum.TypeInfo.Button) end ---@private function UIPetAdvenceView:InitGenerate__25(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Unowned/frame --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item3/Unowned/frame").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.item3.unowned.frame = tmp tmp.button = tmp:GetComponent(Enum.TypeInfo.Button) end ---@private function UIPetAdvenceView:InitGenerate__26(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Items/Item4 --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item4").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.item4 = tmp end ---@private function UIPetAdvenceView:InitGenerate__27(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Owned --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Owned").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.item4.owned = tmp end ---@private function UIPetAdvenceView:InitGenerate__28(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Owned/IconPetItem --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Owned/IconPetItem").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.item4.iconPetItem = CommonUtil.BindGridViewItem2LuaStatic("IconPetItem", tmp) self.item4.iconPetItem.prefabName = "IconPetItem" tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform) tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement) end ---@private function UIPetAdvenceView:InitGenerate__29(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Unowned --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Unowned").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.item4.unowned = tmp end ---@private function UIPetAdvenceView:InitGenerate__30(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Unowned/icon --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Unowned/icon").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.item4.unowned.icon = tmp tmp.button = tmp:GetComponent(Enum.TypeInfo.Button) end ---@private function UIPetAdvenceView:InitGenerate__31(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Unowned/frame --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Items/Item4/Unowned/frame").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.item4.unowned.frame = tmp tmp.button = tmp:GetComponent(Enum.TypeInfo.Button) end ---@private function UIPetAdvenceView:InitGenerate__32(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Attrs --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.attrs = tmp end ---@private function UIPetAdvenceView:InitGenerate__33(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/LVLimit --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/LVLimit").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.attrs.lVLimit = tmp end ---@private function UIPetAdvenceView:InitGenerate__34(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/LVLimit/Number1 --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/LVLimit/Number1").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.attrs.lVLimit.number1 = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.Text) end ---@private function UIPetAdvenceView:InitGenerate__35(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/LVLimit/Number2 --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/LVLimit/Number2").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.attrs.lVLimit.number2 = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.Text) end ---@private function UIPetAdvenceView:InitGenerate__36(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr1 --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr1").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.attrs.attr1 = tmp end ---@private function UIPetAdvenceView:InitGenerate__37(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr1/Text --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr1/Text").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.attrs.attr1.text = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.Text) end ---@private function UIPetAdvenceView:InitGenerate__38(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr1/Number1 --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr1/Number1").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.attrs.attr1.number1 = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.Text) end ---@private function UIPetAdvenceView:InitGenerate__39(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr1/Number2 --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr1/Number2").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.attrs.attr1.number2 = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.Text) end ---@private function UIPetAdvenceView:InitGenerate__40(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr2 --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr2").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.attrs.attr2 = tmp end ---@private function UIPetAdvenceView:InitGenerate__41(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr2/Text --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr2/Text").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.attrs.attr2.text = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.Text) end ---@private function UIPetAdvenceView:InitGenerate__42(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr2/Number1 --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr2/Number1").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.attrs.attr2.number1 = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.Text) end ---@private function UIPetAdvenceView:InitGenerate__43(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr2/Number2 --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr2/Number2").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.attrs.attr2.number2 = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.Text) end ---@private function UIPetAdvenceView:InitGenerate__44(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr3 --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr3").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.attrs.attr3 = tmp end ---@private function UIPetAdvenceView:InitGenerate__45(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr3/Text --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr3/Text").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.attrs.attr3.text = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.Text) end ---@private function UIPetAdvenceView:InitGenerate__46(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr3/Number1 --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr3/Number1").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.attrs.attr3.number1 = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.Text) end ---@private function UIPetAdvenceView:InitGenerate__47(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr3/Number2 --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr3/Number2").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.attrs.attr3.number2 = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.Text) end ---@private function UIPetAdvenceView:InitGenerate__48(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr4 --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr4").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.attrs.attr4 = tmp end ---@private function UIPetAdvenceView:InitGenerate__49(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr4/Text --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr4/Text").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.attrs.attr4.text = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.Text) end ---@private function UIPetAdvenceView:InitGenerate__50(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr4/Number1 --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr4/Number1").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.attrs.attr4.number1 = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.Text) end ---@private function UIPetAdvenceView:InitGenerate__51(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr4/Number2 --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr4/Number2").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.attrs.attr4.number2 = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.Text) end ---@private function UIPetAdvenceView:InitGenerate__52(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr5 --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr5").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.attrs.attr5 = tmp end ---@private function UIPetAdvenceView:InitGenerate__53(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr5/Text --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr5/Text").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.attrs.attr5.text = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.Text) end ---@private function UIPetAdvenceView:InitGenerate__54(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr5/Number1 --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr5/Number1").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.attrs.attr5.number1 = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.Text) end ---@private function UIPetAdvenceView:InitGenerate__55(Root, data) --[[ UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr5/Number2 --]] local tmp = Root:Find("UIAnimator/Window/Bg/AdvenceNode/Attrs/grid/Attr5/Number2").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.attrs.attr5.number2 = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.Text) end ---@private function UIPetAdvenceView:InitGenerate__56(Root, data) --[[ UIAnimator/Window/Bg/List/Mats --]] local tmp = Root:Find("UIAnimator/Window/Bg/List/Mats").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.mats = tmp tmp.loopGridView = tmp:GetComponent(Enum.TypeInfo.LoopGridView) end ---@private function UIPetAdvenceView:InitGenerate__57(Root, data) --[[ UIAnimator/Window/Bg/List/Mats/View/IconPetItem --]] local tmp = Root:Find("UIAnimator/Window/Bg/List/Mats/View/IconPetItem").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.iconPetItem = CommonUtil.BindGridViewItem2LuaStatic("IconPetItem", tmp) self.iconPetItem.prefabName = "IconPetItem" tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform) tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement) end ---@private function UIPetAdvenceView:InitGenerate__58(Root, data) --[[ UIAnimator/Window/Bg/List/Mats/Dsc/Dsc --]] local tmp = Root:Find("UIAnimator/Window/Bg/List/Mats/Dsc/Dsc").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.dsc = tmp tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript) end ---@private function UIPetAdvenceView:InitGenerate__59(Root, data) --[[ UIAnimator/Window/Bg/BtnBox --]] local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.btnBox = tmp end ---@private function UIPetAdvenceView:InitGenerate__60(Root, data) --[[ UIAnimator/Window/Bg/BtnBox/BtnSure --]] local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox/BtnSure").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.btnSure = tmp tmp.button = tmp:GetComponent(Enum.TypeInfo.Button) end ---@private function UIPetAdvenceView:InitGenerate__61(Root, data) --[[ UIAnimator/Window/Bg/BtnBox/BtnSure/Content/Cost1 --]] local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox/BtnSure/Content/Cost1").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.cost1 = tmp end ---@private function UIPetAdvenceView:InitGenerate__62(Root, data) --[[ UIAnimator/Window/Bg/BtnBox/BtnSure/Content/Cost1/Res --]] local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox/BtnSure/Content/Cost1/Res").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.cost1.res = tmp tmp.image = tmp:GetComponent(Enum.TypeInfo.Image) end ---@private function UIPetAdvenceView:InitGenerate__63(Root, data) --[[ UIAnimator/Window/Bg/BtnBox/BtnSure/Content/Cost1/Num --]] local tmp = Root:Find("UIAnimator/Window/Bg/BtnBox/BtnSure/Content/Cost1/Num").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.cost1.num = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.Text) end ---@private function UIPetAdvenceView:GenerateDestroy() if tolua.getpeer(self.cost1.num) ~= nil then tolua.setpeer(self.cost1.num, nil) end if tolua.getpeer(self.cost1.res) ~= nil then tolua.setpeer(self.cost1.res, nil) end if tolua.getpeer(self.attrs.attr5.number2) ~= nil then tolua.setpeer(self.attrs.attr5.number2, nil) end if tolua.getpeer(self.attrs.attr5.number1) ~= nil then tolua.setpeer(self.attrs.attr5.number1, nil) end if tolua.getpeer(self.attrs.attr5.text) ~= nil then tolua.setpeer(self.attrs.attr5.text, nil) end if tolua.getpeer(self.attrs.attr5) ~= nil then tolua.setpeer(self.attrs.attr5, nil) end if tolua.getpeer(self.attrs.attr4.number2) ~= nil then tolua.setpeer(self.attrs.attr4.number2, nil) end if tolua.getpeer(self.attrs.attr4.number1) ~= nil then tolua.setpeer(self.attrs.attr4.number1, nil) end if tolua.getpeer(self.attrs.attr4.text) ~= nil then tolua.setpeer(self.attrs.attr4.text, nil) end if tolua.getpeer(self.attrs.attr4) ~= nil then tolua.setpeer(self.attrs.attr4, nil) end if tolua.getpeer(self.attrs.attr3.number2) ~= nil then tolua.setpeer(self.attrs.attr3.number2, nil) end if tolua.getpeer(self.attrs.attr3.number1) ~= nil then tolua.setpeer(self.attrs.attr3.number1, nil) end if tolua.getpeer(self.attrs.attr3.text) ~= nil then tolua.setpeer(self.attrs.attr3.text, nil) end if tolua.getpeer(self.attrs.attr3) ~= nil then tolua.setpeer(self.attrs.attr3, nil) end if tolua.getpeer(self.attrs.attr2.number2) ~= nil then tolua.setpeer(self.attrs.attr2.number2, nil) end if tolua.getpeer(self.attrs.attr2.number1) ~= nil then tolua.setpeer(self.attrs.attr2.number1, nil) end if tolua.getpeer(self.attrs.attr2.text) ~= nil then tolua.setpeer(self.attrs.attr2.text, nil) end if tolua.getpeer(self.attrs.attr2) ~= nil then tolua.setpeer(self.attrs.attr2, nil) end if tolua.getpeer(self.attrs.attr1.number2) ~= nil then tolua.setpeer(self.attrs.attr1.number2, nil) end if tolua.getpeer(self.attrs.attr1.number1) ~= nil then tolua.setpeer(self.attrs.attr1.number1, nil) end if tolua.getpeer(self.attrs.attr1.text) ~= nil then tolua.setpeer(self.attrs.attr1.text, nil) end if tolua.getpeer(self.attrs.attr1) ~= nil then tolua.setpeer(self.attrs.attr1, nil) end if tolua.getpeer(self.attrs.lVLimit.number2) ~= nil then tolua.setpeer(self.attrs.lVLimit.number2, nil) end if tolua.getpeer(self.attrs.lVLimit.number1) ~= nil then tolua.setpeer(self.attrs.lVLimit.number1, nil) end if tolua.getpeer(self.attrs.lVLimit) ~= nil then tolua.setpeer(self.attrs.lVLimit, nil) end if tolua.getpeer(self.item4.unowned.frame) ~= nil then tolua.setpeer(self.item4.unowned.frame, nil) end if tolua.getpeer(self.item4.unowned.icon) ~= nil then tolua.setpeer(self.item4.unowned.icon, nil) end if tolua.getpeer(self.item4.unowned) ~= nil then tolua.setpeer(self.item4.unowned, nil) end if self.item4.iconPetItem.GenerateDestroy ~= nil then self.item4.iconPetItem:GenerateDestroy() end if tolua.getpeer(self.item4.iconPetItem) ~= nil then tolua.setpeer(self.item4.iconPetItem, nil) end if tolua.getpeer(self.item4.owned) ~= nil then tolua.setpeer(self.item4.owned, nil) end if tolua.getpeer(self.item3.unowned.frame) ~= nil then tolua.setpeer(self.item3.unowned.frame, nil) end if tolua.getpeer(self.item3.unowned.icon) ~= nil then tolua.setpeer(self.item3.unowned.icon, nil) end if tolua.getpeer(self.item3.unowned) ~= nil then tolua.setpeer(self.item3.unowned, nil) end if self.item3.iconPetItem.GenerateDestroy ~= nil then self.item3.iconPetItem:GenerateDestroy() end if tolua.getpeer(self.item3.iconPetItem) ~= nil then tolua.setpeer(self.item3.iconPetItem, nil) end if tolua.getpeer(self.item3.owned) ~= nil then tolua.setpeer(self.item3.owned, nil) end if tolua.getpeer(self.item2.unowned.frame) ~= nil then tolua.setpeer(self.item2.unowned.frame, nil) end if tolua.getpeer(self.item2.unowned.icon) ~= nil then tolua.setpeer(self.item2.unowned.icon, nil) end if tolua.getpeer(self.item2.unowned) ~= nil then tolua.setpeer(self.item2.unowned, nil) end if self.item2.iconPetItem.GenerateDestroy ~= nil then self.item2.iconPetItem:GenerateDestroy() end if tolua.getpeer(self.item2.iconPetItem) ~= nil then tolua.setpeer(self.item2.iconPetItem, nil) end if tolua.getpeer(self.item2.owned) ~= nil then tolua.setpeer(self.item2.owned, nil) end if tolua.getpeer(self.item1.unowned.frame) ~= nil then tolua.setpeer(self.item1.unowned.frame, nil) end if tolua.getpeer(self.item1.unowned.icon) ~= nil then tolua.setpeer(self.item1.unowned.icon, nil) end if tolua.getpeer(self.item1.unowned) ~= nil then tolua.setpeer(self.item1.unowned, nil) end if self.item1.iconPetItem.GenerateDestroy ~= nil then self.item1.iconPetItem:GenerateDestroy() end if tolua.getpeer(self.item1.iconPetItem) ~= nil then tolua.setpeer(self.item1.iconPetItem, nil) end if tolua.getpeer(self.item1.owned) ~= nil then tolua.setpeer(self.item1.owned, 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.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.closeBox) ~= nil then tolua.setpeer(self.closeBox, nil) end self.closeBox = nil if tolua.getpeer(self.btnClose) ~= nil then tolua.setpeer(self.btnClose, nil) end self.btnClose = nil if tolua.getpeer(self.item1) ~= nil then tolua.setpeer(self.item1, nil) end self.item1 = nil if tolua.getpeer(self.item2) ~= nil then tolua.setpeer(self.item2, nil) end self.item2 = nil if tolua.getpeer(self.item3) ~= nil then tolua.setpeer(self.item3, nil) end self.item3 = nil if tolua.getpeer(self.item4) ~= nil then tolua.setpeer(self.item4, nil) end self.item4 = nil if tolua.getpeer(self.attrs) ~= nil then tolua.setpeer(self.attrs, nil) end self.attrs = nil if tolua.getpeer(self.mats) ~= nil then tolua.setpeer(self.mats, nil) end self.mats = nil if self.iconPetItem.GenerateDestroy ~= nil then self.iconPetItem:GenerateDestroy() end if tolua.getpeer(self.iconPetItem) ~= nil then tolua.setpeer(self.iconPetItem, nil) end self.iconPetItem = nil if tolua.getpeer(self.dsc) ~= nil then tolua.setpeer(self.dsc, nil) end self.dsc = nil if tolua.getpeer(self.btnBox) ~= nil then tolua.setpeer(self.btnBox, nil) end self.btnBox = nil if tolua.getpeer(self.btnSure) ~= nil then tolua.setpeer(self.btnSure, nil) end self.btnSure = nil if tolua.getpeer(self.cost1) ~= nil then tolua.setpeer(self.cost1, nil) end self.cost1 = nil self.transform = nil self.gameObject = nil self.inited = false end return UIPetAdvenceView