public override void Initialize(InsightServer _server, ModuleManager _manager) { Debug.Log("[ChatServer] - Initialization"); server = _server; authModule = _manager.GetModule <ServerAuthentication>(); gameModule = _manager.GetModule <GameMasterManager>(); RegisterHandlers(); }
public override void Initialize(InsightServer server, ModuleManager manager) { this.server = server; if (manager.GetModule <ServerAuthentication>() != null) { authModule = manager.GetModule <ServerAuthentication>(); } RegisterHandlers(); }
public override void Initialize(InsightServer insight, ModuleManager manager) { server = insight; authModule = manager.GetModule <ServerAuthentication>(); gameManager = manager.GetModule <ServerGameManager>(); masterSpawner = manager.GetModule <MasterSpawner>(); RegisterHandlers(); server.transport.OnServerDisconnected += HandleDisconnect; InvokeRepeating("InvokedUpdate", MatchMakingPollRate, MatchMakingPollRate); }
public override void Initialize(InsightClient _client, ModuleManager _manager) { Debug.Log("[ClientMatchMaker] - Initialization"); client = _client; gameModule = _manager.GetModule <GameClientManager>(); }
public override void Initialize(InsightServer insight, ModuleManager manager) { server = insight; masterSpawner = manager.GetModule <MasterSpawner>(); RegisterHandlers(); server.transport.OnServerDisconnected += HandleDisconnect; }
public override void Initialize(InsightServer _server, ModuleManager _manager) { Debug.Log("[ServerMatchMaker] - Initialization"); server = _server; gameModule = _manager.GetModule <GameMasterManager>(); RegisterHandlers(); }