Skip to content

M_MSCLoader_Settings__ctor_2

piotrulos edited this page Apr 7, 2023 · 4 revisions

Settings Constructor (String, String, Object, Action)

Constructor for Settings

Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.2.11.286

Syntax

C#

public Settings(
	string id,
	string name,
	Object value,
	Action doAction
)

View Source

Parameters

 

id
Type: System.String
Unique settings ID for your mod
name
Type: System.String
Name of the setting
value
Type: System.Object
Default Value for this setting
doAction
Type: System.Action
Function to execute for this setting

See Also

Reference

Settings Class
Settings Overload
MSCLoader Namespace

Clone this wiki locally