MCPcopy Create free account
hub / github.com/assaultcube/AC / listignored

Function listignored

source/src/clientgame.cpp:118–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116COMMAND(ignore, "i");
117
118void listignored()
119{
120 string pl;
121 pl[0] = '\0';
122 loopv(players) if(players[i] && players[i]->ignored) concatformatstring(pl, ", %s", colorname(players[i]));
123 if(*pl) conoutf("ignored players: %s", pl + 2);
124 else conoutf("no players are ignored");
125}
126COMMAND(listignored, "");
127
128void clearignored(int *cn)

Callers

nothing calls this directly

Calls 4

concatformatstringFunction · 0.85
colornameFunction · 0.85
loopvFunction · 0.70
conoutfFunction · 0.70

Tested by

no test coverage detected