143 for (FString&
File : FoundFiles)
OODEFFUNC typedef void(OODLE_CALLBACK t_fp_OodleCore_Plugin_Free)(void *ptr)
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition SaveGameSystem.h:179
virtual ENGINE_API void GetSaveGameNamesAsync(FPlatformUserId PlatformUserId, FSaveGameAsyncGetNamesCallback Callback) override
Definition SaveGameSystem.cpp:310
virtual bool DoesSaveGameExist(const TCHAR *Name, const int32 UserIndex) override
Definition SaveGameSystem.h:182
virtual ENGINE_API ESaveExistsResult DoesSaveGameExistWithResult(const TCHAR *Name, const int32 UserIndex) override
Definition SaveGameSystem.cpp:219
virtual ENGINE_API void LoadGameIfExistsAsync(bool bAttemptToUseUI, const TCHAR *Name, FPlatformUserId PlatformUserId, FSaveGameAsyncLoadCompleteCallback Callback) override
Definition SaveGameSystem.cpp:298
virtual ENGINE_API bool SaveGame(bool bAttemptToUseUI, const TCHAR *Name, const int32 UserIndex, const TArray< uint8 > &Data) override
Definition SaveGameSystem.cpp:231
virtual ENGINE_API void LoadGameAsync(bool bAttemptToUseUI, const TCHAR *Name, FPlatformUserId PlatformUserId, FSaveGameAsyncLoadCompleteCallback Callback) override
Definition SaveGameSystem.cpp:292
virtual UE::Tasks::FTask InternalDoesSaveGameExistAsync(const TCHAR *Name, FPlatformUserId PlatformUserId, FSaveGameAsyncExistsCallback Callback, TSharedPtr< ESaveExistsResult > OutResult=nullptr)=0
virtual ENGINE_API bool LoadGame(bool bAttemptToUseUI, const TCHAR *Name, const int32 UserIndex, TArray< uint8 > &Data) override
Definition SaveGameSystem.cpp:243
virtual ENGINE_API void DoesSaveGameExistAsync(const TCHAR *Name, FPlatformUserId PlatformUserId, FSaveGameAsyncExistsCallback Callback) override
Definition SaveGameSystem.cpp:282
virtual UE::Tasks::FTask InternalGetSaveGameNamesAsync(FPlatformUserId PlatformUserId, TSharedRef< TArray< FString > > FoundSaves, FSaveGameAsyncGetNamesCallback Callback, TSharedPtr< bool > OutResult=nullptr)=0
virtual ENGINE_API void WaitForAsyncTask(UE::Tasks::FTask AsyncSaveTask)
Definition SaveGameSystem.cpp:319
virtual ENGINE_API void SaveGameAsync(bool bAttemptToUseUI, const TCHAR *Name, FPlatformUserId PlatformUserId, TSharedRef< const TArray< uint8 > > Data, FSaveGameAsyncOpCompleteCallback Callback) override
Definition SaveGameSystem.cpp:287
virtual UE::Tasks::FTask InternalSaveGameAsync(bool bAttemptToUseUI, const TCHAR *Name, FPlatformUserId PlatformUserId, TSharedRef< const TArray< uint8 > > Data, FSaveGameAsyncOpCompleteCallback Callback, TSharedPtr< bool > OutResult=nullptr)=0
virtual ENGINE_API void DeleteGameAsync(bool bAttemptToUseUI, const TCHAR *Name, FPlatformUserId PlatformUserId, FSaveGameAsyncOpCompleteCallback Callback) override
Definition SaveGameSystem.cpp:305
virtual UE::Tasks::FTask InternalDeleteGameAsync(bool bAttemptToUseUI, const TCHAR *Name, FPlatformUserId PlatformUserId, FSaveGameAsyncOpCompleteCallback Callback, TSharedPtr< bool > OutResult=nullptr)=0
virtual UE::Tasks::FTask InternalLoadGameAsync(bool bAttemptToUseUI, const TCHAR *Name, FPlatformUserId PlatformUserId, TSharedRef< TArray< uint8 > > Data, FSaveGameAsyncLoadCompleteCallback Callback, TSharedPtr< bool > OutResult=nullptr)=0
virtual ENGINE_API bool GetSaveGameNames(TArray< FString > &FoundSaves, const int32 UserIndex) override
Definition SaveGameSystem.cpp:267
virtual ENGINE_API bool DeleteGame(bool bAttemptToUseUI, const TCHAR *Name, const int32 UserIndex) override
Definition SaveGameSystem.cpp:256
Definition SaveGameSystem.h:111
virtual bool SaveGame(bool bAttemptToUseUI, const TCHAR *Name, const int32 UserIndex, const TArray< uint8 > &Data) override
Definition SaveGameSystem.h:151
virtual ESaveExistsResult DoesSaveGameExistWithResult(const TCHAR *Name, const int32 UserIndex) override
Definition SaveGameSystem.h:123
virtual bool GetSaveGameNames(TArray< FString > &FoundSaves, const int32 UserIndex) override
Definition SaveGameSystem.h:137
virtual bool DoesSaveSystemSupportMultipleUsers() override
Definition SaveGameSystem.h:118
virtual bool DoesSaveGameExist(const TCHAR *Name, const int32 UserIndex) override
Definition SaveGameSystem.h:132
virtual bool DeleteGame(bool bAttemptToUseUI, const TCHAR *Name, const int32 UserIndex) override
Definition SaveGameSystem.h:161
virtual bool PlatformHasNativeUI() override
Definition SaveGameSystem.h:113
virtual FString GetSaveGamePath(const TCHAR *Name)
Definition SaveGameSystem.h:169
virtual bool LoadGame(bool bAttemptToUseUI, const TCHAR *Name, const int32 UserIndex, TArray< uint8 > &Data) override
Definition SaveGameSystem.h:156
static CORE_API const FString & ProjectSavedDir()
Definition Paths.cpp:496
static CORE_API FString GetBaseFilename(const FString &InPath, bool bRemovePath=true)
Definition Paths.cpp:1033
static CORE_API IFileManager & Get()
Definition FileManagerGeneric.cpp:1072
virtual void FindFiles(TArray< FString > &FileNames, const TCHAR *Filename, bool Files, bool Directories)=0
virtual bool Delete(const TCHAR *Filename, bool RequireExists=0, bool EvenReadOnly=0, bool Quiet=0)=0
Definition ModuleInterface.h:14
Definition SaveGameSystem.h:219
virtual ISaveGameSystem * GetSaveGameSystem()=0
Definition SaveGameSystem.h:20
TFunction< void(FPlatformUserId, bool, const TArray< FString > &)> FSaveGameAsyncGetNamesCallback
Definition SaveGameSystem.h:74
virtual bool DoesSaveSystemSupportMultipleUsers()=0
TFunction< void(FPlatformUserId, bool)> FSaveGameAsyncInitCompleteCallback
Definition SaveGameSystem.h:71
virtual ENGINE_API void SaveGameAsync(bool bAttemptToUseUI, const TCHAR *Name, FPlatformUserId PlatformUserId, TSharedRef< const TArray< uint8 > > Data, FSaveGameAsyncOpCompleteCallback Callback)
Definition SaveGameSystem.cpp:40
ENGINE_API void OnAsyncComplete(TFunction< void()> Callback)
Definition SaveGameSystem.cpp:200
virtual ENGINE_API void InitAsync(bool bAttemptToUseUI, FPlatformUserId PlatformUserId, FSaveGameAsyncInitCompleteCallback Callback)
Definition SaveGameSystem.cpp:185
virtual ENGINE_API void LoadGameIfExistsAsync(bool bAttemptToUseUI, const TCHAR *Name, FPlatformUserId PlatformUserId, FSaveGameAsyncLoadCompleteCallback Callback)
Definition SaveGameSystem.cpp:97
virtual ENGINE_API void DoesSaveGameExistAsync(const TCHAR *Name, FPlatformUserId PlatformUserId, FSaveGameAsyncExistsCallback Callback)
Definition SaveGameSystem.cpp:13
virtual ENGINE_API void GetSaveGameNamesAsync(FPlatformUserId PlatformUserId, FSaveGameAsyncGetNamesCallback Callback)
Definition SaveGameSystem.cpp:158
static ENGINE_API UE::Tasks::FPipe AsyncTaskPipe
Definition SaveGameSystem.h:9
virtual bool GetSaveGameNames(TArray< FString > &FoundSaves, const int32 UserIndex)
Definition SaveGameSystem.h:46
TFunction< void(const FString &, FPlatformUserId, bool, const TArray< uint8 > &)> FSaveGameAsyncLoadCompleteCallback
Definition SaveGameSystem.h:65
virtual ESaveExistsResult DoesSaveGameExistWithResult(const TCHAR *Name, const int32 UserIndex)=0
virtual bool LoadGame(bool bAttemptToUseUI, const TCHAR *Name, const int32 UserIndex, TArray< uint8 > &Data)=0
virtual ENGINE_API void LoadGameAsync(bool bAttemptToUseUI, const TCHAR *Name, FPlatformUserId PlatformUserId, FSaveGameAsyncLoadCompleteCallback Callback)
Definition SaveGameSystem.cpp:70
virtual bool DeleteGame(bool bAttemptToUseUI, const TCHAR *Name, const int32 UserIndex)=0
ESaveExistsResult
Definition SaveGameSystem.h:26
virtual bool SaveGame(bool bAttemptToUseUI, const TCHAR *Name, const int32 UserIndex, const TArray< uint8 > &Data)=0
TFunction< void(const FString &, FPlatformUserId, ISaveGameSystem::ESaveExistsResult)> FSaveGameAsyncExistsCallback
Definition SaveGameSystem.h:68
TFunction< void(const FString &, FPlatformUserId, bool)> FSaveGameAsyncOpCompleteCallback
Definition SaveGameSystem.h:62
virtual bool PlatformHasNativeUI()=0
virtual bool DoesSaveGameExist(const TCHAR *Name, const int32 UserIndex)=0
virtual ENGINE_API void DeleteGameAsync(bool bAttemptToUseUI, const TCHAR *Name, FPlatformUserId PlatformUserId, FSaveGameAsyncOpCompleteCallback Callback)
Definition SaveGameSystem.cpp:132
Definition AndroidPlatformMisc.h:14
Definition SharedPointer.h:692
Definition SharedPointer.h:153
static CORE_API bool LoadFileToArray(TArray< uint8 > &Result, const TCHAR *Filename, uint32 Flags=0)
Definition FileHelper.cpp:39
static CORE_API bool SaveArrayToFile(TArrayView64< const uint8 > Array, const TCHAR *Filename, IFileManager *FileManager=&IFileManager::Get(), uint32 WriteFlags=0)
Definition FileHelper.cpp:632