warframe-worldstate-parser
    Preparing search index...

    Represents a dark sector

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • data: RawDarkSector

        The dark sector data

      • deps: default = ...

        The dependencies object

        Dependency Object

        • Optionalcharacter?: string

          Character name for traders

        • OptionalkuvaData?: KuvaLogEntry[]

          Kuva data for parsing

        • locale: Locale

          Locale to use for translations

        • Optionallogger?: { debug: (message: string) => void }

          Generic logger to use if needed

        • OptionalsentientData?: { end: number; start: number }

          Sentint Data for parsing

        • OptionalsortieData?: SortieData

          Sortie data for parsing

      Returns default

    Properties

    activation?: Date

    The date and time at which the WorldstateObject started

    battlePayReserve: number
    battlePaySetBy: string

    The player who set the battle pay

    battlePaySetByClan: string

    The clan of the player who set the battle pay

    creditTaxRate: number

    The dark sector credit tax rate

    damagePerMission: number
    defenderDeployemntActivation: number | Date

    The date and time at which the rail was deployed

    defenderMaxPool: number

    The maximum health of the solar rail

    defenderMOTD: string

    The MOTD set by the dark sector holder

    defenderName: string

    The current holder of the dark sector

    defenderPoolRemaining: number

    The remaining health of the current solar rail

    defenderRailHealReserve: number
    deployerClan: string

    The clan of the player who deployed the solar rail

    deployerName: string

    The player who deployed the solar rail

    expiry?: Date

    The date and time at which the WorldstateObject ends

    healRate: number
    history: default[]

    The history of the dark sector

    id?: string

    The object's id field

    isAlliance: boolean

    Whether the dark sector holder is an alliance or not

    itemsTaxRate: number

    The dark sector resource tax rate

    memberCreditsTaxRate: number

    The dark sector credit tax rate for clan/alliance members

    memberItemsTaxRate: number

    The dark sector resource tax rate for clan/alliance members

    mission?: default

    The dark sector's mission

    perMissionBattlePay: number

    The battle pay per mission offered to players

    railType: string

    The solar rail type

    taxChangedBy: string

    The player who changed the tax

    taxChangedByClan: string

    The clan of the player who set the tax

    Accessors

    • get active(): boolean

      Whether the void trader is active (at time of object creation)

      Returns boolean

    • get endString(): undefined | string

      Time delta string from now to the end

      Returns undefined | string

    • get startString(): undefined | string

      A string indicating how long it will take for the trader to arrive (at time of object creation)

      Returns undefined | string