Contains optional parameters for registering an entity event.

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

Properties

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.