---@class UIPetBattle__Generate_btnOneKeyBattle ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@class UIPetBattle__Generate_btnBack ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@class UIPetBattle__Generate_btnPlayRule ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@class UIPetBattle__Generate_slotBattle ---@field public gameObject UnityEngine.GameObject ---@field public slot1 UnityEngine.GameObject ---@field public slot2 UnityEngine.GameObject ---@field public slot3 UnityEngine.GameObject ---@field public slot4 UnityEngine.GameObject ---@field public slot5 UnityEngine.GameObject ---@field public slot6 UnityEngine.GameObject ---@class UIPetBattle__Generate_slotTrigger_slotLock6 ---@field public gameObject UnityEngine.GameObject ---@field public uIEventTriggerListener UIEventTriggerListener ---@class UIPetBattle__Generate_slotTrigger_slotLock5 ---@field public gameObject UnityEngine.GameObject ---@field public uIEventTriggerListener UIEventTriggerListener ---@class UIPetBattle__Generate_slotTrigger_slotLock4 ---@field public gameObject UnityEngine.GameObject ---@field public uIEventTriggerListener UIEventTriggerListener ---@class UIPetBattle__Generate_slotTrigger_slotLock3 ---@field public gameObject UnityEngine.GameObject ---@field public uIEventTriggerListener UIEventTriggerListener ---@class UIPetBattle__Generate_slotTrigger_slotLock2 ---@field public gameObject UnityEngine.GameObject ---@field public uIEventTriggerListener UIEventTriggerListener ---@class UIPetBattle__Generate_slotTrigger_slotLock1 ---@field public gameObject UnityEngine.GameObject ---@field public uIEventTriggerListener UIEventTriggerListener ---@class UIPetBattle__Generate_slotTrigger_slot6 ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@field public uIEventTriggerListener UIEventTriggerListener ---@class UIPetBattle__Generate_slotTrigger_slot5 ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@field public uIEventTriggerListener UIEventTriggerListener ---@class UIPetBattle__Generate_slotTrigger_slot4 ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@field public uIEventTriggerListener UIEventTriggerListener ---@class UIPetBattle__Generate_slotTrigger_slot3 ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@field public uIEventTriggerListener UIEventTriggerListener ---@class UIPetBattle__Generate_slotTrigger_slot2 ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@field public uIEventTriggerListener UIEventTriggerListener ---@class UIPetBattle__Generate_slotTrigger_slot1 ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@field public uIEventTriggerListener UIEventTriggerListener ---@class UIPetBattle__Generate_slotTrigger ---@field public gameObject UnityEngine.GameObject ---@field public slot1 UIPetBattle__Generate_slotTrigger_slot1 ---@field public slot2 UIPetBattle__Generate_slotTrigger_slot2 ---@field public slot3 UIPetBattle__Generate_slotTrigger_slot3 ---@field public slot4 UIPetBattle__Generate_slotTrigger_slot4 ---@field public slot5 UIPetBattle__Generate_slotTrigger_slot5 ---@field public slot6 UIPetBattle__Generate_slotTrigger_slot6 ---@field public slot1_lock UnityEngine.GameObject ---@field public slotLock1 UIPetBattle__Generate_slotTrigger_slotLock1 ---@field public slot2_lock UnityEngine.GameObject ---@field public slotLock2 UIPetBattle__Generate_slotTrigger_slotLock2 ---@field public slot3_lock UnityEngine.GameObject ---@field public slotLock3 UIPetBattle__Generate_slotTrigger_slotLock3 ---@field public slot4_lock UnityEngine.GameObject ---@field public slotLock4 UIPetBattle__Generate_slotTrigger_slotLock4 ---@field public slot5_lock UnityEngine.GameObject ---@field public slotLock5 UIPetBattle__Generate_slotTrigger_slotLock5 ---@field public slot6_lock UnityEngine.GameObject ---@field public slotLock6 UIPetBattle__Generate_slotTrigger_slotLock6 ---@class UIPetBattle__Generate_slotEmpty_slot6Btn_text ---@field public gameObject UnityEngine.GameObject ---@field public uILocalizeScript UILocalizeScript ---@class UIPetBattle__Generate_slotEmpty_slot6Btn ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@field public text UIPetBattle__Generate_slotEmpty_slot6Btn_text ---@class UIPetBattle__Generate_slotEmpty_slot5Btn_text ---@field public gameObject UnityEngine.GameObject ---@field public uILocalizeScript UILocalizeScript ---@class UIPetBattle__Generate_slotEmpty_slot5Btn ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@field public text UIPetBattle__Generate_slotEmpty_slot5Btn_text ---@class UIPetBattle__Generate_slotEmpty_slot4Btn_text ---@field public gameObject UnityEngine.GameObject ---@field public uILocalizeScript UILocalizeScript ---@class UIPetBattle__Generate_slotEmpty_slot4Btn ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@field public text UIPetBattle__Generate_slotEmpty_slot4Btn_text ---@class UIPetBattle__Generate_slotEmpty_slot3Btn_text ---@field public gameObject UnityEngine.GameObject ---@field public uILocalizeScript UILocalizeScript ---@class UIPetBattle__Generate_slotEmpty_slot3Btn ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@field public text UIPetBattle__Generate_slotEmpty_slot3Btn_text ---@class UIPetBattle__Generate_slotEmpty_slot2Btn_text ---@field public gameObject UnityEngine.GameObject ---@field public uILocalizeScript UILocalizeScript ---@class UIPetBattle__Generate_slotEmpty_slot2Btn ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@field public text UIPetBattle__Generate_slotEmpty_slot2Btn_text ---@class UIPetBattle__Generate_slotEmpty_slot1Btn_text ---@field public gameObject UnityEngine.GameObject ---@field public uILocalizeScript UILocalizeScript ---@class UIPetBattle__Generate_slotEmpty_slot1Btn ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@field public text UIPetBattle__Generate_slotEmpty_slot1Btn_text ---@class UIPetBattle__Generate_slotEmpty ---@field public gameObject UnityEngine.GameObject ---@field public slot1Btn UIPetBattle__Generate_slotEmpty_slot1Btn ---@field public slot2Btn UIPetBattle__Generate_slotEmpty_slot2Btn ---@field public slot3Btn UIPetBattle__Generate_slotEmpty_slot3Btn ---@field public slot4Btn UIPetBattle__Generate_slotEmpty_slot4Btn ---@field public slot5Btn UIPetBattle__Generate_slotEmpty_slot5Btn ---@field public slot6Btn UIPetBattle__Generate_slotEmpty_slot6Btn ---@class UIPetBattle__Generate_slotList_slot6 ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@class UIPetBattle__Generate_slotList_slot5 ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@class UIPetBattle__Generate_slotList_slot4 ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@class UIPetBattle__Generate_slotList_slot3 ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@class UIPetBattle__Generate_slotList_slot2 ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@class UIPetBattle__Generate_slotList_slot1 ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@class UIPetBattle__Generate_slotList ---@field public gameObject UnityEngine.GameObject ---@field public slot1 UIPetBattle__Generate_slotList_slot1 ---@field public slot2 UIPetBattle__Generate_slotList_slot2 ---@field public slot3 UIPetBattle__Generate_slotList_slot3 ---@field public slot4 UIPetBattle__Generate_slotList_slot4 ---@field public slot5 UIPetBattle__Generate_slotList_slot5 ---@field public slot6 UIPetBattle__Generate_slotList_slot6 ---@class UIPetBattle__Generate_hero6 ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@class UIPetBattle__Generate_hero5 ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@class UIPetBattle__Generate_hero4 ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@class UIPetBattle__Generate_hero3 ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@class UIPetBattle__Generate_hero2 ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@class UIPetBattle__Generate_hero1 ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@class UIPetBattle__Generate_iconPetItem ---@field public gameObject UnityEngine.GameObject ---@field public rectTransform UnityEngine.RectTransform ---@field public layoutElement UnityEngine.UI.LayoutElement ---@class UIPetBattle__Generate_scrollview ---@field public gameObject UnityEngine.GameObject ---@field public loopGridView SuperScrollView.LoopGridView ---@class UIPetBattle__Generate_battlePetCount ---@field public gameObject UnityEngine.GameObject ---@field public text UnityEngine.UI.Text ---@class UIPetBattle__Generate_btnFilter ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@field public check UnityEngine.GameObject ---@class UIPetBattle__Generate_AnyBtn ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@class UIPetBattle__Generate_uIAnimator ---@field public gameObject UnityEngine.GameObject ---@field public animator UnityEngine.Animator ---@class UIPetBattle__Generate ---@field private gameObject UnityEngine.GameObject ---@field private transform UnityEngine.Transform ---@field private uIAnimator UIPetBattle__Generate_uIAnimator ---@field private AnyBtn UIPetBattle__Generate_AnyBtn ---@field private window UnityEngine.GameObject ---@field private btnFilter UIPetBattle__Generate_btnFilter ---@field private battlePetCount UIPetBattle__Generate_battlePetCount ---@field private scrollview UIPetBattle__Generate_scrollview ---@field private smallPets UnityEngine.GameObject ---@field private iconPetItem UIPetBattle__Generate_iconPetItem ---@field private noPets UnityEngine.GameObject ---@field private top UnityEngine.GameObject ---@field private roleList UnityEngine.GameObject ---@field private roleListAnim UnityEngine.GameObject ---@field private hero1 UIPetBattle__Generate_hero1 ---@field private hero2 UIPetBattle__Generate_hero2 ---@field private hero3 UIPetBattle__Generate_hero3 ---@field private hero4 UIPetBattle__Generate_hero4 ---@field private hero5 UIPetBattle__Generate_hero5 ---@field private hero6 UIPetBattle__Generate_hero6 ---@field private slotList UIPetBattle__Generate_slotList ---@field private slotEmpty UIPetBattle__Generate_slotEmpty ---@field private slotTrigger UIPetBattle__Generate_slotTrigger ---@field private slotBattle UIPetBattle__Generate_slotBattle ---@field private btnPlayRule UIPetBattle__Generate_btnPlayRule ---@field private btnBack UIPetBattle__Generate_btnBack ---@field private btnOneKeyBattle UIPetBattle__Generate_btnOneKeyBattle ---@field private mask UnityEngine.GameObject local UIPetBattleView = class("UIPetBattleView", require("UIViewBase")) function UIPetBattleView:ctor() end ---@private function UIPetBattleView:SetActive(result) self.gameObject:SetActive(result) end ---@private function UIPetBattleView: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) self:InitGenerate__64(Root,data) self:InitGenerate__65(Root,data) self:InitGenerate__66(Root,data) self:InitGenerate__67(Root,data) self:InitGenerate__68(Root,data) self:InitGenerate__69(Root,data) end ---@private function UIPetBattleView: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 UIPetBattleView: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 UIPetBattleView:InitGenerate__3(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 UIPetBattleView:InitGenerate__4(Root, data) --[[ UIAnimator/Window/BottomList/BtnFilter --]] local tmp = Root:Find("UIAnimator/Window/BottomList/BtnFilter").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.btnFilter = tmp tmp.button = tmp:GetComponent(Enum.TypeInfo.Button) end ---@private function UIPetBattleView:InitGenerate__5(Root, data) --[[ UIAnimator/Window/BottomList/BtnFilter/Check --]] local tmp = Root:Find("UIAnimator/Window/BottomList/BtnFilter/Check").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.btnFilter.check = tmp end ---@private function UIPetBattleView:InitGenerate__6(Root, data) --[[ UIAnimator/Window/BottomList/BattlePetCount/Count --]] local tmp = Root:Find("UIAnimator/Window/BottomList/BattlePetCount/Count").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.battlePetCount = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.Text) end ---@private function UIPetBattleView:InitGenerate__7(Root, data) --[[ UIAnimator/Window/BottomList/scrollview --]] local tmp = Root:Find("UIAnimator/Window/BottomList/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 UIPetBattleView:InitGenerate__8(Root, data) --[[ UIAnimator/Window/BottomList/scrollview/Viewport/Content --]] local tmp = Root:Find("UIAnimator/Window/BottomList/scrollview/Viewport/Content").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.smallPets = tmp end ---@private function UIPetBattleView:InitGenerate__9(Root, data) --[[ UIAnimator/Window/BottomList/scrollview/Viewport/Content/IconPetItem --]] local tmp = Root:Find("UIAnimator/Window/BottomList/scrollview/Viewport/Content/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 UIPetBattleView:InitGenerate__10(Root, data) --[[ UIAnimator/Window/BottomList/NoPets --]] local tmp = Root:Find("UIAnimator/Window/BottomList/NoPets").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.noPets = tmp end ---@private function UIPetBattleView:InitGenerate__11(Root, data) --[[ UIAnimator/Window/Top --]] local tmp = Root:Find("UIAnimator/Window/Top").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.top = tmp end ---@private function UIPetBattleView:InitGenerate__12(Root, data) --[[ UIAnimator/Window/Top/RoleList --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.roleList = tmp end ---@private function UIPetBattleView:InitGenerate__13(Root, data) --[[ UIAnimator/Window/Top/RoleList/RoleListAnim --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/RoleListAnim").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.roleListAnim = tmp end ---@private function UIPetBattleView:InitGenerate__14(Root, data) --[[ UIAnimator/Window/Top/RoleList/RoleListAnim/Role1 --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/RoleListAnim/Role1").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.hero1 = tmp tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform) end ---@private function UIPetBattleView:InitGenerate__15(Root, data) --[[ UIAnimator/Window/Top/RoleList/RoleListAnim/Role2 --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/RoleListAnim/Role2").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.hero2 = tmp tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform) end ---@private function UIPetBattleView:InitGenerate__16(Root, data) --[[ UIAnimator/Window/Top/RoleList/RoleListAnim/Role3 --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/RoleListAnim/Role3").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.hero3 = tmp tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform) end ---@private function UIPetBattleView:InitGenerate__17(Root, data) --[[ UIAnimator/Window/Top/RoleList/RoleListAnim/Role4 --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/RoleListAnim/Role4").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.hero4 = tmp tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform) end ---@private function UIPetBattleView:InitGenerate__18(Root, data) --[[ UIAnimator/Window/Top/RoleList/RoleListAnim/Role5 --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/RoleListAnim/Role5").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.hero5 = tmp tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform) end ---@private function UIPetBattleView:InitGenerate__19(Root, data) --[[ UIAnimator/Window/Top/RoleList/RoleListAnim/Role6 --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/RoleListAnim/Role6").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.hero6 = tmp tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform) end ---@private function UIPetBattleView:InitGenerate__20(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotList --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotList").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotList = tmp end ---@private function UIPetBattleView:InitGenerate__21(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotList/Slot1 --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotList/Slot1").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotList.slot1 = tmp tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform) end ---@private function UIPetBattleView:InitGenerate__22(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotList/Slot2 --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotList/Slot2").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotList.slot2 = tmp tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform) end ---@private function UIPetBattleView:InitGenerate__23(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotList/Slot3 --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotList/Slot3").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotList.slot3 = tmp tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform) end ---@private function UIPetBattleView:InitGenerate__24(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotList/Slot4 --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotList/Slot4").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotList.slot4 = tmp tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform) end ---@private function UIPetBattleView:InitGenerate__25(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotList/Slot5 --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotList/Slot5").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotList.slot5 = tmp tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform) end ---@private function UIPetBattleView:InitGenerate__26(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotList/Slot6 --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotList/Slot6").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotList.slot6 = tmp tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform) end ---@private function UIPetBattleView:InitGenerate__27(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotEmpty --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotEmpty = tmp end ---@private function UIPetBattleView:InitGenerate__28(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotEmpty/Slot1/BtnBattle --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty/Slot1/BtnBattle").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotEmpty.slot1Btn = tmp tmp.button = tmp:GetComponent(Enum.TypeInfo.Button) end ---@private function UIPetBattleView:InitGenerate__29(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotEmpty/Slot1/BtnBattle/Text --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty/Slot1/BtnBattle/Text").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotEmpty.slot1Btn.text = tmp tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript) end ---@private function UIPetBattleView:InitGenerate__30(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotEmpty/Slot2/BtnBattle --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty/Slot2/BtnBattle").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotEmpty.slot2Btn = tmp tmp.button = tmp:GetComponent(Enum.TypeInfo.Button) end ---@private function UIPetBattleView:InitGenerate__31(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotEmpty/Slot2/BtnBattle/Text --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty/Slot2/BtnBattle/Text").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotEmpty.slot2Btn.text = tmp tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript) end ---@private function UIPetBattleView:InitGenerate__32(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotEmpty/Slot3/BtnBattle --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty/Slot3/BtnBattle").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotEmpty.slot3Btn = tmp tmp.button = tmp:GetComponent(Enum.TypeInfo.Button) end ---@private function UIPetBattleView:InitGenerate__33(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotEmpty/Slot3/BtnBattle/Text --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty/Slot3/BtnBattle/Text").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotEmpty.slot3Btn.text = tmp tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript) end ---@private function UIPetBattleView:InitGenerate__34(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotEmpty/Slot4/BtnBattle --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty/Slot4/BtnBattle").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotEmpty.slot4Btn = tmp tmp.button = tmp:GetComponent(Enum.TypeInfo.Button) end ---@private function UIPetBattleView:InitGenerate__35(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotEmpty/Slot4/BtnBattle/Text --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty/Slot4/BtnBattle/Text").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotEmpty.slot4Btn.text = tmp tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript) end ---@private function UIPetBattleView:InitGenerate__36(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotEmpty/Slot5/BtnBattle --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty/Slot5/BtnBattle").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotEmpty.slot5Btn = tmp tmp.button = tmp:GetComponent(Enum.TypeInfo.Button) end ---@private function UIPetBattleView:InitGenerate__37(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotEmpty/Slot5/BtnBattle/Text --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty/Slot5/BtnBattle/Text").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotEmpty.slot5Btn.text = tmp tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript) end ---@private function UIPetBattleView:InitGenerate__38(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotEmpty/Slot6/BtnBattle --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty/Slot6/BtnBattle").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotEmpty.slot6Btn = tmp tmp.button = tmp:GetComponent(Enum.TypeInfo.Button) end ---@private function UIPetBattleView:InitGenerate__39(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotEmpty/Slot6/BtnBattle/Text --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotEmpty/Slot6/BtnBattle/Text").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotEmpty.slot6Btn.text = tmp tmp.uILocalizeScript = tmp:GetComponent(Enum.TypeInfo.UILocalizeScript) end ---@private function UIPetBattleView:InitGenerate__40(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotTrigger --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotTrigger = tmp end ---@private function UIPetBattleView:InitGenerate__41(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotTrigger/Slot1 --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot1").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotTrigger.slot1 = tmp tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform) tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener) end ---@private function UIPetBattleView:InitGenerate__42(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotTrigger/Slot2 --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot2").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotTrigger.slot2 = tmp tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform) tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener) end ---@private function UIPetBattleView:InitGenerate__43(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotTrigger/Slot3 --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot3").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotTrigger.slot3 = tmp tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform) tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener) end ---@private function UIPetBattleView:InitGenerate__44(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotTrigger/Slot4 --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot4").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotTrigger.slot4 = tmp tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform) tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener) end ---@private function UIPetBattleView:InitGenerate__45(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotTrigger/Slot5 --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot5").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotTrigger.slot5 = tmp tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform) tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener) end ---@private function UIPetBattleView:InitGenerate__46(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotTrigger/Slot6 --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot6").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotTrigger.slot6 = tmp tmp.rectTransform = tmp:GetComponent(Enum.TypeInfo.RectTransform) tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener) end ---@private function UIPetBattleView:InitGenerate__47(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotTrigger/Slot1_lock --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot1_lock").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotTrigger.slot1_lock = tmp end ---@private function UIPetBattleView:InitGenerate__48(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotTrigger/Slot1_lock/lockbg --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot1_lock/lockbg").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotTrigger.slotLock1 = tmp tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener) end ---@private function UIPetBattleView:InitGenerate__49(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotTrigger/Slot2_lock --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot2_lock").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotTrigger.slot2_lock = tmp end ---@private function UIPetBattleView:InitGenerate__50(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotTrigger/Slot2_lock/lockbg --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot2_lock/lockbg").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotTrigger.slotLock2 = tmp tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener) end ---@private function UIPetBattleView:InitGenerate__51(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotTrigger/Slot3_lock --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot3_lock").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotTrigger.slot3_lock = tmp end ---@private function UIPetBattleView:InitGenerate__52(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotTrigger/Slot3_lock/lockbg --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot3_lock/lockbg").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotTrigger.slotLock3 = tmp tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener) end ---@private function UIPetBattleView:InitGenerate__53(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotTrigger/Slot4_lock --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot4_lock").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotTrigger.slot4_lock = tmp end ---@private function UIPetBattleView:InitGenerate__54(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotTrigger/Slot4_lock/lockbg --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot4_lock/lockbg").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotTrigger.slotLock4 = tmp tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener) end ---@private function UIPetBattleView:InitGenerate__55(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotTrigger/Slot5_lock --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot5_lock").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotTrigger.slot5_lock = tmp end ---@private function UIPetBattleView:InitGenerate__56(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotTrigger/Slot5_lock/lockbg --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot5_lock/lockbg").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotTrigger.slotLock5 = tmp tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener) end ---@private function UIPetBattleView:InitGenerate__57(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotTrigger/Slot6_lock --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot6_lock").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotTrigger.slot6_lock = tmp end ---@private function UIPetBattleView:InitGenerate__58(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotTrigger/Slot6_lock/lockbg --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotTrigger/Slot6_lock/lockbg").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotTrigger.slotLock6 = tmp tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener) end ---@private function UIPetBattleView:InitGenerate__59(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotBattle --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotBattle").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotBattle = tmp end ---@private function UIPetBattleView:InitGenerate__60(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotBattle/Slot1 --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotBattle/Slot1").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotBattle.slot1 = tmp end ---@private function UIPetBattleView:InitGenerate__61(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotBattle/Slot2 --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotBattle/Slot2").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotBattle.slot2 = tmp end ---@private function UIPetBattleView:InitGenerate__62(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotBattle/Slot3 --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotBattle/Slot3").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotBattle.slot3 = tmp end ---@private function UIPetBattleView:InitGenerate__63(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotBattle/Slot4 --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotBattle/Slot4").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotBattle.slot4 = tmp end ---@private function UIPetBattleView:InitGenerate__64(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotBattle/Slot5 --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotBattle/Slot5").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotBattle.slot5 = tmp end ---@private function UIPetBattleView:InitGenerate__65(Root, data) --[[ UIAnimator/Window/Top/RoleList/SlotBattle/Slot6 --]] local tmp = Root:Find("UIAnimator/Window/Top/RoleList/SlotBattle/Slot6").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.slotBattle.slot6 = tmp end ---@private function UIPetBattleView:InitGenerate__66(Root, data) --[[ UIAnimator/Window/BtnBg/BtnPlayRule --]] local tmp = Root:Find("UIAnimator/Window/BtnBg/BtnPlayRule").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.btnPlayRule = tmp tmp.button = tmp:GetComponent(Enum.TypeInfo.Button) end ---@private function UIPetBattleView:InitGenerate__67(Root, data) --[[ UIAnimator/Window/BtnBack --]] local tmp = Root:Find("UIAnimator/Window/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 UIPetBattleView:InitGenerate__68(Root, data) --[[ UIAnimator/Window/BtnOneKeyBattle --]] local tmp = Root:Find("UIAnimator/Window/BtnOneKeyBattle").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.btnOneKeyBattle = tmp tmp.button = tmp:GetComponent(Enum.TypeInfo.Button) end ---@private function UIPetBattleView:InitGenerate__69(Root, data) --[[ UIAnimator/Window/Mask --]] local tmp = Root:Find("UIAnimator/Window/Mask").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.mask = tmp self.mask:SetActive(false) end ---@private function UIPetBattleView:GenerateDestroy() if tolua.getpeer(self.slotBattle.slot6) ~= nil then tolua.setpeer(self.slotBattle.slot6, nil) end if tolua.getpeer(self.slotBattle.slot5) ~= nil then tolua.setpeer(self.slotBattle.slot5, nil) end if tolua.getpeer(self.slotBattle.slot4) ~= nil then tolua.setpeer(self.slotBattle.slot4, nil) end if tolua.getpeer(self.slotBattle.slot3) ~= nil then tolua.setpeer(self.slotBattle.slot3, nil) end if tolua.getpeer(self.slotBattle.slot2) ~= nil then tolua.setpeer(self.slotBattle.slot2, nil) end if tolua.getpeer(self.slotBattle.slot1) ~= nil then tolua.setpeer(self.slotBattle.slot1, nil) end if tolua.getpeer(self.slotTrigger.slotLock6) ~= nil then tolua.setpeer(self.slotTrigger.slotLock6, nil) end if tolua.getpeer(self.slotTrigger.slot6_lock) ~= nil then tolua.setpeer(self.slotTrigger.slot6_lock, nil) end if tolua.getpeer(self.slotTrigger.slotLock5) ~= nil then tolua.setpeer(self.slotTrigger.slotLock5, nil) end if tolua.getpeer(self.slotTrigger.slot5_lock) ~= nil then tolua.setpeer(self.slotTrigger.slot5_lock, nil) end if tolua.getpeer(self.slotTrigger.slotLock4) ~= nil then tolua.setpeer(self.slotTrigger.slotLock4, nil) end if tolua.getpeer(self.slotTrigger.slot4_lock) ~= nil then tolua.setpeer(self.slotTrigger.slot4_lock, nil) end if tolua.getpeer(self.slotTrigger.slotLock3) ~= nil then tolua.setpeer(self.slotTrigger.slotLock3, nil) end if tolua.getpeer(self.slotTrigger.slot3_lock) ~= nil then tolua.setpeer(self.slotTrigger.slot3_lock, nil) end if tolua.getpeer(self.slotTrigger.slotLock2) ~= nil then tolua.setpeer(self.slotTrigger.slotLock2, nil) end if tolua.getpeer(self.slotTrigger.slot2_lock) ~= nil then tolua.setpeer(self.slotTrigger.slot2_lock, nil) end if tolua.getpeer(self.slotTrigger.slotLock1) ~= nil then tolua.setpeer(self.slotTrigger.slotLock1, nil) end if tolua.getpeer(self.slotTrigger.slot1_lock) ~= nil then tolua.setpeer(self.slotTrigger.slot1_lock, nil) end if tolua.getpeer(self.slotTrigger.slot6) ~= nil then tolua.setpeer(self.slotTrigger.slot6, nil) end if tolua.getpeer(self.slotTrigger.slot5) ~= nil then tolua.setpeer(self.slotTrigger.slot5, nil) end if tolua.getpeer(self.slotTrigger.slot4) ~= nil then tolua.setpeer(self.slotTrigger.slot4, nil) end if tolua.getpeer(self.slotTrigger.slot3) ~= nil then tolua.setpeer(self.slotTrigger.slot3, nil) end if tolua.getpeer(self.slotTrigger.slot2) ~= nil then tolua.setpeer(self.slotTrigger.slot2, nil) end if tolua.getpeer(self.slotTrigger.slot1) ~= nil then tolua.setpeer(self.slotTrigger.slot1, nil) end if tolua.getpeer(self.slotEmpty.slot6Btn.text) ~= nil then tolua.setpeer(self.slotEmpty.slot6Btn.text, nil) end if tolua.getpeer(self.slotEmpty.slot6Btn) ~= nil then tolua.setpeer(self.slotEmpty.slot6Btn, nil) end if tolua.getpeer(self.slotEmpty.slot5Btn.text) ~= nil then tolua.setpeer(self.slotEmpty.slot5Btn.text, nil) end if tolua.getpeer(self.slotEmpty.slot5Btn) ~= nil then tolua.setpeer(self.slotEmpty.slot5Btn, nil) end if tolua.getpeer(self.slotEmpty.slot4Btn.text) ~= nil then tolua.setpeer(self.slotEmpty.slot4Btn.text, nil) end if tolua.getpeer(self.slotEmpty.slot4Btn) ~= nil then tolua.setpeer(self.slotEmpty.slot4Btn, nil) end if tolua.getpeer(self.slotEmpty.slot3Btn.text) ~= nil then tolua.setpeer(self.slotEmpty.slot3Btn.text, nil) end if tolua.getpeer(self.slotEmpty.slot3Btn) ~= nil then tolua.setpeer(self.slotEmpty.slot3Btn, nil) end if tolua.getpeer(self.slotEmpty.slot2Btn.text) ~= nil then tolua.setpeer(self.slotEmpty.slot2Btn.text, nil) end if tolua.getpeer(self.slotEmpty.slot2Btn) ~= nil then tolua.setpeer(self.slotEmpty.slot2Btn, nil) end if tolua.getpeer(self.slotEmpty.slot1Btn.text) ~= nil then tolua.setpeer(self.slotEmpty.slot1Btn.text, nil) end if tolua.getpeer(self.slotEmpty.slot1Btn) ~= nil then tolua.setpeer(self.slotEmpty.slot1Btn, nil) end if tolua.getpeer(self.slotList.slot6) ~= nil then tolua.setpeer(self.slotList.slot6, nil) end if tolua.getpeer(self.slotList.slot5) ~= nil then tolua.setpeer(self.slotList.slot5, nil) end if tolua.getpeer(self.slotList.slot4) ~= nil then tolua.setpeer(self.slotList.slot4, nil) end if tolua.getpeer(self.slotList.slot3) ~= nil then tolua.setpeer(self.slotList.slot3, nil) end if tolua.getpeer(self.slotList.slot2) ~= nil then tolua.setpeer(self.slotList.slot2, nil) end if tolua.getpeer(self.slotList.slot1) ~= nil then tolua.setpeer(self.slotList.slot1, nil) end if tolua.getpeer(self.btnFilter.check) ~= nil then tolua.setpeer(self.btnFilter.check, 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.btnFilter) ~= nil then tolua.setpeer(self.btnFilter, nil) end self.btnFilter = nil if tolua.getpeer(self.battlePetCount) ~= nil then tolua.setpeer(self.battlePetCount, nil) end self.battlePetCount = nil if tolua.getpeer(self.scrollview) ~= nil then tolua.setpeer(self.scrollview, nil) end self.scrollview = nil if tolua.getpeer(self.smallPets) ~= nil then tolua.setpeer(self.smallPets, nil) end self.smallPets = 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.noPets) ~= nil then tolua.setpeer(self.noPets, nil) end self.noPets = nil if tolua.getpeer(self.top) ~= nil then tolua.setpeer(self.top, nil) end self.top = nil if tolua.getpeer(self.roleList) ~= nil then tolua.setpeer(self.roleList, nil) end self.roleList = nil if tolua.getpeer(self.roleListAnim) ~= nil then tolua.setpeer(self.roleListAnim, nil) end self.roleListAnim = nil if tolua.getpeer(self.hero1) ~= nil then tolua.setpeer(self.hero1, nil) end self.hero1 = nil if tolua.getpeer(self.hero2) ~= nil then tolua.setpeer(self.hero2, nil) end self.hero2 = nil if tolua.getpeer(self.hero3) ~= nil then tolua.setpeer(self.hero3, nil) end self.hero3 = nil if tolua.getpeer(self.hero4) ~= nil then tolua.setpeer(self.hero4, nil) end self.hero4 = nil if tolua.getpeer(self.hero5) ~= nil then tolua.setpeer(self.hero5, nil) end self.hero5 = nil if tolua.getpeer(self.hero6) ~= nil then tolua.setpeer(self.hero6, nil) end self.hero6 = nil if tolua.getpeer(self.slotList) ~= nil then tolua.setpeer(self.slotList, nil) end self.slotList = nil if tolua.getpeer(self.slotEmpty) ~= nil then tolua.setpeer(self.slotEmpty, nil) end self.slotEmpty = nil if tolua.getpeer(self.slotTrigger) ~= nil then tolua.setpeer(self.slotTrigger, nil) end self.slotTrigger = nil if tolua.getpeer(self.slotBattle) ~= nil then tolua.setpeer(self.slotBattle, nil) end self.slotBattle = nil if tolua.getpeer(self.btnPlayRule) ~= nil then tolua.setpeer(self.btnPlayRule, nil) end self.btnPlayRule = nil if tolua.getpeer(self.btnBack) ~= nil then tolua.setpeer(self.btnBack, nil) end self.btnBack = nil if tolua.getpeer(self.btnOneKeyBattle) ~= nil then tolua.setpeer(self.btnOneKeyBattle, nil) end self.btnOneKeyBattle = nil if tolua.getpeer(self.mask) ~= nil then tolua.setpeer(self.mask, nil) end self.mask = nil self.transform = nil self.gameObject = nil self.inited = false end return UIPetBattleView