Table of Contents

Class WorldConfigurationAttribute

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

Fields

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

Max

public double Max

Field Value

double

Min

public double Min

Field Value

double

Names

public string[] Names

Field Value

string[]

OnCustomizeScreen

public bool OnCustomizeScreen

Field Value

bool

OnlyDuringWorldCreate

public bool OnlyDuringWorldCreate

Field Value

bool

Step

public double Step

Field Value

double

Values

public string[] Values

Field Value

string[]

Properties

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