-
-
Notifications
You must be signed in to change notification settings - Fork 66
Methods_T_MSCLoader_SaveLoad
piotrulos edited this page Jan 12, 2025
·
4 revisions
| DeleteValue | Delete value from Mods.txt (if exists) |
| DeserializeClass(T) | Deserialize custom class from Unified save system |
| DeserializeSaveFile(T) | Deserialize custom save class to custom file (see example) |
| ReadValue(T) | Read saved value |
| ReadValueAs2DArray(T) | Read saved value as 2D Array |
| ReadValueAsArray(T) | Read saved value as Array |
| ReadValueAsDictionary(TKey, TValue) | Read saved value as Dictionary |
| ReadValueAsHashSet(T) | Read saved value as HashSet |
| ReadValueAsList(T) | Read saved value as List |
| ReadValueAsQueue(T) | Read saved value as Queue |
| ReadValueAsStack(T) | Read saved value as Stack |
| SerializeClass(T) | Serialize custom class under custom ID in Unified save system |
| SerializeSaveFile(T) | Serialize custom save class to custom file (see example) Call Only in OnSave() |
| ValueExists | Check if saved value exists in save file. |
| WriteValue(T)(Mod, String, T) | Write value to save file |
| WriteValue(T)(Mod, String, T[]) | Write array to save file |
| WriteValue(T)(Mod, String, T[,]) | Write 2D array to save file |
| WriteValue(T)(Mod, String, HashSet(T)) | Write HashSet to save file |
| WriteValue(T)(Mod, String, List(T)) | Write List to save file |
| WriteValue(T)(Mod, String, Queue(T)) | Write Queue to save file |
| WriteValue(T)(Mod, String, Stack(T)) | Write Stack to save file |
| WriteValue(TKey, TValue)(Mod, String, Dictionary(TKey, TValue)) | Write Dictionary to save file |
- How to install MSCLoader using MSCLInstaller
- How to install mods
- Official experimental linux support
- Unofficial tutorial for linux (wine/proton)
- Install Visual Studio for MSCLoader
- Install template for Visual Studio
- How to use templates
- Debugging your mods in Visual Studio
- Enable DevMode to help with debugging
- Uploading and creating Self update feature for your mod or reference
- How to create and use Asset Bundles