UNPKG

ddnet

Version:

A typescript npm package for interacting with data from ddnet.org

31 lines 704 B
/** * Represents player server stats. */ export class ServerStats { /** * The name of this server. */ name; /** * Player leaderboard stats for this server. */ leaderboard; /** * Total points obtainable across all maps on this server. */ totalCompletionistPoints; /** * Player map stats for this server. */ maps; /** * Construct a new {@link ServerStats} instance. */ constructor(data) { this.name = data.name; this.leaderboard = data.leaderboard; this.totalCompletionistPoints = data.totalCompletionistPoints; this.maps = data.maps; } } //# sourceMappingURL=ServerStats.js.map