Save MVP player identity metadata

This commit is contained in:
2026-05-18 19:10:44 -07:00
parent a23f886cfa
commit 1e0d326657
5 changed files with 105 additions and 1 deletions
+8
View File
@@ -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: