ModuleConfig.editPresetParameter

Edits a preset parameter.

class ModuleConfig
void
editPresetParameter
(
string modID
,,
Value paramID
,
Value value
,
ref Value backup
,
string name = null
)

Parameters

modID string

The module identifier string, usually its name within the configuration.

presetID int

The preset identifier number.

paramID Value

The ID of the parameter, either the type of a string, or a long.

value Value

The value to be written into the preset.

backup Value

Previous value of the parameter, otherwise left unaltered.

name string

Optional name of the preset.

Meta