EventFilters: {
    actorClass: string;
    actorId: number;
    actorInstanceId: number;
    deathsCutoff: number;
    endTime: number;
    phase: number;
    startTime: number;
    matches(event, fight): boolean;
}

Type declaration

  • actorClass: string

    The class of an actor to filter to. Equivalent in behavior to the Summary pane events view in reports.

  • actorId: number

    The report id of an actor to filter to. Equivalent in behavior to the Summary pane events view in reports.

  • actorInstanceId: number

    The instance id of an actor to filter to. Equivalent in behavior to the Summary pane events view in reports.

  • deathsCutoff: number

    The number of player deaths after which events should be ignored.

  • endTime: number

    The end time of the filter. Events that occur after this end time will not be included.

  • phase: number

    The phase to filter to.

  • startTime: number

    The start time of the filter. Events that occur before this start time will not be included.

  • matches:function
    • Test if an event matches these filters.

      Parameters

      • event: AnyEvent

        The event to check against the filters.

      • fight: Fight

        The fight that the event belongs to.

      Returns boolean

      Whether or not the event matches the filters.