ddnet
Version:
A typescript npm package for interacting with data from ddnet.org
27 lines (26 loc) • 566 B
TypeScript
import { Rank } from './Rank.js';
/**
* Represents server leaderboard stats.
*/
export declare class Leaderboard {
/**
* Player completionist ranking for this server.
*/
completionist: Rank | null;
/**
* Player team rank for this server.
*/
team: Rank | null;
/**
* Player rank for this server.
*/
rank: Rank | null;
/**
* Construct a new {@link Leaderboard} instance.
*/
constructor(data: {
completionist: Rank | null;
team: Rank | null;
rank: Rank | null;
});
}