Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Director

Index

Constructors

constructor

Properties

Private _authenticatedClientSessions

_authenticatedClientSessions: Map<string, TCPClientSession> = new Map<string, TCPClientSession>()

Private _connectionManager

_connectionManager: ConnectionManager

Private _lobbies

_lobbies: Map<string, Lobby> = new Map<string, Lobby>()

debug

debug: boolean

maxLobbies

maxLobbies: number

mode

uuid

uuid: string

Static Private _instance

_instance: Director

Accessors

lobyCount

  • get lobyCount(): number

Methods

addAuthenticatedClientSession

  • addAuthenticatedClientSession(userUUID: string, clientSession: TCPClientSession): void

addChatLobby

addClientToLobby

addLobbyWithPlayerAccount

addMockClient

authenticateUser

  • authenticateUser(authMsg: Msg_Auth): string

createGlobalChanels

  • createGlobalChanels(): void

getPerformanceStats

  • getPerformanceStats(): any

handleGameOver

log

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

logLobbyStats

  • logLobbyStats(): void

removeAllLobbies

  • removeAllLobbies(): void

removeAuthenticatedClientSession

  • removeAuthenticatedClientSession(userUUID: string): void

removeLobby

  • removeLobby(lobby: Lobby): void

startConnectionManager

  • startConnectionManager(): void

updateMMR

Static Instance

Generated using TypeDoc