engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
ISaveGameSystem类 参考abstract

Interface for platform feature modules 更多...

#include <SaveGameSystem.h>

+ 类 ISaveGameSystem 继承关系图:

Public 成员函数

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. 更多...
 

详细描述

Interface for platform feature modules

Defines the interface to platform's save game system (or a generic file based one)

成员函数说明

◆ SaveGame()

virtual bool ISaveGameSystem::SaveGame ( bool  bAttemptToUseUI,
const TCHAR *  Name,
const int32  UserIndex,
const TArray< uint8 > &  Data 
)
pure virtual

Saves the game, blocking until complete.

Platform may use FGameDelegates to get more information from the game

在 FGenericSaveGameSystem 内被实现.


该类的文档由以下文件生成: