warframe-worldstate-parser
    Preparing search index...

    Represents a game news item

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    activation?: Date

    The date and time at which the WorldstateObject started

    date: Date

    The date at which the post was published

    expiry?: Date

    The date and time at which the WorldstateObject ends

    id?: string

    The object's id field

    imageLink: string

    The news's image link

    link: string

    The link to the forum post

    message: string

    The news message

    mobileOnly: boolean

    Whether or not this news is mobile only.

    primeAccess: boolean

    Whether this is a prime access news item

    priority: boolean

    Whether this has priority over other news or not

    stream: boolean

    Whether or not this is a stream

    translations: Record<string, string>

    The message translated into different locales

    update: boolean

    Whether this is an update news item

    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

    • The title of the news item in the specified language

      Parameters

      • langCode: Locale

        Ex. 'es', 'de', 'fr'

      Returns string

      The title of the news item in the specified language

    • Whether this is about a new Prime Access

      Returns boolean

    • Whether or not this is about a game update

      Returns boolean