---@class DiffTaskItem__Generate_btnGoto ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@field public text UnityEngine.GameObject ---@class DiffTaskItem__Generate_descTxt ---@field public gameObject UnityEngine.GameObject ---@field public text UnityEngine.UI.Text ---@class DiffTaskItem__Generate_content ---@field public gameObject UnityEngine.GameObject ---@field public horizontalLayoutGroup UnityEngine.UI.HorizontalLayoutGroup ---@class DiffTaskItem__Generate_goodsItems ---@field public gameObject UnityEngine.GameObject ---@field public loopHorizontalScrollRect UnityEngine.UI.LoopHorizontalScrollRect ---@class DiffTaskItem__Generate_getBtn_number ---@field public gameObject UnityEngine.GameObject ---@field public text TMPro.TextMeshProUGUI ---@class DiffTaskItem__Generate_getBtn ---@field public gameObject UnityEngine.GameObject ---@field public button UnityEngine.UI.Button ---@field public number DiffTaskItem__Generate_getBtn_number ---@class DiffTaskItem__Generate_itemIcon ---@field public gameObject UnityEngine.GameObject ---@field public image UnityEngine.UI.Image ---@class DiffTaskItem__Generate_itemName ---@field public gameObject UnityEngine.GameObject ---@field public text UnityEngine.UI.Text ---@class DiffTaskItem__Generate ---@field private gameObject UnityEngine.GameObject ---@field private transform UnityEngine.Transform ---@field private itemName DiffTaskItem__Generate_itemName ---@field private itemIcon DiffTaskItem__Generate_itemIcon ---@field private getBtn DiffTaskItem__Generate_getBtn ---@field private sealBtn UnityEngine.GameObject ---@field private goodsItems DiffTaskItem__Generate_goodsItems ---@field private content DiffTaskItem__Generate_content ---@field private descTxt DiffTaskItem__Generate_descTxt ---@field private btnGoto DiffTaskItem__Generate_btnGoto local DiffTaskItemView = class("DiffTaskItemView") function DiffTaskItemView:ctor() end ---@private function DiffTaskItemView:SetActive(result) self.gameObject:SetActive(result) end ---@private function DiffTaskItemView: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) end ---@private function DiffTaskItemView:InitGenerate__1(Root, data) --[[ Root --]] end ---@private function DiffTaskItemView:InitGenerate__2(Root, data) --[[ GoodsName/ItemName --]] local tmp = Root:Find("GoodsName/ItemName").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.itemName = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.Text) end ---@private function DiffTaskItemView:InitGenerate__3(Root, data) --[[ ItemIcon --]] local tmp = Root:Find("ItemIcon").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.itemIcon = tmp tmp.image = tmp:GetComponent(Enum.TypeInfo.Image) end ---@private function DiffTaskItemView:InitGenerate__4(Root, data) --[[ GetBtn --]] local tmp = Root:Find("GetBtn").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.getBtn = tmp tmp.button = tmp:GetComponent(Enum.TypeInfo.Button) end ---@private function DiffTaskItemView:InitGenerate__5(Root, data) --[[ GetBtn/Number --]] local tmp = Root:Find("GetBtn/Number").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.getBtn.number = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI) end ---@private function DiffTaskItemView:InitGenerate__6(Root, data) --[[ Seal --]] local tmp = Root:Find("Seal").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.sealBtn = tmp end ---@private function DiffTaskItemView:InitGenerate__7(Root, data) --[[ GoodsItems --]] local tmp = Root:Find("GoodsItems").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.goodsItems = tmp tmp.loopHorizontalScrollRect = tmp:GetComponent(Enum.TypeInfo.LoopHorizontalScrollRect) end ---@private function DiffTaskItemView:InitGenerate__8(Root, data) --[[ GoodsItems/Viewport/Content --]] local tmp = Root:Find("GoodsItems/Viewport/Content").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.content = tmp tmp.horizontalLayoutGroup = tmp:GetComponent(Enum.TypeInfo.HorizontalLayoutGroup) end ---@private function DiffTaskItemView:InitGenerate__9(Root, data) --[[ DescTxt --]] local tmp = Root:Find("DescTxt").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.descTxt = tmp tmp.text = tmp:GetComponent(Enum.TypeInfo.Text) end ---@private function DiffTaskItemView:InitGenerate__10(Root, data) --[[ BtnGoto --]] local tmp = Root:Find("BtnGoto").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.btnGoto = tmp tmp.button = tmp:GetComponent(Enum.TypeInfo.Button) end ---@private function DiffTaskItemView:InitGenerate__11(Root, data) --[[ BtnGoto/Text --]] local tmp = Root:Find("BtnGoto/Text").gameObject if tolua.getpeer(tmp) == nil then tolua.setpeer(tmp, {}) end self.btnGoto.text = tmp end ---@private function DiffTaskItemView:GenerateDestroy() if tolua.getpeer(self.btnGoto.text) ~= nil then tolua.setpeer(self.btnGoto.text, nil) end if tolua.getpeer(self.getBtn.number) ~= nil then tolua.setpeer(self.getBtn.number, nil) end if tolua.getpeer(self.itemName) ~= nil then tolua.setpeer(self.itemName, nil) end self.itemName = nil if tolua.getpeer(self.itemIcon) ~= nil then tolua.setpeer(self.itemIcon, nil) end self.itemIcon = nil if tolua.getpeer(self.getBtn) ~= nil then tolua.setpeer(self.getBtn, nil) end self.getBtn = nil if tolua.getpeer(self.sealBtn) ~= nil then tolua.setpeer(self.sealBtn, nil) end self.sealBtn = nil if tolua.getpeer(self.goodsItems) ~= nil then tolua.setpeer(self.goodsItems, nil) end self.goodsItems = nil if tolua.getpeer(self.content) ~= nil then tolua.setpeer(self.content, nil) end self.content = nil if tolua.getpeer(self.descTxt) ~= nil then tolua.setpeer(self.descTxt, nil) end self.descTxt = nil if tolua.getpeer(self.btnGoto) ~= nil then tolua.setpeer(self.btnGoto, nil) end self.btnGoto = nil self.transform = nil self.gameObject = nil self.inited = false end return DiffTaskItemView