32 lines
728 B
Lua
32 lines
728 B
Lua
|
---@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;
|