Class EventProperty.NumberInput
EventProperty class for the NumberInput property.
Implements
Inherited Members
Namespace: Modding
Assembly: Assembly-CSharp.dll
Syntax
public class NumberInput : EventProperty, IValidatable
Constructors
NumberInput()
Declaration
public NumberInput()
Fields
CharLimit
Corresponds to the maxChars XML attribute.
Declaration
public int CharLimit
Field Value
Type | Description |
---|---|
Int32 |
Decimals
Corresponds to the decimals XML attribute.
Declaration
public int Decimals
Field Value
Type | Description |
---|---|
Int32 |
DefaultValue
Default value, as specified in the XML file.
Declaration
public float DefaultValue
Field Value
Type | Description |
---|---|
Single |
DefaultValueSpecified
Whether or not a default value was specified.
Declaration
public bool DefaultValueSpecified
Field Value
Type | Description |
---|---|
Boolean |
MaxDecimals
Corresponds to the maxDecimals XML attribute.
Declaration
public int MaxDecimals
Field Value
Type | Description |
---|---|
Int32 |
MaxValue
Corresponds to the maxValue XML attribute.
Declaration
public float MaxValue
Field Value
Type | Description |
---|---|
Single |
MinValue
Corresponds to the minValue XML attribute.
Declaration
public float MinValue
Field Value
Type | Description |
---|---|
Single |
NegativeNumbers
Corresponds to the negativeNumbers XML attribute.
Declaration
public bool NegativeNumbers
Field Value
Type | Description |
---|---|
Boolean |
Prefix
Corresponds to the prefix XML attribute.
Declaration
public string Prefix
Field Value
Type | Description |
---|---|
String |
SplitThousand
Corresponds to the splitThousands XML attribute.
Declaration
public bool SplitThousand
Field Value
Type | Description |
---|---|
Boolean |
Suffix
Corresponds to the suffix XML attribute.
Declaration
public string Suffix
Field Value
Type | Description |
---|---|
String |
Title
Title text, as specified in the XML file.
Declaration
public string Title
Field Value
Type | Description |
---|---|
String |
Properties
Value
Number entered in the UI.
Declaration
public float Value { get; set; }
Property Value
Type | Description |
---|---|
Single |