Class EventProperty.Choice.Option
Represents one of the available options.
Implements
Inherited Members
Namespace: Modding
Assembly: Assembly-CSharp.dll
Syntax
public class Option : Element, IValidatable
Constructors
Option()
Declaration
public Option()
Fields
Index
Corresponds to the index XML attribute. This is used only when saving the level, it is not an index into the Options array!
Declaration
public int Index
Field Value
Type | Description |
---|---|
Int32 |
IndexSpecified
Whether or not an index was specified.
Declaration
public bool IndexSpecified
Field Value
Type | Description |
---|---|
Boolean |
Text
Option text, as specified in the XML file.
Declaration
public string Text
Field Value
Type | Description |
---|---|
String |