M_MSCLoader_SaveLoad_DeserializeClass__1 - piotrulos/MSCModLoader GitHub Wiki
Deserialize custom class from Unified save system
Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.4.2.410
C#
public static T DeserializeClass<T>(
Mod mod,
string valueID,
bool encrypted = false
)
where T : new()View Source
- Mod
- Mod Instance
- String
- ID of saved class
- Boolean (Optional)
- Was the data encrypted [Important!]
- Your class
T
Your class