![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SaveGameSystem.h>
Inheritance diagram for FGenericSaveGameSystem:Protected Member Functions | |
| virtual FString | GetSaveGamePath (const TCHAR *Name) |
Protected Member Functions inherited from ISaveGameSystem | |
| ENGINE_API void | OnAsyncComplete (TFunction< void()> Callback) |
Additional Inherited Members | |
Public Types inherited from ISaveGameSystem | |
| enum class | ESaveExistsResult { OK , DoesNotExist , Corrupt , UnspecifiedError } |
| typedef TFunction< void(const FString &, FPlatformUserId, bool)> | FSaveGameAsyncOpCompleteCallback |
| typedef TFunction< void(const FString &, FPlatformUserId, bool, const TArray< uint8 > &)> | FSaveGameAsyncLoadCompleteCallback |
| typedef TFunction< void(const FString &, FPlatformUserId, ISaveGameSystem::ESaveExistsResult)> | FSaveGameAsyncExistsCallback |
| typedef TFunction< void(FPlatformUserId, bool)> | FSaveGameAsyncInitCompleteCallback |
| typedef TFunction< void(FPlatformUserId, bool, const TArray< FString > &)> | FSaveGameAsyncGetNamesCallback |
Static Protected Attributes inherited from ISaveGameSystem | |
| static ENGINE_API UE::Tasks::FPipe | AsyncTaskPipe { TEXT("SaveGamePipe") } |
A generic save game system that just uses IFileManager to save/load with normal files
|
inlineoverridevirtual |
Delete an existing save game, blocking until complete
Implements ISaveGameSystem.
|
inlineoverridevirtual |
Return true if the named savegame exists (probably not useful with NativeUI
Implements ISaveGameSystem.
|
inlineoverridevirtual |
Similar to DoesSaveGameExist, except returns a result code with more information.
Implements ISaveGameSystem.
Some save systems don't support more than one user, in those cases the game needs to avoid saving settings for anyone but the primary user.
Implements ISaveGameSystem.
|
inlineoverridevirtual |
Gets a list of all known saves. This isn't possible on all platforms.
Reimplemented from ISaveGameSystem.
|
inlineprotectedvirtual |
Get the path to save game file for the given name, a platform may be able to simply override this and no other functions above
|
inlineoverridevirtual |
Loads the game, blocking until complete
Implements ISaveGameSystem.
Returns true if the platform has a native UI (like many consoles)
Implements ISaveGameSystem.
|
inlineoverridevirtual |
Saves the game, blocking until complete. Platform may use FGameDelegates to get more information from the game
Implements ISaveGameSystem.