Class SaveSystem
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public static class SaveSystem
- Inheritance
-
SaveSystem
- Inherited Members
-
Fields
BIN_EXTENSION
public static readonly string BIN_EXTENSION
Field Value
- string
CURRENT_VERSION
public static readonly string CURRENT_VERSION
Field Value
- string
Inited
public static bool Inited
Field Value
- bool
SAVE_LOCATION
public static string SAVE_LOCATION
Field Value
- string
SavesOnFile
public static Save[] SavesOnFile
Field Value
- Save[]
Properties
CurrentSave
public static Save CurrentSave { get; set; }
Property Value
- Save
HaveCurrentSave
public static bool HaveCurrentSave { get; }
Property Value
- bool
LastSelectedIndex
public static int LastSelectedIndex { get; set; }
Property Value
- int
public static FileInfo MetaFileInfo { get; }
Property Value
- FileInfo
USING_SAVE
public static bool USING_SAVE { get; set; }
Property Value
- bool
Methods
CanSave()
public static bool CanSave()
Returns
- bool
DeleteCurrentSave()
public static void DeleteCurrentSave()
public static void DeleteMetaData()
DeleteSave(int)
public static void DeleteSave(int saveIndex)
Parameters
saveIndex
int
Init()
public static void Init()
LoadSavesFromDisk()
public static void LoadSavesFromDisk()
MakeNewSave()
public static void MakeNewSave()
public static void SaveMetaData(string serializedData)
Parameters
serializedData
string
SaveToDisk()
public static void SaveToDisk()
SelectCurrentSave(int)
public static void SelectCurrentSave(int saveIndex)
Parameters
saveIndex
int
public static bool TryLoadMetaData(out string data)
Parameters
data
string
Returns
- bool
UsingSave(bool)
public static void UsingSave(bool b)
Parameters
b
bool