Beispiel #1
0
 protected override void OnStart()
 {
     _logger.LogTrace("Host: {0}, Port: {1}, MaxNumberOfConnections: {2}",
                      _worldConfiguration.Host,
                      _worldConfiguration.Port,
                      _worldConfiguration.MaximumNumberOfConnections);
     _interClient.Connect();
     _interClient.OnConnected += SendWorldInfo;
 }
Beispiel #2
0
        protected override void OnAfterStart()
        {
            _logger.LogTrace("Host: {0}, Port: {1}, MaxNumberOfConnections: {2}",
                             Options.Host,
                             Options.Port,
                             Options.Backlog);
            _interClient.Connect();
            _interClient.OnConnected += SendWorldInfo;

            _gameWorld.Init();
        }