Reserve container persistence schema
This commit is contained in:
@@ -429,6 +429,14 @@ from `UAgrarianInventoryComponent::Items`, and restored through
|
||||
values and broadcasts inventory changes so HUD/debug listeners see loaded item
|
||||
state.
|
||||
|
||||
Container persistence reserves `FAgrarianSavedContainer` records with stable
|
||||
container ID, container type ID, transform, item stacks, and owner player ID.
|
||||
Version 0.1.M does not yet have a placed container actor to capture; the current
|
||||
`simple_container` remains a craftable inventory item and is covered by player
|
||||
inventory persistence. The saved container array is intentionally present now
|
||||
so the first placed-container actor can use the same save format without a
|
||||
schema break.
|
||||
|
||||
World time is stored in `UAgrarianSaveGame::WorldHours`. The persistence
|
||||
subsystem captures it from `AAgrarianGameState::WorldHours` during world save
|
||||
and restores it only on authority during world load.
|
||||
|
||||
Reference in New Issue
Block a user