Click or drag to resize
MachineData Class
Allows mods to add data to machine save files.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          spaar.ModLoaderSingleInstanceMachineData
            spaar.ModLoaderMachineData

Namespace: spaar.ModLoader
Assembly: SpaarModLoader (in SpaarModLoader.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class MachineData : SingleInstance<MachineData>

The MachineData type exposes the following members.

Constructors
  NameDescription
Public methodMachineData
Initializes a new instance of the MachineData class
Top
Properties
Methods
  NameDescription
Public methodStatic memberAdd
Add a section to the save files with the specified callbacks for retrieving values to be saved and notifying the mod of loaded values.
Top
Remarks
Save files are organized in the following format:
SECTION 1
value of section 1
SECTION 2
value of section 2
....
There are multiple sections predefined by the game. This class allows you to add new ones.
See Also