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

Function cmdHandler_SendConsolePrint

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

Source from the content-addressed store, hash-verified

1268}
1269
1270void cmdHandler_SendConsolePrint(const QStringList &params, MapClientSession &sess)
1271{
1272 if(params.size() < 1)
1273 {
1274 qCDebug(logSlashCommand) << "SendConsolePrintF. Bad invocation: " << params.join(" ");
1275 sendInfoMessage(MessageChannel::USER_ERROR, "ConsolePrintF format is '/consolePrintF <Message>'", sess);
1276 return;
1277 }
1278
1279 QString msg = params.join(" ");
1280 sendClientConsoleOutput(sess, msg);
1281}
1282
1283void cmdHandler_ClearTarget(const QStringList &params, MapClientSession &sess)
1284{

Callers

nothing calls this directly

Calls 3

sendInfoMessageFunction · 0.85
sendClientConsoleOutputFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected