Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Protected _clients

_clients: Map<string, ClientProxy> = new Map<string, ClientProxy>()

Protected _deltaTime

_deltaTime: number

Protected _state

Protected _type

debug

debug: boolean

latencyRange

latencyRange: Range

location

location: PlayerLocation

maxClientMMRDifference

maxClientMMRDifference: number = 100

maxClients

maxClients: number

maxCombinedClientWaitTime

maxCombinedClientWaitTime: number = 30000

memberRange

memberRange: Range

minClients

minClients: number

mmrRange

mmrRange: Range

priorityRange

priorityRange: Range

uuid

uuid: string

Static MMRRanges

MMRRanges: Range[] = [{min: 0, max: 300},{min: 301, max: 600},{min: 601, max: 1000},{min: 1001, max: 1800},{min: 1801, max: 2000},{min: 2001, max: 10000},]

Accessors

clientCount

  • get clientCount(): number

deltaTime

  • set deltaTime(deltaTime: number): void

shortId

  • get shortId(): string

type

Methods

addClient

broadcast

  • broadcast(data: any, sourceClient?: ClientProxy, subtopic?: string): void

dispose

  • dispose(): void

log

  • log(msg: string, obj?: any): void

logClients

  • logClients(): void

over

  • over(): void

receiveMessageFromClient

  • receiveMessageFromClient(data: any, client: ClientProxy): void

removeAllClients

  • removeAllClients(): void

removeClient

start

  • start(): void

stop

  • stop(): void

tick

  • tick(): number

willAcceptPlayer

willMatchClients

Static getMMRRangeWithPlayerAccount

Static inRange

  • inRange(value: number, range: Range): boolean

Generated using TypeDoc