|
UnrealModFramework
Mod framework API
|
Reads and publishes complete save envelopes on the game thread. More...
#include <ModExtensionSave.h>
Static Public Member Functions | |
| static bool | Capture (const UModExtensionSubsystem &Extensions, const FModSavePolicy &Policy, FModSaveSnapshot &Snapshot, FString &Error) |
| Captures current package and plan metadata and retains optional blocks. | |
| static bool | Migrate (const UModExtensionSubsystem &Extensions, const FModSavePolicy &Policy, const FModSaveSnapshot &Original, FModSaveSnapshot &Result, FString &Error) |
| Migrates a copy, then publishes it only after validation. | |
| static bool | Admit (const UModExtensionSubsystem &Extensions, const FModSavePolicy &Policy, const FModSaveSnapshot &Original, FString &Error) |
| Checks save host and package requirements before World effects. | |
| static bool | ReadFile (const FString &Source, FModSaveSnapshot &Snapshot, FString &Error) |
| Deserializes a bounded binary save without invoking gameplay code. | |
| static bool | WriteNewFile (const FString &Destination, const FModSaveSnapshot &Snapshot, FString &Error) |
| Publishes a complete save at a new destination. | |
Reads and publishes complete save envelopes on the game thread.
|
static |
Migrates a copy, then publishes it only after validation.
Invoke before restoring gameplay. Missing optional Mod records retain their original bytes, versions and provenance.
|
static |
Publishes a complete save at a new destination.
Use a new slot for a migrated save. Existing files are preserved.