Class MaxFinish

Represents a player's highest amount of finishes on a map.

Constructors

  • Parameters

    • data: {
          count: number;
          maxTimestamp: number;
          minTimestamp: number;
          player: string;
          rank: number;
          time: number;
      }
      • count: number
      • maxTimestamp: number
      • minTimestamp: number
      • player: string
      • rank: number
      • time: number

    Returns MaxFinish

Properties

count: number

The amount of times this map has been finished by the player.

maxTimestamp: number

Could be the timestamp of the last time this map was finished.

I haven't figured out what minTimestamp is supposed to represent.

minTimestamp: number

Could be the timestamp of the first time this map was finished.

I haven't figured out what minTimestamp is supposed to represent.

player: string

The name of the player which achieved this rank.

rank: number

The obtained rank.

timeSeconds: number

Total time from all runs in seconds.

timeString: string

Total time from all runs in DDNet time string format. (ex. 02:47:23)

Methods