Save MVP player identity metadata
This commit is contained in:
@@ -401,6 +401,14 @@ Do not store:
|
||||
Player records should store stable IDs and gameplay state, not sensitive
|
||||
account credentials.
|
||||
|
||||
For the MVP `USaveGame` path, each saved player keeps both a backwards-compatible
|
||||
`PlayerId` string and an `FAgrarianSavedPlayerIdentity` block. The stable ID
|
||||
prefers the replicated `APlayerState` unique network ID when one exists, then
|
||||
falls back to player name, then pawn name for local prototype sessions. The
|
||||
identity block also records the display player name, raw network ID, whether
|
||||
the network ID was used, and the last known pawn name. It deliberately does not
|
||||
store passwords, tokens, emails, or platform credentials.
|
||||
|
||||
## Testing Gates
|
||||
|
||||
Minimum persistence smoke test:
|
||||
|
||||
Reference in New Issue
Block a user