Skip to main content

Save System Integration

Merchant state automatically persists via ISaveable interface. Saved Data:
  • Merchant GUID
  • Current stock levels
  • Transaction log
  • Processed nonces (for idempotency)
Save Trigger:
  • Every transaction
  • Restock operations
  • Manual via USaveSubsystem::FlushSaves()

Save Record Structure

Load Behavior

On server restart:
  • Stock levels restore to saved state
  • Transaction history preserved
  • Nonce cache restored (prevents replay attacks)

Error Handling

Error Codes

Error Handling Pattern