Tala Esenlikler
Save Blueprint Library

ScheduleDebouncedInteractionSaveSnapshotExport

Clears the supplied timer handle, waits DelaySeconds, exports the current IF snapshot into SnapshotStorage, then calls OnExported.

Interaction Framework 1.0.0 UE5.8 Function UInteractionRuntimeSaveBlueprintLibrary

Clears the supplied timer handle, waits DelaySeconds, exports the current IF snapshot into SnapshotStorage, then calls OnExported.

Use this in the interaction save and restore pipeline to move interaction state between the world subsystem and project-owned save storage.

Owner UInteractionRuntimeSaveBlueprintLibrary
Module InteractionFrameworkRuntime
Category InteractionRuntime|Save
UFUNCTION(BlueprintCallable, Category = "InteractionRuntime|Save", meta = (WorldContext = "WorldContextObject")
) static bool ScheduleDebouncedInteractionSaveSnapshotExport( UObject* WorldContextObject, UObject* SnapshotStorage, UPARAM(ref) FTimerHandle& TimerHandle, float DelaySeconds, FInteractionRuntimeDebouncedSaveExportDelegate OnExported);

Parameters

Inputs
WorldContextObject
UObject*

Object used to resolve the world context.

SnapshotStorage
UObject*

Object that stores interaction save snapshots.

DelaySeconds
float

Delay in seconds before the export runs.

Outputs
TimerHandle
FTimerHandle&

Timer handle used by the delayed export.

Return Value

bool

True when the current interaction save snapshot was exported to the supplied storage or output snapshot.

Use Cases

  • Move interaction persistence data between runtime state and project save storage.

Related Docs