A collection of metadata and helper methods for interacting with a particular player.

Accessors

  • get alias(): string
  • Returns the current nickname for this player or the slot name if not set.

    Returns string

Methods

  • Fetch this player's slot data over the network.

    Type Parameters

    • SlotData extends JSONRecord

      The type of the slot data that is returned, for better typing information.

    Returns Promise<SlotData>

    This data is not tracked after running, so slot data should be cached to reduce additional network calls, if necessary.