Skip to content

Latest commit

 

History

History
151 lines (68 loc) · 1.84 KB

File metadata and controls

151 lines (68 loc) · 1.84 KB

Home > server > GameServer

GameServer class

Manages the game and associated worlds and systems.

Signature:

export default class GameServer 

Remarks

This class is used as a singleton and should be accessed via the instance property

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the GameServer class.

Properties

Property

Modifiers

Type

Description

instance

static

readonly

GameServer

The singleton instance of the game server.

modelRegistry

readonly

ModelRegistry

The model manager for the game server.

playerManager

readonly

PlayerManager

The player manager for the game server.

webServer

readonly

WebServer

The web server for the game server.

worldManager

readonly

WorldManager

The world manager for the game server