ro-webgl/Assets/Lua/UI/UIFashion/UIFashionView_Generate.lua
2021-12-21 09:40:39 +08:00

1247 lines
41 KiB
Lua

---@class UIFashion__Generate_btnAllAttr
---@field public gameObject UnityEngine.GameObject
---@field public button UnityEngine.UI.Button
---@class UIFashion__Generate_btnSave
---@field public gameObject UnityEngine.GameObject
---@field public button UnityEngine.UI.Button
---@class UIFashion__Generate_btnGoto
---@field public gameObject UnityEngine.GameObject
---@field public button UnityEngine.UI.Button
---@class UIFashion__Generate_scrollView
---@field public gameObject UnityEngine.GameObject
---@field public loopGridView SuperScrollView.LoopGridView
---@field public fashionWearItem UnityEngine.GameObject
---@class UIFashion__Generate_toggleScrollView_togBack
---@field public gameObject UnityEngine.GameObject
---@field public toggle UnityEngine.UI.Toggle
---@field public redPoint UnityEngine.GameObject
---@class UIFashion__Generate_toggleScrollView_togClothes
---@field public gameObject UnityEngine.GameObject
---@field public toggle UnityEngine.UI.Toggle
---@field public redPoint UnityEngine.GameObject
---@class UIFashion__Generate_toggleScrollView_togWeapon
---@field public gameObject UnityEngine.GameObject
---@field public toggle UnityEngine.UI.Toggle
---@field public redPoint UnityEngine.GameObject
---@class UIFashion__Generate_toggleScrollView_togHeadBottom
---@field public gameObject UnityEngine.GameObject
---@field public toggle UnityEngine.UI.Toggle
---@field public redPoint UnityEngine.GameObject
---@class UIFashion__Generate_toggleScrollView_togHeadMiddle
---@field public gameObject UnityEngine.GameObject
---@field public toggle UnityEngine.UI.Toggle
---@field public redPoint UnityEngine.GameObject
---@class UIFashion__Generate_toggleScrollView_togHeadTop
---@field public gameObject UnityEngine.GameObject
---@field public toggle UnityEngine.UI.Toggle
---@field public redPoint UnityEngine.GameObject
---@class UIFashion__Generate_toggleScrollView_togAll
---@field public gameObject UnityEngine.GameObject
---@field public toggle UnityEngine.UI.Toggle
---@field public redPoint UnityEngine.GameObject
---@class UIFashion__Generate_toggleScrollView_content
---@field public gameObject UnityEngine.GameObject
---@field public toggleGroup UnityEngine.UI.ToggleGroup
---@class UIFashion__Generate_toggleScrollView
---@field public gameObject UnityEngine.GameObject
---@field public content UIFashion__Generate_toggleScrollView_content
---@field public togAll UIFashion__Generate_toggleScrollView_togAll
---@field public togHeadTop UIFashion__Generate_toggleScrollView_togHeadTop
---@field public togHeadMiddle UIFashion__Generate_toggleScrollView_togHeadMiddle
---@field public togHeadBottom UIFashion__Generate_toggleScrollView_togHeadBottom
---@field public togWeapon UIFashion__Generate_toggleScrollView_togWeapon
---@field public togClothes UIFashion__Generate_toggleScrollView_togClothes
---@field public togBack UIFashion__Generate_toggleScrollView_togBack
---@class UIFashion__Generate_switch
---@field public gameObject UnityEngine.GameObject
---@field public animator UnityEngine.Animator
---@field public toggle UnityEngine.UI.Toggle
---@class UIFashion__Generate_uIBook_btnWash
---@field public gameObject UnityEngine.GameObject
---@field public button UnityEngine.UI.Button
---@class UIFashion__Generate_uIBook_btnUpgrade
---@field public gameObject UnityEngine.GameObject
---@field public button UnityEngine.UI.Button
---@field public uIRedPointRP UnityEngine.GameObject
---@class UIFashion__Generate_uIBook_detail_describe
---@field public gameObject UnityEngine.GameObject
---@field public text UnityEngine.UI.Text
---@class UIFashion__Generate_uIBook_detail_jobBox
---@field public gameObject UnityEngine.GameObject
---@field public icon UnityEngine.GameObject
---@class UIFashion__Generate_uIBook_detail_slotPosName
---@field public gameObject UnityEngine.GameObject
---@field public text UnityEngine.UI.Text
---@class UIFashion__Generate_uIBook_detail_lv
---@field public gameObject UnityEngine.GameObject
---@field public text UnityEngine.UI.Text
---@class UIFashion__Generate_uIBook_detail_itemName
---@field public gameObject UnityEngine.GameObject
---@field public text UnityEngine.UI.Text
---@class UIFashion__Generate_suites
---@field public gameObject UnityEngine.GameObject
---@field public suitesLvItem1 UnityEngine.GameObject
---@field public suitesLvItem2 UnityEngine.GameObject
---@field public suitesLvItem3 UnityEngine.GameObject
---@field public suitesLvItem4 UnityEngine.GameObject
---@class UIFashion__Generate_btnSuites
---@field public gameObject UnityEngine.GameObject
---@field public button UnityEngine.UI.Button
---@class UIFashion__Generate_uIBook_detail_icon
---@field public gameObject UnityEngine.GameObject
---@field public image UnityEngine.UI.Image
---@class UIFashion__Generate_uIBook_detail
---@field public gameObject UnityEngine.GameObject
---@field public icon UIFashion__Generate_uIBook_detail_icon
---@field public itemName UIFashion__Generate_uIBook_detail_itemName
---@field public lv UIFashion__Generate_uIBook_detail_lv
---@field public slotPosName UIFashion__Generate_uIBook_detail_slotPosName
---@field public noJob UnityEngine.GameObject
---@field public jobBox UIFashion__Generate_uIBook_detail_jobBox
---@field public describe UIFashion__Generate_uIBook_detail_describe
---@field public propertyItem1 UnityEngine.GameObject
---@field public propertyItem2 UnityEngine.GameObject
---@field public propertyItem3 UnityEngine.GameObject
---@field public propertyItem4 UnityEngine.GameObject
---@field public propertyItem5 UnityEngine.GameObject
---@class UIFashion__Generate_uIBook
---@field public gameObject UnityEngine.GameObject
---@field public detail UIFashion__Generate_uIBook_detail
---@field public labelMax UnityEngine.GameObject
---@field public btnUpgrade UIFashion__Generate_uIBook_btnUpgrade
---@field public btnWash UIFashion__Generate_uIBook_btnWash
---@class UIFashion__Generate_alpha
---@field public gameObject UnityEngine.GameObject
---@field public button UnityEngine.UI.Button
---@class UIFashion__Generate_model
---@field public gameObject UnityEngine.GameObject
---@field public rawImage UnityEngine.UI.RawImage
---@field public uIEventTriggerListener UIEventTriggerListener
---@class UIFashion__Generate_uIFashionAnim
---@field public gameObject UnityEngine.GameObject
---@field public animator UnityEngine.Animator
---@class UIFashion__Generate_mirrorModel
---@field public gameObject UnityEngine.GameObject
---@field public rawImage UnityEngine.UI.RawImage
---@class UIFashion__Generate_AnyBtn
---@field public gameObject UnityEngine.GameObject
---@field public button UnityEngine.UI.Button
---@class UIFashion__Generate_uIAnimator
---@field public gameObject UnityEngine.GameObject
---@field public animator UnityEngine.Animator
---@class UIFashion__Generate
---@field private gameObject UnityEngine.GameObject
---@field private transform UnityEngine.Transform
---@field private uIAnimator UIFashion__Generate_uIAnimator
---@field private AnyBtn UIFashion__Generate_AnyBtn
---@field private mirrorModel UIFashion__Generate_mirrorModel
---@field private uIFashionAnim UIFashion__Generate_uIFashionAnim
---@field private model UIFashion__Generate_model
---@field private alpha UIFashion__Generate_alpha
---@field private uIBook UIFashion__Generate_uIBook
---@field private btnSuites UIFashion__Generate_btnSuites
---@field private suites UIFashion__Generate_suites
---@field private rightEmpty UnityEngine.GameObject
---@field private switch UIFashion__Generate_switch
---@field private onBook UnityEngine.GameObject
---@field private onFashion UnityEngine.GameObject
---@field private book UnityEngine.GameObject
---@field private toggleScrollView UIFashion__Generate_toggleScrollView
---@field private scrollView UIFashion__Generate_scrollView
---@field private btnGoto UIFashion__Generate_btnGoto
---@field private btnSave UIFashion__Generate_btnSave
---@field private btnAllAttr UIFashion__Generate_btnAllAttr
local UIFashionView = class("UIFashionView", require("UIViewBase"))
function UIFashionView:ctor()
end
---@private
function UIFashionView:SetActive(result)
self.gameObject:SetActive(result)
end
---@private
function UIFashionView: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)
end
---@private
function UIFashionView: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 UIFashionView: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 UIFashionView:InitGenerate__3(Root, data)
--[[
UIAnimator/Window/BG/MirrorMask/MirrorModel
--]]
local tmp = Root:Find("UIAnimator/Window/BG/MirrorMask/MirrorModel").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.mirrorModel = tmp
tmp.rawImage = tmp:GetComponent(Enum.TypeInfo.RawImage)
end
---@private
function UIFashionView:InitGenerate__4(Root, data)
--[[
UIAnimator/Window/UIFashionAnim
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.uIFashionAnim = tmp
tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
tmp.animator.logWarnings = false
end
---@private
function UIFashionView:InitGenerate__5(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/Model
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/Model").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.model = tmp
tmp.rawImage = tmp:GetComponent(Enum.TypeInfo.RawImage)
tmp.uIEventTriggerListener = tmp:GetComponent(Enum.TypeInfo.UIEventTriggerListener)
end
---@private
function UIFashionView:InitGenerate__6(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/Alpha
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/Alpha").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.alpha = tmp
tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
end
---@private
function UIFashionView:InitGenerate__7(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.uIBook = tmp
end
---@private
function UIFashionView:InitGenerate__8(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/Detail
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.uIBook.detail = tmp
end
---@private
function UIFashionView:InitGenerate__9(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/Icon
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/Icon").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.uIBook.detail.icon = tmp
tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
end
---@private
function UIFashionView:InitGenerate__10(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/BtnSuites
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/BtnSuites").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.btnSuites = tmp
tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
end
---@private
function UIFashionView:InitGenerate__11(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/BtnSuites/Suites
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/BtnSuites/Suites").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.suites = tmp
end
---@private
function UIFashionView:InitGenerate__12(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/BtnSuites/Suites/SuitesLvItem1
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/BtnSuites/Suites/SuitesLvItem1").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.suites.suitesLvItem1 = CommonUtil.BindGridViewItem2LuaStatic("SuitesLvItem", tmp)
self.suites.suitesLvItem1.prefabName = "SuitesLvItem"
end
---@private
function UIFashionView:InitGenerate__13(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/BtnSuites/Suites/SuitesLvItem2
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/BtnSuites/Suites/SuitesLvItem2").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.suites.suitesLvItem2 = CommonUtil.BindGridViewItem2LuaStatic("SuitesLvItem", tmp)
self.suites.suitesLvItem2.prefabName = "SuitesLvItem"
end
---@private
function UIFashionView:InitGenerate__14(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/BtnSuites/Suites/SuitesLvItem3
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/BtnSuites/Suites/SuitesLvItem3").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.suites.suitesLvItem3 = CommonUtil.BindGridViewItem2LuaStatic("SuitesLvItem", tmp)
self.suites.suitesLvItem3.prefabName = "SuitesLvItem"
end
---@private
function UIFashionView:InitGenerate__15(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/BtnSuites/Suites/SuitesLvItem4
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Left/BtnSuites/Suites/SuitesLvItem4").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.suites.suitesLvItem4 = CommonUtil.BindGridViewItem2LuaStatic("SuitesLvItem", tmp)
self.suites.suitesLvItem4.prefabName = "SuitesLvItem"
end
---@private
function UIFashionView:InitGenerate__16(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Name/ItemName
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Name/ItemName").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.uIBook.detail.itemName = tmp
tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
end
---@private
function UIFashionView:InitGenerate__17(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Attr0/Lv
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Attr0/Lv").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.uIBook.detail.lv = tmp
tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
end
---@private
function UIFashionView:InitGenerate__18(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Attr1/SlotPosName
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Attr1/SlotPosName").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.uIBook.detail.slotPosName = tmp
tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
end
---@private
function UIFashionView:InitGenerate__19(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Attr2/NoJob
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Attr2/NoJob").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.uIBook.detail.noJob = tmp
end
---@private
function UIFashionView:InitGenerate__20(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Attr2/JobBox
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Attr2/JobBox").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.uIBook.detail.jobBox = tmp
end
---@private
function UIFashionView:InitGenerate__21(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Attr2/JobBox/icon
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Attr2/JobBox/icon").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.uIBook.detail.jobBox.icon = tmp
end
---@private
function UIFashionView:InitGenerate__22(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/DescribeBg/Describe
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/DescribeBg/Describe").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.uIBook.detail.describe = tmp
tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
end
---@private
function UIFashionView:InitGenerate__23(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Property/PropertyItem1
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Property/PropertyItem1").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.uIBook.detail.propertyItem1 = CommonUtil.BindGridViewItem2LuaStatic("PropertyItem", tmp)
self.uIBook.detail.propertyItem1.prefabName = "PropertyItem"
end
---@private
function UIFashionView:InitGenerate__24(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Property/PropertyItem2
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Property/PropertyItem2").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.uIBook.detail.propertyItem2 = CommonUtil.BindGridViewItem2LuaStatic("PropertyItem", tmp)
self.uIBook.detail.propertyItem2.prefabName = "PropertyItem"
end
---@private
function UIFashionView:InitGenerate__25(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Property/PropertyItem3
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Property/PropertyItem3").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.uIBook.detail.propertyItem3 = CommonUtil.BindGridViewItem2LuaStatic("PropertyItem", tmp)
self.uIBook.detail.propertyItem3.prefabName = "PropertyItem"
end
---@private
function UIFashionView:InitGenerate__26(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Property/PropertyItem4
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Property/PropertyItem4").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.uIBook.detail.propertyItem4 = CommonUtil.BindGridViewItem2LuaStatic("PropertyItem", tmp)
self.uIBook.detail.propertyItem4.prefabName = "PropertyItem"
end
---@private
function UIFashionView:InitGenerate__27(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Property/PropertyItem5
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/Property/PropertyItem5").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.uIBook.detail.propertyItem5 = CommonUtil.BindGridViewItem2LuaStatic("PropertyItem", tmp)
self.uIBook.detail.propertyItem5.prefabName = "PropertyItem"
end
---@private
function UIFashionView:InitGenerate__28(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/LabelMax
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/LabelMax").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.uIBook.labelMax = tmp
end
---@private
function UIFashionView:InitGenerate__29(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/BtnUpgrade
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/BtnUpgrade").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.uIBook.btnUpgrade = tmp
tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
end
---@private
function UIFashionView:InitGenerate__30(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/BtnUpgrade/UIRedPointRP
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/BtnUpgrade/UIRedPointRP").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.uIBook.btnUpgrade.uIRedPointRP = tmp
end
---@private
function UIFashionView:InitGenerate__31(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/BtnWash
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/Detail/Right/BtnWash").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.uIBook.btnWash = tmp
tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
end
---@private
function UIFashionView:InitGenerate__32(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/UIBook/RightEmpty
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/UIBook/RightEmpty").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.rightEmpty = tmp
end
---@private
function UIFashionView:InitGenerate__33(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/Switch
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/Switch").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.switch = tmp
tmp.animator = tmp:GetComponent(Enum.TypeInfo.Animator)
tmp.animator.logWarnings = false
tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
end
---@private
function UIFashionView:InitGenerate__34(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/Switch/On/Book
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/Switch/On/Book").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.onBook = tmp
end
---@private
function UIFashionView:InitGenerate__35(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/Switch/On/Fashion
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/Switch/On/Fashion").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.onFashion = tmp
end
---@private
function UIFashionView:InitGenerate__36(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/Switch/Off/Book
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/Switch/Off/Book").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.book = tmp
end
---@private
function UIFashionView:InitGenerate__37(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.toggleScrollView = tmp
end
---@private
function UIFashionView:InitGenerate__38(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.toggleScrollView.content = tmp
tmp.toggleGroup = tmp:GetComponent(Enum.TypeInfo.ToggleGroup)
end
---@private
function UIFashionView:InitGenerate__39(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogAll
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogAll").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.toggleScrollView.togAll = tmp
tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
end
---@private
function UIFashionView:InitGenerate__40(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogAll/RedPoint
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogAll/RedPoint").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.toggleScrollView.togAll.redPoint = tmp
end
---@private
function UIFashionView:InitGenerate__41(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogHeadTop
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogHeadTop").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.toggleScrollView.togHeadTop = tmp
tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
end
---@private
function UIFashionView:InitGenerate__42(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogHeadTop/RedPoint
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogHeadTop/RedPoint").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.toggleScrollView.togHeadTop.redPoint = tmp
end
---@private
function UIFashionView:InitGenerate__43(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogHeadMiddle
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogHeadMiddle").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.toggleScrollView.togHeadMiddle = tmp
tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
end
---@private
function UIFashionView:InitGenerate__44(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogHeadMiddle/RedPoint
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogHeadMiddle/RedPoint").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.toggleScrollView.togHeadMiddle.redPoint = tmp
end
---@private
function UIFashionView:InitGenerate__45(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogHeadBottom
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogHeadBottom").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.toggleScrollView.togHeadBottom = tmp
tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
end
---@private
function UIFashionView:InitGenerate__46(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogHeadBottom/RedPoint
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogHeadBottom/RedPoint").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.toggleScrollView.togHeadBottom.redPoint = tmp
end
---@private
function UIFashionView:InitGenerate__47(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogWeapon
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogWeapon").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.toggleScrollView.togWeapon = tmp
tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
end
---@private
function UIFashionView:InitGenerate__48(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogWeapon/RedPoint
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogWeapon/RedPoint").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.toggleScrollView.togWeapon.redPoint = tmp
end
---@private
function UIFashionView:InitGenerate__49(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogClothes
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogClothes").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.toggleScrollView.togClothes = tmp
tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
end
---@private
function UIFashionView:InitGenerate__50(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogClothes/RedPoint
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogClothes/RedPoint").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.toggleScrollView.togClothes.redPoint = tmp
end
---@private
function UIFashionView:InitGenerate__51(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogBack
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogBack").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.toggleScrollView.togBack = tmp
tmp.toggle = tmp:GetComponent(Enum.TypeInfo.Toggle)
end
---@private
function UIFashionView:InitGenerate__52(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogBack/RedPoint
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ToggleScrollView/Viewport/Content/TogBack/RedPoint").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.toggleScrollView.togBack.redPoint = tmp
end
---@private
function UIFashionView:InitGenerate__53(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/BottomList/ScrollView
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/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 UIFashionView:InitGenerate__54(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/BottomList/ScrollView/Viewport/Content/FashionWearItem
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/ScrollView/Viewport/Content/FashionWearItem").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.scrollView.fashionWearItem = CommonUtil.BindGridViewItem2LuaStatic("FashionWearItem", tmp)
self.scrollView.fashionWearItem.prefabName = "FashionWearItem"
end
---@private
function UIFashionView:InitGenerate__55(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/BottomList/BtnGoto
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/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 UIFashionView:InitGenerate__56(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/BottomList/BtnSave
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/BtnSave").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.btnSave = tmp
tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
end
---@private
function UIFashionView:InitGenerate__57(Root, data)
--[[
UIAnimator/Window/UIFashionAnim/BottomList/BtnAllAttr
--]]
local tmp = Root:Find("UIAnimator/Window/UIFashionAnim/BottomList/BtnAllAttr").gameObject
if tolua.getpeer(tmp) == nil then
tolua.setpeer(tmp, {})
end
self.btnAllAttr = tmp
tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
end
---@private
function UIFashionView:GenerateDestroy()
if self.scrollView.fashionWearItem.GenerateDestroy ~= nil then
self.scrollView.fashionWearItem:GenerateDestroy()
end
if tolua.getpeer(self.scrollView.fashionWearItem) ~= nil then
tolua.setpeer(self.scrollView.fashionWearItem, nil)
end
if tolua.getpeer(self.toggleScrollView.togBack.redPoint) ~= nil then
tolua.setpeer(self.toggleScrollView.togBack.redPoint, nil)
end
if tolua.getpeer(self.toggleScrollView.togBack) ~= nil then
tolua.setpeer(self.toggleScrollView.togBack, nil)
end
if tolua.getpeer(self.toggleScrollView.togClothes.redPoint) ~= nil then
tolua.setpeer(self.toggleScrollView.togClothes.redPoint, nil)
end
if tolua.getpeer(self.toggleScrollView.togClothes) ~= nil then
tolua.setpeer(self.toggleScrollView.togClothes, nil)
end
if tolua.getpeer(self.toggleScrollView.togWeapon.redPoint) ~= nil then
tolua.setpeer(self.toggleScrollView.togWeapon.redPoint, nil)
end
if tolua.getpeer(self.toggleScrollView.togWeapon) ~= nil then
tolua.setpeer(self.toggleScrollView.togWeapon, nil)
end
if tolua.getpeer(self.toggleScrollView.togHeadBottom.redPoint) ~= nil then
tolua.setpeer(self.toggleScrollView.togHeadBottom.redPoint, nil)
end
if tolua.getpeer(self.toggleScrollView.togHeadBottom) ~= nil then
tolua.setpeer(self.toggleScrollView.togHeadBottom, nil)
end
if tolua.getpeer(self.toggleScrollView.togHeadMiddle.redPoint) ~= nil then
tolua.setpeer(self.toggleScrollView.togHeadMiddle.redPoint, nil)
end
if tolua.getpeer(self.toggleScrollView.togHeadMiddle) ~= nil then
tolua.setpeer(self.toggleScrollView.togHeadMiddle, nil)
end
if tolua.getpeer(self.toggleScrollView.togHeadTop.redPoint) ~= nil then
tolua.setpeer(self.toggleScrollView.togHeadTop.redPoint, nil)
end
if tolua.getpeer(self.toggleScrollView.togHeadTop) ~= nil then
tolua.setpeer(self.toggleScrollView.togHeadTop, nil)
end
if tolua.getpeer(self.toggleScrollView.togAll.redPoint) ~= nil then
tolua.setpeer(self.toggleScrollView.togAll.redPoint, nil)
end
if tolua.getpeer(self.toggleScrollView.togAll) ~= nil then
tolua.setpeer(self.toggleScrollView.togAll, nil)
end
if tolua.getpeer(self.toggleScrollView.content) ~= nil then
tolua.setpeer(self.toggleScrollView.content, nil)
end
if tolua.getpeer(self.uIBook.btnWash) ~= nil then
tolua.setpeer(self.uIBook.btnWash, nil)
end
if tolua.getpeer(self.uIBook.btnUpgrade.uIRedPointRP) ~= nil then
tolua.setpeer(self.uIBook.btnUpgrade.uIRedPointRP, nil)
end
if tolua.getpeer(self.uIBook.btnUpgrade) ~= nil then
tolua.setpeer(self.uIBook.btnUpgrade, nil)
end
if tolua.getpeer(self.uIBook.labelMax) ~= nil then
tolua.setpeer(self.uIBook.labelMax, nil)
end
if self.uIBook.detail.propertyItem5.GenerateDestroy ~= nil then
self.uIBook.detail.propertyItem5:GenerateDestroy()
end
if tolua.getpeer(self.uIBook.detail.propertyItem5) ~= nil then
tolua.setpeer(self.uIBook.detail.propertyItem5, nil)
end
if self.uIBook.detail.propertyItem4.GenerateDestroy ~= nil then
self.uIBook.detail.propertyItem4:GenerateDestroy()
end
if tolua.getpeer(self.uIBook.detail.propertyItem4) ~= nil then
tolua.setpeer(self.uIBook.detail.propertyItem4, nil)
end
if self.uIBook.detail.propertyItem3.GenerateDestroy ~= nil then
self.uIBook.detail.propertyItem3:GenerateDestroy()
end
if tolua.getpeer(self.uIBook.detail.propertyItem3) ~= nil then
tolua.setpeer(self.uIBook.detail.propertyItem3, nil)
end
if self.uIBook.detail.propertyItem2.GenerateDestroy ~= nil then
self.uIBook.detail.propertyItem2:GenerateDestroy()
end
if tolua.getpeer(self.uIBook.detail.propertyItem2) ~= nil then
tolua.setpeer(self.uIBook.detail.propertyItem2, nil)
end
if self.uIBook.detail.propertyItem1.GenerateDestroy ~= nil then
self.uIBook.detail.propertyItem1:GenerateDestroy()
end
if tolua.getpeer(self.uIBook.detail.propertyItem1) ~= nil then
tolua.setpeer(self.uIBook.detail.propertyItem1, nil)
end
if tolua.getpeer(self.uIBook.detail.describe) ~= nil then
tolua.setpeer(self.uIBook.detail.describe, nil)
end
if tolua.getpeer(self.uIBook.detail.jobBox.icon) ~= nil then
tolua.setpeer(self.uIBook.detail.jobBox.icon, nil)
end
if tolua.getpeer(self.uIBook.detail.jobBox) ~= nil then
tolua.setpeer(self.uIBook.detail.jobBox, nil)
end
if tolua.getpeer(self.uIBook.detail.noJob) ~= nil then
tolua.setpeer(self.uIBook.detail.noJob, nil)
end
if tolua.getpeer(self.uIBook.detail.slotPosName) ~= nil then
tolua.setpeer(self.uIBook.detail.slotPosName, nil)
end
if tolua.getpeer(self.uIBook.detail.lv) ~= nil then
tolua.setpeer(self.uIBook.detail.lv, nil)
end
if tolua.getpeer(self.uIBook.detail.itemName) ~= nil then
tolua.setpeer(self.uIBook.detail.itemName, nil)
end
if self.suites.suitesLvItem4.GenerateDestroy ~= nil then
self.suites.suitesLvItem4:GenerateDestroy()
end
if tolua.getpeer(self.suites.suitesLvItem4) ~= nil then
tolua.setpeer(self.suites.suitesLvItem4, nil)
end
if self.suites.suitesLvItem3.GenerateDestroy ~= nil then
self.suites.suitesLvItem3:GenerateDestroy()
end
if tolua.getpeer(self.suites.suitesLvItem3) ~= nil then
tolua.setpeer(self.suites.suitesLvItem3, nil)
end
if self.suites.suitesLvItem2.GenerateDestroy ~= nil then
self.suites.suitesLvItem2:GenerateDestroy()
end
if tolua.getpeer(self.suites.suitesLvItem2) ~= nil then
tolua.setpeer(self.suites.suitesLvItem2, nil)
end
if self.suites.suitesLvItem1.GenerateDestroy ~= nil then
self.suites.suitesLvItem1:GenerateDestroy()
end
if tolua.getpeer(self.suites.suitesLvItem1) ~= nil then
tolua.setpeer(self.suites.suitesLvItem1, nil)
end
if tolua.getpeer(self.uIBook.detail.icon) ~= nil then
tolua.setpeer(self.uIBook.detail.icon, nil)
end
if tolua.getpeer(self.uIBook.detail) ~= nil then
tolua.setpeer(self.uIBook.detail, 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.mirrorModel) ~= nil then
tolua.setpeer(self.mirrorModel, nil)
end
self.mirrorModel = nil
if tolua.getpeer(self.uIFashionAnim) ~= nil then
tolua.setpeer(self.uIFashionAnim, nil)
end
self.uIFashionAnim = nil
if tolua.getpeer(self.model) ~= nil then
tolua.setpeer(self.model, nil)
end
self.model = nil
if tolua.getpeer(self.alpha) ~= nil then
tolua.setpeer(self.alpha, nil)
end
self.alpha = nil
if tolua.getpeer(self.uIBook) ~= nil then
tolua.setpeer(self.uIBook, nil)
end
self.uIBook = nil
if tolua.getpeer(self.btnSuites) ~= nil then
tolua.setpeer(self.btnSuites, nil)
end
self.btnSuites = nil
if tolua.getpeer(self.suites) ~= nil then
tolua.setpeer(self.suites, nil)
end
self.suites = nil
if tolua.getpeer(self.rightEmpty) ~= nil then
tolua.setpeer(self.rightEmpty, nil)
end
self.rightEmpty = nil
if tolua.getpeer(self.switch) ~= nil then
tolua.setpeer(self.switch, nil)
end
self.switch = nil
if tolua.getpeer(self.onBook) ~= nil then
tolua.setpeer(self.onBook, nil)
end
self.onBook = nil
if tolua.getpeer(self.onFashion) ~= nil then
tolua.setpeer(self.onFashion, nil)
end
self.onFashion = nil
if tolua.getpeer(self.book) ~= nil then
tolua.setpeer(self.book, nil)
end
self.book = nil
if tolua.getpeer(self.toggleScrollView) ~= nil then
tolua.setpeer(self.toggleScrollView, nil)
end
self.toggleScrollView = nil
if tolua.getpeer(self.scrollView) ~= nil then
tolua.setpeer(self.scrollView, nil)
end
self.scrollView = nil
if tolua.getpeer(self.btnGoto) ~= nil then
tolua.setpeer(self.btnGoto, nil)
end
self.btnGoto = nil
if tolua.getpeer(self.btnSave) ~= nil then
tolua.setpeer(self.btnSave, nil)
end
self.btnSave = nil
if tolua.getpeer(self.btnAllAttr) ~= nil then
tolua.setpeer(self.btnAllAttr, nil)
end
self.btnAllAttr = nil
self.transform = nil
self.gameObject = nil
self.inited = false
end
return UIFashionView