UNPKG

steamapi

Version:
20 lines (19 loc) 739 B
import UserServer from './UserServer.js'; /** Game servers as returned by getUserServers */ export default class UserServers { /** Servers this account has created */ servers: UserServer[]; /** Whether this account has a ban from hosting servers */ banned: boolean; /** Server actor SteamID. Not sure what this is */ actorID: string; /** Unix Timestamp for when the servers expires */ expiresTimestamp: number; /** Unix Timestamp for the last time a server token action was executed */ lastActionTimestamp: number; constructor(data: any); /** `expiresTimestamp` as a Date object */ get expiresAt(): Date; /** `lastActionTimestamp` as a Date object */ get lastActionAt(): Date; }