private void SendServerInfo(ServerClient client) { //TODO: add developer cvar //TODO: define build number const int buildNumber = 0; client.AddMessage(new Print { MessageContents = $"{(char)2}\nBUILD {buildNumber} SERVER (0 CRC)\nServer # {_spawnCount}" }, true); var gameServerInfo = _serverNetworking.CreateGameInfoMessage(); client.AddMessage(new ServerInfo { ProtocolVersion = NetConstants.ProtocolVersion, SpawnCount = _spawnCount, ClientDllMd5 = ByteString.Empty, //TODO: define MaxClients = (uint)_maxPlayers.Integer, GameName = _engine.GameDirectory, HostName = "", //TODO: define cvar GameInfo = gameServerInfo.ToByteString(), }, true); //TODO: tell game to send its own info now //TODO: send game networking data }