接口 EntityDataDrivenTriggerEventOptions实验性

Specifies additional filters that are used in registering a data driven trigger event for entities.

interface EntityDataDrivenTriggerEventOptions {
    entities?: Entity[];
    entityTypes?: string[];
    eventTypes?: string[];
}

属性

entities?: Entity[]

If this value is set, this event will only fire for entities that match the entities within this collection.

entityTypes?: string[]

If this value is set, this event will only fire if the impacted entities' type matches this parameter.

eventTypes?: string[]

If this value is set, this event will only fire if the impacted triggered event matches one of the events listed in this parameter.