| Name | Type | Description |
|---|---|---|
json |
Object | optional Json object describing the object reaction |
Properties:
| Name | Type | Argument | Default | Description |
|---|---|---|---|---|
labels |
Array.<string> |
<optional> |
[] | List of all labels |
idEvent |
number | The event ID | ||
blockingHero |
boolean | Indicate if this reaction is blocking the hero | ||
commands |
Tree | All the commands |
Methods
-
Read the JSON associated to the object reaction
Name Type Description jsonObject Json object describing the object reaction -
Read the JSON children associated to the object reaction
Name Type Description jsonCommandsObject Json object describing the object commandsTree All the commands (final result) -
getFirstCommand ()Node
-
Get the first node command of the reaction
Returns:
Type Description Node