Loading...
Searching...
No Matches
CityBuilderCore.IGameSaver Interface Reference

Detailed Description

interface for the class that handles the games saving and loading

Inheritance diagram for CityBuilderCore.IGameSaver:
CityBuilderCore.DefaultGameManager CityBuilderCore.GameSaverProxy

Public Member Functions

void Save ()
 saves to the quick slot
 
void SaveNamed (string name)
 saves the game under a specified name
 
void Load ()
 loads from the quick slot
 
void LoadNamed (string name)
 loads from a specified name
 

Properties

bool IsSaving [get]
 check if the game is currently saving
 
bool IsLoading [get]
 check if the game is currently loading, used to suppress certain checks and initializations during loading
 

Member Function Documentation

◆ Load()

void CityBuilderCore.IGameSaver.Load ( )

loads from the quick slot

Implemented in CityBuilderCore.DefaultGameManager, and CityBuilderCore.GameSaverProxy.

◆ LoadNamed()

void CityBuilderCore.IGameSaver.LoadNamed ( string name)

loads from a specified name

Parameters
namename that has been previously saved to

Implemented in CityBuilderCore.DefaultGameManager, and CityBuilderCore.GameSaverProxy.

◆ Save()

void CityBuilderCore.IGameSaver.Save ( )

saves to the quick slot

Implemented in CityBuilderCore.DefaultGameManager, and CityBuilderCore.GameSaverProxy.

◆ SaveNamed()

void CityBuilderCore.IGameSaver.SaveNamed ( string name)

saves the game under a specified name

Parameters
namethe name for the save that can later be used when loading

Implemented in CityBuilderCore.DefaultGameManager, and CityBuilderCore.GameSaverProxy.

Property Documentation

◆ IsLoading

bool CityBuilderCore.IGameSaver.IsLoading
get

check if the game is currently loading, used to suppress certain checks and initializations during loading

Implemented in CityBuilderCore.DefaultGameManager, and CityBuilderCore.GameSaverProxy.

◆ IsSaving

bool CityBuilderCore.IGameSaver.IsSaving
get

check if the game is currently saving

Implemented in CityBuilderCore.DefaultGameManager, and CityBuilderCore.GameSaverProxy.