Console Refactor

This commit is contained in:
Lukas Aldershaab 2023-04-23 10:39:54 +02:00
parent 626de074cc
commit 89b0c7f73b
89 changed files with 1883 additions and 1553 deletions

View file

@ -107,6 +107,7 @@
#include "sim/netInterface.h"
// cafTODO: breaks T2D
#include "console/script.h"
#include "T3D/gameBase/gameConnection.h"
// This is basically the server query protocol version now:
@ -2020,7 +2021,7 @@ static void handleGameInfoRequest( const NetAddress* address, U32 key, U8 flags
out->writeString( Con::getVariable( "pref::Server::Info" ) );
else
writeCString( out, Con::getVariable( "pref::Server::Info" ) );
writeLongCString( out, Con::evaluate( "onServerInfoQuery();" ) );
writeLongCString( out, Con::executef( "onServerInfoQuery" ) );
BitStream::sendPacketStream(address);
}