FightFilters: {
    difficulty: number;
    encounterId: number;
    endTime: number;
    fightIds: number[] | null;
    killType: "all" | "encounters" | "trash" | "kills" | "wipes";
    startTime: number;
    matches(fight): boolean;
}

Type declaration

  • difficulty: number

    The difficulty to filter to. If set to a value other than 0, only fights matching the specified difficulty will be matched.

  • encounterId: number

    The encounter to filter to. 0 if all fights should be included. If set to a specific boss, only pulls of that boss will be matched.

  • endTime: number

    The end time of the filter. Fights that begin after this end time will not be included.

  • fightIds: number[] | null

    A set of specific fight ids to match on. Exists on top of the other filters, so only fights in this list can be matched.

  • killType: "all" | "encounters" | "trash" | "kills" | "wipes"

    The kill type.

  • startTime: number

    The start time of the filter. Fights that end before this start time will not be included.

  • matches:function
    • Test if a fight matches these filters.

      Parameters

      • fight: Fight

        The fight to check.

      Returns boolean

      Whether or not the fight matches the filters.