15 lines
313 B
Lua
15 lines
313 B
Lua
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) |