UGCProjects/GZJ/Script/UI/ChildWidgets/BP_FittingDragDropData.lua

32 lines
728 B
Lua
Raw Normal View History

2025-01-08 22:46:12 +08:00
---@class BP_FittingDragDropData_C:DragDropOperation
--Edit Below--
local BP_FittingDragDropData = {
-- 可以存放一些其他数据
ItemData = nil,
DropItemType = EItemDropType.None,
};
function BP_FittingDragDropData:ReceiveBeginPlay()
self.SuperClass.ReceiveBeginPlay(self);
end
function BP_FittingDragDropData:SetOperationData(InData, InType)
self.ItemData = InData
self.DropItemType = InType
end
function BP_FittingDragDropData:GetItemData()
return self.ItemData
end
function BP_FittingDragDropData:GetDropItemType()
return self.DropItemType
end
--[[
function BP_FittingDragDropData:ReceiveEndPlay()
self.SuperClass.ReceiveEndPlay(self);
end
--]]
return BP_FittingDragDropData;