Class CMSSaveSystem
- Namespace
- BlazerTech.CharacterManagement.Core
- Assembly
- Assembly-CSharp.dll
public static class CMSSaveSystem
- Inheritance
-
CMSSaveSystem
Methods
LoadFileWholePath<T>(string)
public static T LoadFileWholePath<T>(string filePath) where T : class
Parameters
filePathstring
Returns
- T
Type Parameters
T
LoadFile<T>(string)
public static T LoadFile<T>(string filePath) where T : class
Parameters
filePathstring
Returns
- T
Type Parameters
T
LoadFilesInFolder<T>(string)
public static List<T> LoadFilesInFolder<T>(string RelativefolderPath) where T : class
Parameters
RelativefolderPathstring
Returns
- List<T>
Type Parameters
T
SaveFile<T>(string, string, T)
Saves an object to a file in the Persistent Data Path folder.
public static void SaveFile<T>(string RelativefilePath, string fileName, T objectToWrite)
Parameters
RelativefilePathstringFilepath relative to the Persistent Data Path folder.
fileNamestringThe name the file excluding extention.
objectToWriteTThe object to write into the file.
Type Parameters
T