Reads an interaction snapshot from a storage object.
Use this read path to get interaction save snapshot from storage from UInteractionRuntimeSaveBlueprintLibrary. Check the return value before using OutSnapshot.
UFUNCTION(BlueprintCallable, Category = "InteractionRuntime|Save")
static bool GetInteractionSaveSnapshotFromStorage( const UObject* SnapshotStorage, FInteractionRuntimeSaveSnapshot& OutSnapshot);
Parameters
Inputs
SnapshotStorage
Object that stores interaction save snapshots.
Outputs
OutSnapshot
Receives the interaction save snapshot.
Return Value
bool
True when OutSnapshot was found and written to the output parameter.
Use Cases
- Read interaction save snapshot from storage and handle the missing-data case explicitly.