DialogNodeNextStep
public struct DialogNodeNextStep : Codable, Equatable
The next step to execute following this dialog node.
-
What happens after the dialog node completes. The valid values depend on the node type:
- The following values are valid for any node:
get_user_inputskip_user_inputjump_to
- If the node is of type
event_handlerand its parent node is of typeslotorframe, additional values are also valid:- if event_name=
filledand the type of the parent node isslot: repromptskip_all_slots
- if event_name=
- if event_name=
nomatchand the type of the parent node isslot:repromptskip_slotskip_all_slots
- if event_name=
genericand the type of the parent node isframe:repromptskip_slotskip_all_slotsIf you specifyjump_to, then you must also specify a value for thedialog_nodeproperty.
Declaration
Swift
public enum Behavior : String - The following values are valid for any node:
-
Which part of the dialog node to process next.
See moreDeclaration
Swift
public enum Selector : String -
What happens after the dialog node completes. The valid values depend on the node type:
- The following values are valid for any node:
get_user_inputskip_user_inputjump_to
- If the node is of type
event_handlerand its parent node is of typeslotorframe, additional values are also valid:- if event_name=
filledand the type of the parent node isslot: repromptskip_all_slots
- if event_name=
- if event_name=
nomatchand the type of the parent node isslot:repromptskip_slotskip_all_slots
- if event_name=
genericand the type of the parent node isframe:repromptskip_slotskip_all_slotsIf you specifyjump_to, then you must also specify a value for thedialog_nodeproperty.
Declaration
Swift
public var behavior: String - The following values are valid for any node:
-
The unique ID of the dialog node to process next. This parameter is required if behavior=
jump_to.Declaration
Swift
public var dialogNode: String? -
Which part of the dialog node to process next.
Declaration
Swift
public var selector: String? -
Initialize a
DialogNodeNextStepwith member variables.Declaration
Swift
public init( behavior: String, dialogNode: String? = nil, selector: String? = nil )Parameters
behaviorWhat happens after the dialog node completes. The valid values depend on the node type:
- The following values are valid for any node:
get_user_inputskip_user_inputjump_to- If the node is of type
event_handlerand its parent node is of typeslotorframe, additional values are also valid: - if event_name=
filledand the type of the parent node isslot:repromptskip_all_slots
- if event_name=
nomatchand the type of the parent node isslot:repromptskip_slotskip_all_slots
- if event_name=
genericand the type of the parent node isframe:repromptskip_slotskip_all_slotsIf you specifyjump_to, then you must also specify a value for thedialog_nodeproperty.
dialogNodeThe unique ID of the dialog node to process next. This parameter is required if behavior=
jump_to.selectorWhich part of the dialog node to process next.
Return Value
An initialized
DialogNodeNextStep.
View on GitHub
DialogNodeNextStep Structure Reference