Files
BusyRabbit/Content/Lua/GamePlay/Components/InventoryComponent.lua

15 lines
313 B
Lua
Raw Normal View History

2025-07-09 01:08:35 +08:00
local InventoryComponent = {}
function InventoryComponent:ReceiveBeginPlay()
print(self, "InventoryComponent:ReceiveBeginPlay")
end
function InventoryComponent:InitItemGrid(grid)
grid.MaxCount = 1
grid.CurrentCount = 0
grid.Priority = 1
return grid
end
return Class(nil, nil, InventoryComponent)