DDNet - v0.8.1
    Preparing search index...

    Class Finish

    Represents a finish.

    Hierarchy (View Summary)

    Index

    Constructors

    • Construct a new Finish instance.

      Parameters

      • data: {
            mapName: string;
            players: string[];
            rank: Rank;
            region: RankAvailableRegion;
            timeSeconds: number;
            timestamp: number;
        }

      Returns Finish

    Properties

    mapName: string

    The name of the finished map.

    players: { name: string; toPlayer: () => Promise<Player> }[]

    The finish player(s).

    rank: Rank

    The rank obtained.

    The region of this finish.

    timeSeconds: number

    The time of this finish in seconds.

    timestamp: number

    The timestamp of this finish.

    timeString: string

    The string formatted time of this finish.

    "03:23"
    

    Methods

    • Returns the names of the players and their finish time.

      Returns string

      "Sans3108 | 03:23"