DDNet - v0.8.1
    Preparing search index...

    Class CompletedMapStats

    Represents a player's finished map stats.

    Hierarchy (View Summary)

    Index

    Constructors

    • Construct a new CompletedMapStats instance.

      Parameters

      • data: { mapName: string; mapType: Type; pointsReward: number } & {
            bestTimeSeconds: number;
            finishCount: number;
            firstFinishTimestamp: number;
            rank: number;
            teamRank?: number;
        }

      Returns CompletedMapStats

    Properties

    bestTimeSeconds: number

    Best finish time for this map in seconds.

    bestTimeString: string

    The string formatted best finish time for this map.

    "03:23"
    
    finishCount: number

    The amount of finishes on this map.

    firstFinishTimestamp: number

    Timestamp for the first ever finish on this map.

    mapName: string

    The map name.

    mapType: Type

    The server type of this map.

    placement: number

    The placement obtained on this map.

    points: number

    The amount of points awarded for completing this map.

    teamRank: null | number

    The team rank obtained on this map.

    Methods