Restore Continue entity graph from typed state
This commit is contained in:
parent
75d3f05fd9
commit
794e65f4ad
6 changed files with 125 additions and 44 deletions
|
|
@ -841,11 +841,15 @@ static void RequireMainMenuContinueRunState(string root)
|
|||
"AetheriaRuntimeRunStateSnapshot ContinueRunState",
|
||||
"ResolveStartZone(continuingRun)",
|
||||
"if (continuingRun != null)",
|
||||
"RestoreCurrentEntityFromTypedRun(continuingRun)",
|
||||
"RestoreEntityGraphFromTypedRun(continuingRun)",
|
||||
"ReadEntitySnapshots(RuntimeStateFilePath)",
|
||||
"entity.RecordKey",
|
||||
"CreateEntityConstructionBlueprint(entitySnapshot, true)",
|
||||
"BindToEntity(entity)",
|
||||
"ReplaceZoneEntitiesFromTypedSnapshots",
|
||||
"Zone.Agents.Clear()",
|
||||
"RestoreEntityContactsFromTypedSnapshot",
|
||||
"entity.Target.Value = target",
|
||||
"string.Equals(entitySnapshot.RecordKey, currentEntityKey",
|
||||
"BindToEntity(currentEntity)",
|
||||
"RestoreActiveConsumablesFromTypedEntitySnapshot(entity, entitySnapshot)",
|
||||
"entity.RestoreStatGrids(entitySnapshot.StatGrids)",
|
||||
"RestoreThermalExposure((float)entitySnapshot.Heatstroke, (float)entitySnapshot.Hypothermia)",
|
||||
|
|
|
|||
Loading…
Reference in a new issue