Types/Trigger: Difference between revisions
Jump to navigation
Jump to search
(Prototype property type usage) |
(Prototype property type usage doesn't work because other types also start with types/Trigger and those results cannot be excluded) |
||
Line 9: | Line 9: | ||
* if this is <code>"line"</code>, that definition is loaded as a [[Types/LineTriggerItem]], | * if this is <code>"line"</code>, that definition is loaded as a [[Types/LineTriggerItem]], | ||
* if this is <code>"cluster"</code>, that definition is loaded as a [[Types/ClusterTriggerItem]]. | * if this is <code>"cluster"</code>, that definition is loaded as a [[Types/ClusterTriggerItem]]. | ||
Revision as of 10:25, 22 October 2020
An array of types/tables. The tables are each loaded as one of the Types/TriggerItem extensions, depending on the value of the type
key in the table.
type
Type: Types/string
Mandatory member of each table in the array. Either "direct", "area", "line", or "cluster".
- If this is
"direct"
, that definition is loaded as a Types/DirectTriggerItem, - if this is
"area"
, that definition is loaded as a Types/AreaTriggerItem, - if this is
"line"
, that definition is loaded as a Types/LineTriggerItem, - if this is
"cluster"
, that definition is loaded as a Types/ClusterTriggerItem.