DDNet - v0.10.1
    Preparing search index...

    Class MapStatsBaseAbstract

    Base class representing a player's map stats.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    mapName: string

    The map name.

    mapType: ServerType

    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: ServerRegion | null

        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>