Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Readonly cluster

cluster: Cluster

Readonly conn

Readonly id

id: string

Readonly players

players: Map<string, Player<ClusterNode>> = ...

Readonly rest

rest: REST = ...

Readonly sendGatewayPayload

sendGatewayPayload: SendGatewayPayload

state

state: NodeState = ...

stats

stats: StatsData = ...

Optional userId

userId: string

Static DEBUG_FORMAT

DEBUG_FORMAT: string = "{topic}: {message}"

Static DEBUG_FORMAT_PLAYER

DEBUG_FORMAT_PLAYER: string = "[player {player}] {topic}: {message}"

Static DEFAULT_STATS

DEFAULT_STATS: StatsData = ...

Accessors

penalties

  • get penalties(): number

Methods

connect

createPlayer

debug

  • debug(topic: string, message: string, player?: Player<Node>): boolean

destroyPlayer

emit

  • emit<U>(event: U, ...args: Parameters<NodeEvents[U]>): boolean

handleVoiceUpdate

Generated using TypeDoc