Class Item

An abstraction of NetworkItem that exposes additional helper methods and accessors for this item data.

Index
  • get filler(): boolean

    Returns true if this item has no special flags.

    Returns boolean

  • get flags(): number

    Returns the item classification bitflags for this item.

    Returns number

  • get locationGame(): string

    Returns the game name for the location this item was contained.

    Returns string

  • get locationId(): number

    Returns the id of the location where this item was contained.

    Returns number

  • get locationName(): string

    Returns the name of the location where this item was contained.

    Returns string

  • get progression(): boolean

    Returns true if this item is flagged as progression.

    Returns boolean

  • get trap(): boolean

    Returns true if this item is flagged as a trap.

    Returns boolean

  • get useful(): boolean

    Returns true if this item is flagged as useful.

    Returns boolean