Table of Contents

Class WorldConfigurationAttribute

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll
public class WorldConfigurationAttribute
Inheritance
WorldConfigurationAttribute
Inherited Members
Extension Methods

Fields

Alarm

public double Alarm

Field Value

double

Category

public string Category

Field Value

string

Code

public string Code

Field Value

string

DataType

public EnumDataType DataType

Field Value

EnumDataType

Default

public string Default

Field Value

string

DisplayUnit

public decimal DisplayUnit

Field Value

decimal

Max

public double Max

Field Value

double

Min

public double Min

Field Value

double

Multiplier

public decimal Multiplier

Field Value

decimal

Names

public string[] Names

Field Value

string[]

OnCustomizeScreen

public bool OnCustomizeScreen

Field Value

bool

OnlyDuringWorldCreate

public bool OnlyDuringWorldCreate

Field Value

bool

SkipValues

public string[] SkipValues

Field Value

string[]

Step

public double Step

Field Value

double

Values

public string[] Values

Field Value

string[]

Properties

ModInfo

public ModInfo ModInfo { get; set; }

Property Value

ModInfo

TypedDefault

public object TypedDefault { get; }

Property Value

object

Methods

stringToValue(string)

public object stringToValue(string text)

Parameters

text string

Returns

object

valueToHumanReadable(string)

public string valueToHumanReadable(string value)

Parameters

value string

Returns

string