Document player stats persistence

This commit is contained in:
2026-05-18 19:13:59 -07:00
parent 1e0d326657
commit 82f60f480b
3 changed files with 69 additions and 1 deletions
+7
View File
@@ -409,6 +409,13 @@ 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.
Player stats are stored through `FAgrarianSavedPlayer::Survival`, which captures
the replicated `FAgrarianSurvivalSnapshot`. The MVP stat save includes health,
stamina, exhaustion, hunger, thirst, body temperature, generic injury,
bleeding, sprain, sickness, death state, and death reason. Loading applies the
snapshot through `UAgrarianSurvivalComponent::ApplySavedState`, keeping clamping
and replicated change notifications inside the survival component.
## Testing Gates
Minimum persistence smoke test: