ChoiceOption
loreline.ChoiceOption (Class)
Represents a choice option presented to the user.
Instance Members
text: StringThe text of the choice option.
Any tags associated with the choice text.
enabled: BoolWhether this choice option is currently enabled.
new(text: String, tags: Array<TextTag>, enabled: Bool, node: NChoiceOption, insertion: RuntimeInsertion): Void| Name | Type | Description |
|---|---|---|
text |
String | * The text of the choice option. |
tags |
Array<TextTag> | * Any tags associated with the choice text. |
enabled |
Bool | * Whether this choice option is currently enabled. |
node |
NChoiceOption | * The related choice option node, only used internally |
insertion |
RuntimeInsertion | * The related insertion of this option. Needed to be able to resume execution if that choice option is chosen. |
Private Members
node: NChoiceOptionThe related choice option node, only used internally
insertion: RuntimeInsertionThe related insertion of this option. Needed to be able to resume execution if that choice option is chosen.
Metadata
| Name | Parameters |
|---|---|
:hxGen |
- |
:structInit |
- |