MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / ConNetworkClients

Function ConNetworkClients

src/console_cmds.cpp:1107–1117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1105}
1106
1107static bool ConNetworkClients(std::span<std::string_view> argv)
1108{
1109 if (argv.empty()) {
1110 IConsolePrint(CC_HELP, "Get a list of connected clients including their ID, name, company-id, and IP. Usage: 'clients'.");
1111 return true;
1112 }
1113
1114 NetworkPrintClients();
1115
1116 return true;
1117}
1118
1119static bool ConNetworkReconnect(std::span<std::string_view> argv)
1120{

Callers

nothing calls this directly

Calls 3

NetworkPrintClientsFunction · 0.85
IConsolePrintFunction · 0.70
emptyMethod · 0.45

Tested by

no test coverage detected