---@class BattleHeadsBox__Generate_num ---@field public gameObject UnityEngine.GameObject ---@field public text TMPro.TextMeshProUGUI ---@class BattleHeadsBox__Generate_image ---@field public gameObject UnityEngine.GameObject ---@field public image UnityEngine.UI.Image ---@class BattleHeadsBox__Generate_buffTemp ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@class BattleHeadsBox__Generate_playerDetailNode_jobIcon ---@field public gameObject UnityEngine.GameObject ---@field public image UnityEngine.UI.Image ---@class BattleHeadsBox__Generate_playerDetailNode_spBar ---@field public gameObject UnityEngine.GameObject ---@field public image UnityEngine.UI.Image ---@class BattleHeadsBox__Generate_playerDetailNode_hpBar ---@field public gameObject UnityEngine.GameObject ---@field public image UnityEngine.UI.Image ---@class BattleHeadsBox__Generate_playerDetailNode_playerName ---@field public gameObject UnityEngine.GameObject ---@field public text UnityEngine.UI.Text ---@class BattleHeadsBox__Generate_bg ---@field public gameObject UnityEngine.GameObject ---@field public image UnityEngine.UI.Image ---@class BattleHeadsBox__Generate_playerDetailNode_heroHalf ---@field public gameObject UnityEngine.GameObject ---@field public image UnityEngine.UI.Image ---@class BattleHeadsBox__Generate_playerDetailNode_petNode_petIcon ---@field public gameObject UnityEngine.GameObject ---@field public image UnityEngine.UI.Image ---@class BattleHeadsBox__Generate_playerDetailNode_petNode ---@field public gameObject UnityEngine.GameObject ---@field public petIcon BattleHeadsBox__Generate_playerDetailNode_petNode_petIcon ---@class BattleHeadsBox__Generate_playerDetailNode ---@field public gameObject UnityEngine.GameObject ---@field public petNode BattleHeadsBox__Generate_playerDetailNode_petNode ---@field public heroHalf BattleHeadsBox__Generate_playerDetailNode_heroHalf ---@field public playerName BattleHeadsBox__Generate_playerDetailNode_playerName ---@field public hpBar BattleHeadsBox__Generate_playerDetailNode_hpBar ---@field public spBar BattleHeadsBox__Generate_playerDetailNode_spBar ---@field public jobIcon BattleHeadsBox__Generate_playerDetailNode_jobIcon ---@field public buffBox UnityEngine.GameObject ---@field public deadNode UnityEngine.GameObject ---@class BattleHeadsBox__Generate_playerNode4_headBoxItemNew_sp ---@field public gameObject UnityEngine.GameObject ---@field public image UnityEngine.UI.Image ---@class BattleHeadsBox__Generate_playerNode4_headBoxItemNew_hp ---@field public gameObject UnityEngine.GameObject ---@field public image UnityEngine.UI.Image ---@class BattleHeadsBox__Generate_playerNode4_headBoxItemNew_headItem ---@field public gameObject UnityEngine.GameObject ---@field public layoutElement UnityEngine.UI.LayoutElement ---@class BattleHeadsBox__Generate_playerNode4_headBoxItemNew ---@field public gameObject UnityEngine.GameObject ---@field public headItem BattleHeadsBox__Generate_playerNode4_headBoxItemNew_headItem ---@field public hp BattleHeadsBox__Generate_playerNode4_headBoxItemNew_hp ---@field public sp BattleHeadsBox__Generate_playerNode4_headBoxItemNew_sp ---@field public deadNode UnityEngine.GameObject ---@class BattleHeadsBox__Generate_playerNode4 ---@field public gameObject UnityEngine.GameObject ---@field public headPosItem UnityEngine.GameObject ---@field public headBoxItemNew BattleHeadsBox__Generate_playerNode4_headBoxItemNew ---@class BattleHeadsBox__Generate_playerNode3_headBoxItemNew_sp ---@field public gameObject UnityEngine.GameObject ---@field public image UnityEngine.UI.Image ---@class BattleHeadsBox__Generate_playerNode3_headBoxItemNew_hp ---@field public gameObject UnityEngine.GameObject ---@field public image UnityEngine.UI.Image ---@class BattleHeadsBox__Generate_playerNode3_headBoxItemNew_headItem ---@field public gameObject UnityEngine.GameObject ---@field public layoutElement UnityEngine.UI.LayoutElement ---@class BattleHeadsBox__Generate_playerNode3_headBoxItemNew ---@field public gameObject UnityEngine.GameObject ---@field public headItem BattleHeadsBox__Generate_playerNode3_headBoxItemNew_headItem ---@field public hp BattleHeadsBox__Generate_playerNode3_headBoxItemNew_hp ---@field public sp BattleHeadsBox__Generate_playerNode3_headBoxItemNew_sp ---@field public deadNode UnityEngine.GameObject ---@class BattleHeadsBox__Generate_playerNode3 ---@field public gameObject UnityEngine.GameObject ---@field public headPosItem UnityEngine.GameObject ---@field public headBoxItemNew BattleHeadsBox__Generate_playerNode3_headBoxItemNew ---@class BattleHeadsBox__Generate_playerNode2_headBoxItemNew_sp ---@field public gameObject UnityEngine.GameObject ---@field public image UnityEngine.UI.Image ---@class BattleHeadsBox__Generate_playerNode2_headBoxItemNew_hp ---@field public gameObject UnityEngine.GameObject ---@field public image UnityEngine.UI.Image ---@class BattleHeadsBox__Generate_playerNode2_headBoxItemNew_headItem ---@field public gameObject UnityEngine.GameObject ---@field public layoutElement UnityEngine.UI.LayoutElement ---@class BattleHeadsBox__Generate_playerNode2_headBoxItemNew ---@field public gameObject UnityEngine.GameObject ---@field public headItem BattleHeadsBox__Generate_playerNode2_headBoxItemNew_headItem ---@field public hp BattleHeadsBox__Generate_playerNode2_headBoxItemNew_hp ---@field public sp BattleHeadsBox__Generate_playerNode2_headBoxItemNew_sp ---@field public deadNode UnityEngine.GameObject ---@class BattleHeadsBox__Generate_playerNode2 ---@field public gameObject UnityEngine.GameObject ---@field public headPosItem UnityEngine.GameObject ---@field public headBoxItemNew BattleHeadsBox__Generate_playerNode2_headBoxItemNew ---@class BattleHeadsBox__Generate_playerNode1_headBoxItemNew_sp ---@field public gameObject UnityEngine.GameObject ---@field public image UnityEngine.UI.Image ---@class BattleHeadsBox__Generate_playerNode1_headBoxItemNew_hp ---@field public gameObject UnityEngine.GameObject ---@field public image UnityEngine.UI.Image ---@class BattleHeadsBox__Generate_playerNode1_headBoxItemNew_headItem ---@field public gameObject UnityEngine.GameObject ---@field public layoutElement UnityEngine.UI.LayoutElement ---@class BattleHeadsBox__Generate_playerNode1_headBoxItemNew ---@field public gameObject UnityEngine.GameObject ---@field public headItem BattleHeadsBox__Generate_playerNode1_headBoxItemNew_headItem ---@field public hp BattleHeadsBox__Generate_playerNode1_headBoxItemNew_hp ---@field public sp BattleHeadsBox__Generate_playerNode1_headBoxItemNew_sp ---@field public deadNode UnityEngine.GameObject ---@class BattleHeadsBox__Generate_playerNode1 ---@field public gameObject UnityEngine.GameObject ---@field public headPosItem UnityEngine.GameObject ---@field public headBoxItemNew BattleHeadsBox__Generate_playerNode1_headBoxItemNew ---@class BattleHeadsBox__Generate_headsBoxAnim ---@field public gameObject UnityEngine.GameObject ---@field public animator UnityEngine.Animator ---@class BattleHeadsBox__Generate ---@field private gameObject UnityEngine.GameObject ---@field private transform UnityEngine.Transform ---@field private headsBoxAnim BattleHeadsBox__Generate_headsBoxAnim ---@field private playerNode1 BattleHeadsBox__Generate_playerNode1 ---@field private playerNode2 BattleHeadsBox__Generate_playerNode2 ---@field private playerNode3 BattleHeadsBox__Generate_playerNode3 ---@field private playerNode4 BattleHeadsBox__Generate_playerNode4 ---@field private playerDetailNode BattleHeadsBox__Generate_playerDetailNode ---@field private bg BattleHeadsBox__Generate_bg ---@field private buffTemp BattleHeadsBox__Generate_buffTemp ---@field private image BattleHeadsBox__Generate_image ---@field private num BattleHeadsBox__Generate_num local BattleHeadsBoxView = class("BattleHeadsBoxView") function BattleHeadsBoxView:ctor() end ---@private function BattleHeadsBoxView:SetActive(result) self.gameObject:SetActive(result) end ---@private function BattleHeadsBoxView:InitGenerate(Root, data) self.transform = Root self.inited = true 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) end ---@private function BattleHeadsBoxView:InitGenerate__1(Root, data) --[[ HeadsBoxAnim --]] local tmp = Root:Find("HeadsBoxAnim").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.headsBoxAnim = tmp tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator) tmp.animator.logWarnings = false end ---@private function BattleHeadsBoxView:InitGenerate__2(Root, data) --[[ HeadsBoxAnim/PlayerList/Player1 --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player1").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode1 = tmp end ---@private function BattleHeadsBoxView:InitGenerate__3(Root, data) --[[ HeadsBoxAnim/PlayerList/Player1/HeadPosItem --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player1/HeadPosItem").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode1.headPosItem = tmp end ---@private function BattleHeadsBoxView:InitGenerate__4(Root, data) --[[ HeadsBoxAnim/PlayerList/Player1/HeadBoxItemNew --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player1/HeadBoxItemNew").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode1.headBoxItemNew = tmp end ---@private function BattleHeadsBoxView:InitGenerate__5(Root, data) --[[ HeadsBoxAnim/PlayerList/Player1/HeadBoxItemNew/HeadItem --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player1/HeadBoxItemNew/HeadItem").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode1.headBoxItemNew.headItem = CommonUtil.BindGridViewItem2LuaStatic("HeadItem", tmp) self.playerNode1.headBoxItemNew.headItem.prefabName = "HeadItem" tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement) end ---@private function BattleHeadsBoxView:InitGenerate__6(Root, data) --[[ HeadsBoxAnim/PlayerList/Player1/HeadBoxItemNew/Bar/HP/bloodImg --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player1/HeadBoxItemNew/Bar/HP/bloodImg").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode1.headBoxItemNew.hp = tmp tmp.image = tmp:GetComponent(Enum.TypeInfo.Image) end ---@private function BattleHeadsBoxView:InitGenerate__7(Root, data) --[[ HeadsBoxAnim/PlayerList/Player1/HeadBoxItemNew/Bar/Sp/spImg --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player1/HeadBoxItemNew/Bar/Sp/spImg").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode1.headBoxItemNew.sp = tmp tmp.image = tmp:GetComponent(Enum.TypeInfo.Image) end ---@private function BattleHeadsBoxView:InitGenerate__8(Root, data) --[[ HeadsBoxAnim/PlayerList/Player1/HeadBoxItemNew/Dead --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player1/HeadBoxItemNew/Dead").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode1.headBoxItemNew.deadNode = tmp end ---@private function BattleHeadsBoxView:InitGenerate__9(Root, data) --[[ HeadsBoxAnim/PlayerList/Player2 --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player2").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode2 = tmp end ---@private function BattleHeadsBoxView:InitGenerate__10(Root, data) --[[ HeadsBoxAnim/PlayerList/Player2/HeadPosItem --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player2/HeadPosItem").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode2.headPosItem = tmp end ---@private function BattleHeadsBoxView:InitGenerate__11(Root, data) --[[ HeadsBoxAnim/PlayerList/Player2/HeadBoxItemNew --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player2/HeadBoxItemNew").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode2.headBoxItemNew = tmp end ---@private function BattleHeadsBoxView:InitGenerate__12(Root, data) --[[ HeadsBoxAnim/PlayerList/Player2/HeadBoxItemNew/HeadItem --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player2/HeadBoxItemNew/HeadItem").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode2.headBoxItemNew.headItem = CommonUtil.BindGridViewItem2LuaStatic("HeadItem", tmp) self.playerNode2.headBoxItemNew.headItem.prefabName = "HeadItem" tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement) end ---@private function BattleHeadsBoxView:InitGenerate__13(Root, data) --[[ HeadsBoxAnim/PlayerList/Player2/HeadBoxItemNew/Bar/HP/bloodImg --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player2/HeadBoxItemNew/Bar/HP/bloodImg").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode2.headBoxItemNew.hp = tmp tmp.image = tmp:GetComponent(Enum.TypeInfo.Image) end ---@private function BattleHeadsBoxView:InitGenerate__14(Root, data) --[[ HeadsBoxAnim/PlayerList/Player2/HeadBoxItemNew/Bar/Sp/spImg --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player2/HeadBoxItemNew/Bar/Sp/spImg").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode2.headBoxItemNew.sp = tmp tmp.image = tmp:GetComponent(Enum.TypeInfo.Image) end ---@private function BattleHeadsBoxView:InitGenerate__15(Root, data) --[[ HeadsBoxAnim/PlayerList/Player2/HeadBoxItemNew/Dead --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player2/HeadBoxItemNew/Dead").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode2.headBoxItemNew.deadNode = tmp end ---@private function BattleHeadsBoxView:InitGenerate__16(Root, data) --[[ HeadsBoxAnim/PlayerList/Player3 --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player3").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode3 = tmp end ---@private function BattleHeadsBoxView:InitGenerate__17(Root, data) --[[ HeadsBoxAnim/PlayerList/Player3/HeadPosItem --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player3/HeadPosItem").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode3.headPosItem = tmp end ---@private function BattleHeadsBoxView:InitGenerate__18(Root, data) --[[ HeadsBoxAnim/PlayerList/Player3/HeadBoxItemNew --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player3/HeadBoxItemNew").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode3.headBoxItemNew = tmp end ---@private function BattleHeadsBoxView:InitGenerate__19(Root, data) --[[ HeadsBoxAnim/PlayerList/Player3/HeadBoxItemNew/HeadItem --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player3/HeadBoxItemNew/HeadItem").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode3.headBoxItemNew.headItem = CommonUtil.BindGridViewItem2LuaStatic("HeadItem", tmp) self.playerNode3.headBoxItemNew.headItem.prefabName = "HeadItem" tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement) end ---@private function BattleHeadsBoxView:InitGenerate__20(Root, data) --[[ HeadsBoxAnim/PlayerList/Player3/HeadBoxItemNew/Bar/HP/bloodImg --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player3/HeadBoxItemNew/Bar/HP/bloodImg").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode3.headBoxItemNew.hp = tmp tmp.image = tmp:GetComponent(Enum.TypeInfo.Image) end ---@private function BattleHeadsBoxView:InitGenerate__21(Root, data) --[[ HeadsBoxAnim/PlayerList/Player3/HeadBoxItemNew/Bar/Sp/spImg --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player3/HeadBoxItemNew/Bar/Sp/spImg").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode3.headBoxItemNew.sp = tmp tmp.image = tmp:GetComponent(Enum.TypeInfo.Image) end ---@private function BattleHeadsBoxView:InitGenerate__22(Root, data) --[[ HeadsBoxAnim/PlayerList/Player3/HeadBoxItemNew/Dead --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player3/HeadBoxItemNew/Dead").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode3.headBoxItemNew.deadNode = tmp end ---@private function BattleHeadsBoxView:InitGenerate__23(Root, data) --[[ HeadsBoxAnim/PlayerList/Player4 --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player4").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode4 = tmp end ---@private function BattleHeadsBoxView:InitGenerate__24(Root, data) --[[ HeadsBoxAnim/PlayerList/Player4/HeadPosItem --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player4/HeadPosItem").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode4.headPosItem = tmp end ---@private function BattleHeadsBoxView:InitGenerate__25(Root, data) --[[ HeadsBoxAnim/PlayerList/Player4/HeadBoxItemNew --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player4/HeadBoxItemNew").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode4.headBoxItemNew = tmp end ---@private function BattleHeadsBoxView:InitGenerate__26(Root, data) --[[ HeadsBoxAnim/PlayerList/Player4/HeadBoxItemNew/HeadItem --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player4/HeadBoxItemNew/HeadItem").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode4.headBoxItemNew.headItem = CommonUtil.BindGridViewItem2LuaStatic("HeadItem", tmp) self.playerNode4.headBoxItemNew.headItem.prefabName = "HeadItem" tmp.layoutElement = tmp:GetComponent(Enum.TypeInfo.LayoutElement) end ---@private function BattleHeadsBoxView:InitGenerate__27(Root, data) --[[ HeadsBoxAnim/PlayerList/Player4/HeadBoxItemNew/Bar/HP/bloodImg --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player4/HeadBoxItemNew/Bar/HP/bloodImg").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode4.headBoxItemNew.hp = tmp tmp.image = tmp:GetComponent(Enum.TypeInfo.Image) end ---@private function BattleHeadsBoxView:InitGenerate__28(Root, data) --[[ HeadsBoxAnim/PlayerList/Player4/HeadBoxItemNew/Bar/Sp/spImg --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player4/HeadBoxItemNew/Bar/Sp/spImg").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode4.headBoxItemNew.sp = tmp tmp.image = tmp:GetComponent(Enum.TypeInfo.Image) end ---@private function BattleHeadsBoxView:InitGenerate__29(Root, data) --[[ HeadsBoxAnim/PlayerList/Player4/HeadBoxItemNew/Dead --]] local tmp = Root:Find("HeadsBoxAnim/PlayerList/Player4/HeadBoxItemNew/Dead").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerNode4.headBoxItemNew.deadNode = tmp end ---@private function BattleHeadsBoxView:InitGenerate__30(Root, data) --[[ HeadsBoxAnim/PlayerBox/Player --]] local tmp = Root:Find("HeadsBoxAnim/PlayerBox/Player").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerDetailNode = tmp end ---@private function BattleHeadsBoxView:InitGenerate__31(Root, data) --[[ HeadsBoxAnim/PlayerBox/Player/PetBox --]] local tmp = Root:Find("HeadsBoxAnim/PlayerBox/Player/PetBox").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerDetailNode.petNode = tmp end ---@private function BattleHeadsBoxView:InitGenerate__32(Root, data) --[[ HeadsBoxAnim/PlayerBox/Player/PetBox/Mask/PetIcon --]] local tmp = Root:Find("HeadsBoxAnim/PlayerBox/Player/PetBox/Mask/PetIcon").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerDetailNode.petNode.petIcon = tmp tmp.image = tmp:GetComponent(Enum.TypeInfo.Image) end ---@private function BattleHeadsBoxView:InitGenerate__33(Root, data) --[[ HeadsBoxAnim/PlayerBox/Player/HeroBox/HeroHalf --]] local tmp = Root:Find("HeadsBoxAnim/PlayerBox/Player/HeroBox/HeroHalf").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerDetailNode.heroHalf = tmp tmp.image = tmp:GetComponent(Enum.TypeInfo.Image) end ---@private function BattleHeadsBoxView:InitGenerate__34(Root, data) --[[ HeadsBoxAnim/PlayerBox/Player/NameBox/bg --]] local tmp = Root:Find("HeadsBoxAnim/PlayerBox/Player/NameBox/bg").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.bg = tmp tmp.image = tmp:GetComponent(Enum.TypeInfo.Image) end ---@private function BattleHeadsBoxView:InitGenerate__35(Root, data) --[[ HeadsBoxAnim/PlayerBox/Player/NameBox/Text --]] local tmp = Root:Find("HeadsBoxAnim/PlayerBox/Player/NameBox/Text").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerDetailNode.playerName = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.Text) end ---@private function BattleHeadsBoxView:InitGenerate__36(Root, data) --[[ HeadsBoxAnim/PlayerBox/Player/Bar/HP/bloodImg --]] local tmp = Root:Find("HeadsBoxAnim/PlayerBox/Player/Bar/HP/bloodImg").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerDetailNode.hpBar = tmp tmp.image = tmp:GetComponent(Enum.TypeInfo.Image) end ---@private function BattleHeadsBoxView:InitGenerate__37(Root, data) --[[ HeadsBoxAnim/PlayerBox/Player/Bar/Sp/spImg --]] local tmp = Root:Find("HeadsBoxAnim/PlayerBox/Player/Bar/Sp/spImg").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerDetailNode.spBar = tmp tmp.image = tmp:GetComponent(Enum.TypeInfo.Image) end ---@private function BattleHeadsBoxView:InitGenerate__38(Root, data) --[[ HeadsBoxAnim/PlayerBox/Player/JobIcon --]] local tmp = Root:Find("HeadsBoxAnim/PlayerBox/Player/JobIcon").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerDetailNode.jobIcon = tmp tmp.image = tmp:GetComponent(Enum.TypeInfo.Image) end ---@private function BattleHeadsBoxView:InitGenerate__39(Root, data) --[[ HeadsBoxAnim/PlayerBox/Player/BuffBox --]] local tmp = Root:Find("HeadsBoxAnim/PlayerBox/Player/BuffBox").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerDetailNode.buffBox = tmp end ---@private function BattleHeadsBoxView:InitGenerate__40(Root, data) --[[ HeadsBoxAnim/PlayerBox/Player/BuffBox/BuffItem --]] local tmp = Root:Find("HeadsBoxAnim/PlayerBox/Player/BuffBox/BuffItem").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.buffTemp = tmp tmp.button = tmp:GetComponent(Enum.TypeInfo.Button) end ---@private function BattleHeadsBoxView:InitGenerate__41(Root, data) --[[ HeadsBoxAnim/PlayerBox/Player/BuffBox/BuffItem/Image --]] local tmp = Root:Find("HeadsBoxAnim/PlayerBox/Player/BuffBox/BuffItem/Image").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.image = tmp tmp.image = tmp:GetComponent(Enum.TypeInfo.Image) end ---@private function BattleHeadsBoxView:InitGenerate__42(Root, data) --[[ HeadsBoxAnim/PlayerBox/Player/BuffBox/BuffItem/num --]] local tmp = Root:Find("HeadsBoxAnim/PlayerBox/Player/BuffBox/BuffItem/num").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.num = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI) end ---@private function BattleHeadsBoxView:InitGenerate__43(Root, data) --[[ HeadsBoxAnim/PlayerBox/Player/Dead --]] local tmp = Root:Find("HeadsBoxAnim/PlayerBox/Player/Dead").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.playerDetailNode.deadNode = tmp end ---@private function BattleHeadsBoxView:GenerateDestroy() if tolua.getpeer(self.playerDetailNode.deadNode) ~= nil then tolua.setpeer(self.playerDetailNode.deadNode, nil) end if tolua.getpeer(self.playerDetailNode.buffBox) ~= nil then tolua.setpeer(self.playerDetailNode.buffBox, nil) end if tolua.getpeer(self.playerDetailNode.jobIcon) ~= nil then tolua.setpeer(self.playerDetailNode.jobIcon, nil) end if tolua.getpeer(self.playerDetailNode.spBar) ~= nil then tolua.setpeer(self.playerDetailNode.spBar, nil) end if tolua.getpeer(self.playerDetailNode.hpBar) ~= nil then tolua.setpeer(self.playerDetailNode.hpBar, nil) end if tolua.getpeer(self.playerDetailNode.playerName) ~= nil then tolua.setpeer(self.playerDetailNode.playerName, nil) end if tolua.getpeer(self.playerDetailNode.heroHalf) ~= nil then tolua.setpeer(self.playerDetailNode.heroHalf, nil) end if tolua.getpeer(self.playerDetailNode.petNode.petIcon) ~= nil then tolua.setpeer(self.playerDetailNode.petNode.petIcon, nil) end if tolua.getpeer(self.playerDetailNode.petNode) ~= nil then tolua.setpeer(self.playerDetailNode.petNode, nil) end if tolua.getpeer(self.playerNode4.headBoxItemNew.deadNode) ~= nil then tolua.setpeer(self.playerNode4.headBoxItemNew.deadNode, nil) end if tolua.getpeer(self.playerNode4.headBoxItemNew.sp) ~= nil then tolua.setpeer(self.playerNode4.headBoxItemNew.sp, nil) end if tolua.getpeer(self.playerNode4.headBoxItemNew.hp) ~= nil then tolua.setpeer(self.playerNode4.headBoxItemNew.hp, nil) end if self.playerNode4.headBoxItemNew.headItem.GenerateDestroy ~= nil then self.playerNode4.headBoxItemNew.headItem:GenerateDestroy() end if tolua.getpeer(self.playerNode4.headBoxItemNew.headItem) ~= nil then tolua.setpeer(self.playerNode4.headBoxItemNew.headItem, nil) end if tolua.getpeer(self.playerNode4.headBoxItemNew) ~= nil then tolua.setpeer(self.playerNode4.headBoxItemNew, nil) end if tolua.getpeer(self.playerNode4.headPosItem) ~= nil then tolua.setpeer(self.playerNode4.headPosItem, nil) end if tolua.getpeer(self.playerNode3.headBoxItemNew.deadNode) ~= nil then tolua.setpeer(self.playerNode3.headBoxItemNew.deadNode, nil) end if tolua.getpeer(self.playerNode3.headBoxItemNew.sp) ~= nil then tolua.setpeer(self.playerNode3.headBoxItemNew.sp, nil) end if tolua.getpeer(self.playerNode3.headBoxItemNew.hp) ~= nil then tolua.setpeer(self.playerNode3.headBoxItemNew.hp, nil) end if self.playerNode3.headBoxItemNew.headItem.GenerateDestroy ~= nil then self.playerNode3.headBoxItemNew.headItem:GenerateDestroy() end if tolua.getpeer(self.playerNode3.headBoxItemNew.headItem) ~= nil then tolua.setpeer(self.playerNode3.headBoxItemNew.headItem, nil) end if tolua.getpeer(self.playerNode3.headBoxItemNew) ~= nil then tolua.setpeer(self.playerNode3.headBoxItemNew, nil) end if tolua.getpeer(self.playerNode3.headPosItem) ~= nil then tolua.setpeer(self.playerNode3.headPosItem, nil) end if tolua.getpeer(self.playerNode2.headBoxItemNew.deadNode) ~= nil then tolua.setpeer(self.playerNode2.headBoxItemNew.deadNode, nil) end if tolua.getpeer(self.playerNode2.headBoxItemNew.sp) ~= nil then tolua.setpeer(self.playerNode2.headBoxItemNew.sp, nil) end if tolua.getpeer(self.playerNode2.headBoxItemNew.hp) ~= nil then tolua.setpeer(self.playerNode2.headBoxItemNew.hp, nil) end if self.playerNode2.headBoxItemNew.headItem.GenerateDestroy ~= nil then self.playerNode2.headBoxItemNew.headItem:GenerateDestroy() end if tolua.getpeer(self.playerNode2.headBoxItemNew.headItem) ~= nil then tolua.setpeer(self.playerNode2.headBoxItemNew.headItem, nil) end if tolua.getpeer(self.playerNode2.headBoxItemNew) ~= nil then tolua.setpeer(self.playerNode2.headBoxItemNew, nil) end if tolua.getpeer(self.playerNode2.headPosItem) ~= nil then tolua.setpeer(self.playerNode2.headPosItem, nil) end if tolua.getpeer(self.playerNode1.headBoxItemNew.deadNode) ~= nil then tolua.setpeer(self.playerNode1.headBoxItemNew.deadNode, nil) end if tolua.getpeer(self.playerNode1.headBoxItemNew.sp) ~= nil then tolua.setpeer(self.playerNode1.headBoxItemNew.sp, nil) end if tolua.getpeer(self.playerNode1.headBoxItemNew.hp) ~= nil then tolua.setpeer(self.playerNode1.headBoxItemNew.hp, nil) end if self.playerNode1.headBoxItemNew.headItem.GenerateDestroy ~= nil then self.playerNode1.headBoxItemNew.headItem:GenerateDestroy() end if tolua.getpeer(self.playerNode1.headBoxItemNew.headItem) ~= nil then tolua.setpeer(self.playerNode1.headBoxItemNew.headItem, nil) end if tolua.getpeer(self.playerNode1.headBoxItemNew) ~= nil then tolua.setpeer(self.playerNode1.headBoxItemNew, nil) end if tolua.getpeer(self.playerNode1.headPosItem) ~= nil then tolua.setpeer(self.playerNode1.headPosItem, nil) end if tolua.getpeer(self.headsBoxAnim) ~= nil then tolua.setpeer(self.headsBoxAnim, nil) end self.headsBoxAnim = nil if tolua.getpeer(self.playerNode1) ~= nil then tolua.setpeer(self.playerNode1, nil) end self.playerNode1 = nil if tolua.getpeer(self.playerNode2) ~= nil then tolua.setpeer(self.playerNode2, nil) end self.playerNode2 = nil if tolua.getpeer(self.playerNode3) ~= nil then tolua.setpeer(self.playerNode3, nil) end self.playerNode3 = nil if tolua.getpeer(self.playerNode4) ~= nil then tolua.setpeer(self.playerNode4, nil) end self.playerNode4 = nil if tolua.getpeer(self.playerDetailNode) ~= nil then tolua.setpeer(self.playerDetailNode, nil) end self.playerDetailNode = nil if tolua.getpeer(self.bg) ~= nil then tolua.setpeer(self.bg, nil) end self.bg = nil if tolua.getpeer(self.buffTemp) ~= nil then tolua.setpeer(self.buffTemp, nil) end self.buffTemp = nil if tolua.getpeer(self.image) ~= nil then tolua.setpeer(self.image, nil) end self.image = nil if tolua.getpeer(self.num) ~= nil then tolua.setpeer(self.num, nil) end self.num = nil self.transform = nil self.gameObject = nil self.inited = false end return BattleHeadsBoxView