A generic save game system that just uses IFileManager to save/load with normal files 更多...
#include <SaveGameSystem.h>
类 FGenericSaveGameSystem 继承关系图:Public 成员函数 | |
| virtual bool | DeleteGame (bool bAttemptToUseUI, const TCHAR *Name, const int32 UserIndex) override |
| Delete an existing save game, blocking until complete | |
| virtual bool | DoesSaveGameExist (const TCHAR *Name, const int32 UserIndex) override |
| Return true if the named savegame exists (probably not useful with NativeUI | |
| virtual ESaveExistsResult | DoesSaveGameExistWithResult (const TCHAR *Name, const int32 UserIndex) override |
| Similar to DoesSaveGameExist, except returns a result code with more information. | |
| virtual bool | LoadGame (bool bAttemptToUseUI, const TCHAR *Name, const int32 UserIndex, TArray< uint8 > &Data) override |
| Loads the game, blocking until complete | |
| virtual bool | PlatformHasNativeUI () override |
| Returns true if the platform has a native UI (like many consoles) | |
| virtual bool | SaveGame (bool bAttemptToUseUI, const TCHAR *Name, const int32 UserIndex, const TArray< uint8 > &Data) override |
| Saves the game, blocking until complete. 更多... | |
| virtual bool | DeleteGame (bool bAttemptToUseUI, const TCHAR *Name, const int32 UserIndex)=0 |
| Delete an existing save game, blocking until complete | |
| virtual bool | DoesSaveGameExist (const TCHAR *Name, const int32 UserIndex)=0 |
| Return true if the named savegame exists (probably not useful with NativeUI | |
| virtual ESaveExistsResult | DoesSaveGameExistWithResult (const TCHAR *Name, const int32 UserIndex)=0 |
| Similar to DoesSaveGameExist, except returns a result code with more information. | |
| virtual bool | LoadGame (bool bAttemptToUseUI, const TCHAR *Name, const int32 UserIndex, TArray< uint8 > &Data)=0 |
| Loads the game, blocking until complete | |
| virtual bool | PlatformHasNativeUI ()=0 |
| Returns true if the platform has a native UI (like many consoles) | |
| virtual bool | SaveGame (bool bAttemptToUseUI, const TCHAR *Name, const int32 UserIndex, const TArray< uint8 > &Data)=0 |
| Saves the game, blocking until complete. 更多... | |
Protected 成员函数 | |
| virtual FString | GetSaveGamePath (const TCHAR *Name) |
| 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 | |
A generic save game system that just uses IFileManager to save/load with normal files
|
inlineoverridevirtual |
Saves the game, blocking until complete.
Platform may use FGameDelegates to get more information from the game
实现了 ISaveGameSystem.