Class MapStatsBaseAbstract

Base class representing a player's map stats.

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

Properties

mapName: string

The map name.

mapType: Type

The server type of this map.

points: number

The amount of points awarded for completing this map.

Methods

  • Returns a new Map object from the mapName of this finish.

    Parameters

    • OptionalrankSource: null | RankAvailableRegion

      The region to pull ranks from in the toMap function from the returned value. Omit for global ranks.

    • force: boolean = false

      Wether to bypass the cache.

    Returns Promise<Map>