Properties
Private _authenticatedClientSessions
_authenticated
ClientSessions: Map<string, TCPClientSession> = new Map<string, TCPClientSession>()
Private _connectionManager
Private _lobbies
_lobbies
: Map<string, Lobby> = new Map<string, Lobby>()
maxLobbies
maxLobbies: number
Methods
addAuthenticatedClientSession
- addAuthenticatedClientSession(userUUID: string, clientSession: TCPClientSession): void
addLobbyWithPlayerAccount
authenticateUser
- authenticateUser(authMsg: Msg_Auth): string
-
Parameters
Returns string
createGlobalChanels
- createGlobalChanels(): void
getPerformanceStats
- getPerformanceStats(): any
log
- log(msg: string, obj?: any): void
-
Parameters
-
msg: string
-
Optional obj: any
Returns void
removeAuthenticatedClientSession
- removeAuthenticatedClientSession(userUUID: string): void
removeLobby
- removeLobby(lobby: Lobby): void
startConnectionManager
- startConnectionManager(): void