Skip to content

Module Overview

uwee edited this page Mar 30, 2020 · 1 revision

InsightModule - Build any custom modules from this class

ProcessSpawner:
-Dependencies: none
-Description: Used to create new GameServer processes on the Physical/Virtual server that is running this module. You can connect to it directly or via a local/remote MasterSpawer. It handles 'RequestSpawnStart' msgs. Arguments can be provided during the spawn process to control things like: IP/Port/MaxPlayers/Scene. You can also add your own custom parameters.

MasterSpawner:
-Dependencies: remote or local process spawners -Description: Allows additional remote Physical/VM servers to handle new spawn requests. This lets you grow your environment horizontally. It has a built in load balancer to send new spawn requests to the least busy server.

Authentication:
-Dependencies: none
-Description: Handles 'LoginMsg' from clients. In the example no real authentication happens. You will need your own DB system/encryption.

Chat:
-Dependencies: none
-Description: Handles 'ChatMsg' from clients. Once received it will broadcast the message back out to everyone else in chat.

GameManager:
-Dependencies: none
-Description: Handles RegisterGame, GameStatus, JoinGame, and GameList from clients. This module is what provides the server side of the clients server list. Where they can view and join active games. Any requests to create new games will be handled by the ProcessSpawner. Once the game starts it will connect back to the GameManager to register itself and show up on the list of available servers.

MatchMaking:
-Dependencies: MasterSpawner, ServerAuthentication, GameManager
-Description: This module combines all of the other modules to provide a MatchMaking service. It gets the list of users that are authenticated from the Auth Module. It tracks the active servers from the ProcessSpawners to create new Matches that are registered into the GameManager.

Clone this wiki locally