Click or drag to resize
MachineDataLoadCallback Delegate
Called when a machine is loaded with the value that was loaded from the save file.

Please note you also have to handle the case that a save file that was created without your mod installed is loaded. In this case, a value of NOTFOUND will be passed.

Namespace: spaar.ModLoader
Assembly: SpaarModLoader (in SpaarModLoader.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public delegate void LoadCallback(
	string title,
	string value
)

Parameters

title
Type: SystemString
Title of the section that was loaded
value
Type: SystemString
Value that was loaded or NOTFOUND if the section was not present in the loaded save file
See Also