steam-condenser
Version:
TypeScript port of steam-condenser.
22 lines (21 loc) • 793 B
TypeScript
import Server from './Server';
declare class MasterServer extends Server {
private retries;
private socket?;
constructor(address: string, port?: number);
getServers(regionCode?: number, filter?: string, maxPages?: number, after?: string): Promise<(string | number)[][]>;
initSocket(): Promise<void>;
disconnect(): Promise<void>;
static GOLDSRC_MASTER_SERVER: string;
static SOURCE_MASTER_SERVER: string;
static REGION_US_EAST_COAST: number;
static REGION_US_WEST_COAST: number;
static REGION_SOUTH_AMERICA: number;
static REGION_EUROPE: number;
static REGION_ASIA: number;
static REGION_AUSTRALIA: number;
static REGION_MIDDLE_EAST: number;
static REGION_AFRICA: number;
static REGION_ALL: number;
}
export { MasterServer };