OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Classes | Functions | Variables
SaveLoad.h File Reference
#include <array>
#include <string>
#include <utility>
#include "Engine/Time/Time.h"
#include "Utility/Memory/Blob.h"

Classes

struct  SaveGameHeader
 
struct  SavegameList
 

Functions

void LoadGame (int uSlot)
 
std::pair< SaveGameHeader, BlobCreateSaveData (bool resetWorld, std::string_view title)
 
SaveGameHeader SaveGame (bool isAutoSave, bool resetWorld, std::string_view path, std::string_view title={})
 
void AutoSave ()
 
void DoSavegame (int uSlot)
 
bool Initialize_GamesLOD_NewLOD ()
 
void SaveNewGame ()
 
void QuickSaveGame ()
 
int GetQuickSaveSlot ()
 
void QuickLoadGame ()
 
std::string GetCurrentQuickSave ()
 

Variables

constexpr int MAX_SAVE_SLOTS = 45
 
SavegameListpSavegameList
 

Function Documentation

◆ AutoSave()

void AutoSave ( )

◆ CreateSaveData()

std::pair< SaveGameHeader, Blob > CreateSaveData ( bool  resetWorld,
std::string_view  title 
)

◆ DoSavegame()

void DoSavegame ( int  uSlot)

◆ GetCurrentQuickSave()

std::string GetCurrentQuickSave ( )

◆ GetQuickSaveSlot()

int GetQuickSaveSlot ( )

◆ Initialize_GamesLOD_NewLOD()

bool Initialize_GamesLOD_NewLOD ( )

◆ LoadGame()

void LoadGame ( int  uSlot)

◆ QuickLoadGame()

void QuickLoadGame ( )

◆ QuickSaveGame()

void QuickSaveGame ( )

◆ SaveGame()

SaveGameHeader SaveGame ( bool  isAutoSave,
bool  resetWorld,
std::string_view  path,
std::string_view  title = {} 
)

◆ SaveNewGame()

void SaveNewGame ( )

Variable Documentation

◆ MAX_SAVE_SLOTS

constexpr int MAX_SAVE_SLOTS = 45
constexpr

◆ pSavegameList

SavegameList* pSavegameList
extern