UnrealModFramework
Mod framework API
Loading...
Searching...
No Matches
Mod::Extension::FModSavePolicy Struct Reference

Game-owned version targets, compatibility and reference migrations. More...

#include <ModExtensionSave.h>

Public Attributes

uint32 GameVersion = 1
 Current game save version.
FString BaseRelease
 Current base release identity.
FString ExportContract
 Current generated export contract identity.
TFunction< bool(const FModSaveSnapshot &)> AcceptOlderHost
 Explicitly approves an obsolete base or export contract.
TFunction< bool(const FModSaveRecord &, FStringView, FStringView)> AcceptOlderMod
 Explicitly approves a prior gameplay release for an installed Mod.
TFunction< uint32(FStringView, FStringView)> BlockVersion
 Returns the current version for a known Mod block. Zero rejects it.
TFunction< const FModSaveMigration *(FStringView, FStringView, uint32)> FindMigration
 Resolves each version step to a migration registered by the game.
TFunction< bool(FModSaveReference &, FString &)> MigrateReference
 Rewrites or rejects an unresolved persistent reference.
TFunction< bool(const FModSaveReference &)> ValidateObjectReference
 Checks game-owned persistent IDs before gameplay is restored.

Detailed Description

Game-owned version targets, compatibility and reference migrations.


The documentation for this struct was generated from the following file: