FrameIT
Stage.SaveGame Class Reference
Inheritance diagram for Stage.SaveGame:
IJSONsavable< SaveGame >

Public Member Functions

 SaveGame ()
 
- Public Member Functions inherited from IJSONsavable< SaveGame >
virtual List< Directories > _IJGetHierarchie (List< Directories > hierarchie_base)
 
virtual bool _IJGetRawObject (out T payload, string path)
 
virtual T _IJPreProcess (T payload)
 
virtual T _IJPostProcess (T payload)
 
bool store (List< Directories > hierarchie, string name, bool use_install_folder=false, bool overwrite=true, bool deep_store=true)
 
bool store_children (List< Directories > hierarchie, string name, bool use_install_folder=false, bool overwrite=true, bool deep_store=true)
 

Public Attributes

PlayerRecord player_record = null
 
Dictionary< string, PlayerRecordplayer_record_list = new()
 

Properties

string name [getset]
 
string path [getset]
 
bool IsEmpty [get]
 
- Properties inherited from IJSONsavable< SaveGame >
string name [getset]
 
string path [getset]
 

Private Member Functions

string IJSONsavable< SaveGame >. _IJGetName (string name)
 
SaveGame IJSONsavable< SaveGame >. _IJPostProcess (SaveGame payload)
 
SaveGame IJSONsavable< SaveGame >. _IJPreProcess (SaveGame payload)
 

Static Private Member Functions

static SaveGame ()
 

Additional Inherited Members

- Static Public Member Functions inherited from IJSONsavable< SaveGame >
static bool store (List< Directories > hierarchie, string name, T payload, bool use_install_folder=false, bool overwrite=true, bool deep_store=true)
 
static bool store_children (List< Directories > hierarchie, string name, T payload, bool use_install_folder=false, bool overwrite=true, bool deep_store=true)
 
static bool load_children (List< Directories > hierarchie, string name, ref T raw_payload, bool use_install_folder=false, bool deep_load=true, bool post_process=true)
 
static bool load (List< Directories > hierarchie, string name, out T payload, bool use_install_folder=false, bool deep_load=true, bool post_process=true)
 
static T postprocess (T payload)
 
static T preprocess (T payload)
 
static void delete_children (List< Directories > hierarchie, string name, bool use_install_folder=false, int skip_last_children=0)
 
static bool delete (List< Directories > hierarchie, string name, bool use_install_folder=false)
 
- Static Public Attributes inherited from IJSONsavable< SaveGame >
static readonly IJSONsavable< T > Instance
 
static readonly FieldInfo[] JsonSaveableFields
 
static readonly FieldInfo[] JsonAutoPreProcessFields
 
static readonly FieldInfo[] JsonAutoPostProcessFields
 
static readonly FieldInfo[] JsonSeperateFields
 
- Static Protected Attributes inherited from IJSONsavable< SaveGame >
static List< Directories > hierarchie
 

Constructor & Destructor Documentation

◆ SaveGame() [1/2]

static Stage.SaveGame.SaveGame ( )
staticprivate

◆ SaveGame() [2/2]

Stage.SaveGame.SaveGame ( )

Member Function Documentation

◆ _IJGetName()

string IJSONsavable< SaveGame >. Stage.SaveGame._IJGetName ( string  name)
privatevirtual

Reimplemented from IJSONsavable< SaveGame >.

◆ _IJPostProcess()

SaveGame IJSONsavable< SaveGame >. Stage.SaveGame._IJPostProcess ( SaveGame  payload)
private

◆ _IJPreProcess()

SaveGame IJSONsavable< SaveGame >. Stage.SaveGame._IJPreProcess ( SaveGame  payload)
private

Member Data Documentation

◆ player_record

PlayerRecord Stage.SaveGame.player_record = null

◆ player_record_list

Dictionary<string, PlayerRecord> Stage.SaveGame.player_record_list = new()

Property Documentation

◆ IsEmpty

bool Stage.SaveGame.IsEmpty
get

◆ name

string Stage.SaveGame.name
getset

◆ path

string Stage.SaveGame.path
getset

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