Ejemplo n.º 1
0
        public override void Initialize(InsightServer _server, ModuleManager _manager)
        {
            Debug.Log("[ChatServer] - Initialization");
            server = _server;

            authModule = _manager.GetModule <ServerAuthentication>();
            gameModule = _manager.GetModule <GameMasterManager>();

            RegisterHandlers();
        }
Ejemplo n.º 2
0
        public override void Initialize(InsightServer server, ModuleManager manager)
        {
            this.server = server;

            if (manager.GetModule <ServerAuthentication>() != null)
            {
                authModule = manager.GetModule <ServerAuthentication>();
            }

            RegisterHandlers();
        }
Ejemplo n.º 3
0
        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);
        }
Ejemplo n.º 4
0
        public override void Initialize(InsightClient _client, ModuleManager _manager)
        {
            Debug.Log("[ClientMatchMaker] - Initialization");
            client = _client;

            gameModule = _manager.GetModule <GameClientManager>();
        }
Ejemplo n.º 5
0
        public override void Initialize(InsightServer insight, ModuleManager manager)
        {
            server        = insight;
            masterSpawner = manager.GetModule <MasterSpawner>();
            RegisterHandlers();

            server.transport.OnServerDisconnected += HandleDisconnect;
        }
Ejemplo n.º 6
0
        public override void Initialize(InsightServer _server, ModuleManager _manager)
        {
            Debug.Log("[ServerMatchMaker] - Initialization");
            server = _server;

            gameModule = _manager.GetModule <GameMasterManager>();

            RegisterHandlers();
        }