warframe-worldstate-parser
    Preparing search index...

    Represents a syndicate daily mission

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • data: RawSyndicateMission

        The syndicate mission 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

    expiry?: Date

    The date and time at which the WorldstateObject ends

    id?: string

    The object's id field

    jobs: default[]

    The jobs for this syndicate. Will normally be []

    nodes: string[]

    The nodes on which the missions are taking place

    syndicate: string

    The syndicate that is offering the mission

    syndicateKey: string

    The syndicate that is offering the mission

    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

    Methods

    • Build a new SyndicateMission with async operations & data

      Parameters

      • data: RawSyndicateMission

        The syndicate mission 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 Promise<default>

      SyndicateMission object w/ async resolution of jobs