Loading...
Searching...
No Matches
ReforgerSaveGameManager Interface Reference
Inheritance diagram for ReforgerSaveGameManager:
SaveGameManager

Additional Inherited Members

- Public Member Functions inherited from SaveGameManager
proto external bool IsBusy ()
 Busy state is entered on e.g. save creation, migration, deletion.
 
proto external bool IsSavingEnabled ()
 True if saving is generally enabled for the current scenario or not.
 
proto external void SetEnabledSaveTypes (ESaveGameType enabled)
 Configures which save types are currently available.
 
proto external ESaveGameType GetEnabledSaveTypes ()
 Get the currently enabled save types.
 
proto external void SetSavingAllowed (bool allowed)
 Allow or disallow saving.
 
proto external bool IsSavingAllowed ()
 True if saving is enabled AND allowed.
 
proto external void StartPlaythrough (string mission, string optionalName=string.Empty, bool transition=true)
 Remember info for save-point creation and kick off transition to mission load.
 
proto external int GetCurrentPlaythroughNumber ()
 Get the number of the current playthrough.
 
proto external void RequestSavePoint (ESaveGameType type, string displayName=string.Empty, ESaveGameRequestFlags flags=0, SaveGameOperationCallback callback=null)
 Request a new save point to be created.
 
proto external void RequestSavePointOverwrite (notnull SaveGame save, ESaveGameRequestFlags flags=0, SaveGameOperationCallback callback=null)
 Request to override a save with new data.
 
proto external void GetSaves (string missionfilter, notnull SaveGameObtainCallback callback)
 Attempts to retrieve save games from cache or else reads them from storage source.
 
proto external SaveGame GetActiveSave ()
 Get save game currently being loaded/played.
 
proto external void Load (notnull SaveGame saveGame, bool transition=true)
 Continue the game from this save point.
 
proto external void Delete (notnull SaveGame saveGame, SaveGameOperationCallback callback=null)
 Delete the save point.
 
proto external void Purge (string mission, int playthroughFilter=-1, SaveGameOperationCallback callback=null)
 Delete all save points of the given mission (optionally: of a specific playthrough)
 
void OnSaveCreated (SaveGame save)
 Called when a new save point was created.
 
void OnSaveDeleted (SaveGame save)
 Called when a new save point was created.
 
void OnBusyStateChanged (bool busy)
 Called when busy state changes.
 
- Static Public Member Functions inherited from SaveGameManager
static proto SaveGameManager Get ()
 Get the save game manager instance.
 
static proto string GetCurrentMissionResource ()
 Get the currently active mission name (Mission header or world file)
 

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