MCPcopy Create free account
hub / github.com/Segs/Segs / cmdHandler_SendConsoleOutput

Function cmdHandler_SendConsoleOutput

Projects/CoX/Servers/MapServer/SlashCommand.cpp:1257–1268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1255}
1256
1257void cmdHandler_SendConsoleOutput(const QStringList &params, MapClientSession &sess)
1258{
1259 if(params.size() < 1)
1260 {
1261 qCDebug(logSlashCommand) << "SendConsoleOutput. Bad invocation: " << params.join(" ");
1262 sendInfoMessage(MessageChannel::USER_ERROR, "ConsoleOutput format is '/consoleOutput <Message>'", sess);
1263 return;
1264 }
1265
1266 QString msg = params.join(" ");
1267 sendDeveloperConsoleOutput(sess, msg);
1268}
1269
1270void cmdHandler_SendConsolePrint(const QStringList &params, MapClientSession &sess)
1271{

Callers

nothing calls this directly

Calls 3

sendInfoMessageFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected