Class WorldConfigurationAttribute
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
public class WorldConfigurationAttribute
- Inheritance
-
WorldConfigurationAttribute
- Inherited Members
-
- Extension Methods
-
Fields
Alarm
Field Value
- double
Category
Field Value
- string
Code
Field Value
- string
DataType
public EnumDataType DataType
Field Value
- EnumDataType
Default
Field Value
- string
DisplayUnit
public decimal DisplayUnit
Field Value
- decimal
Max
Field Value
- double
Min
Field Value
- double
Multiplier
public decimal Multiplier
Field Value
- decimal
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
Field Value
- double
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