Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Server

Implements

  • ILobbyManager

Index

Constructors

constructor

  • new Server(logger: ILogger, config: IConfig): Server

Properties

config

core

core: string = ""

fakePlayer

fakePlayer: FakeNetworkPlayer = ...

io

io: any

lobbyStorage

lobbyStorage: any = ...

lobby_names

lobby_names: string[] = ...

logger

logger: ILogger

masterConfig

masterConfig: IConfig

modLoaderconfig

modLoaderconfig: default

plugins

plugins: any = ...

udpPort

udpPort: number = -1

udpServer

udpServer: Socket = ...

Methods

createLobbyStorage

  • createLobbyStorage(lobbyName: string, plugin: IPlugin, obj: any): void

createLobbyStorage_internal

  • createLobbyStorage_internal(ld: LobbyData, owner: string): ILobbyStorage

doesLobbyExist

  • doesLobbyExist(Lobby: string): any

getLobbies

  • getLobbies(): any

getLobbyStorage

  • getLobbyStorage(lobbyName: string, plugin: IPlugin): null | Object

getLobbyStorage_internal

  • getLobbyStorage_internal(lobbyName: string): null | ILobbyStorage

sendToTarget

  • sendToTarget(target: string, internalChannel: string, packet: any): void

setup

  • setup(): void

Generated using TypeDoc