MCPcopy Index your code
hub / github.com/assaultcube/AC / extping_maprot

Function extping_maprot

source/src/server.cpp:4747–4763  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4745}
4746
4747void extping_maprot(ucharbuf &po)
4748{
4749 putint(po, CONFIG_MAXPAR);
4750/* string text;
4751 bool abort = false;
4752 loopv(maprot.configsets)
4753 {
4754 if(po.remaining() < 100) abort = true;
4755 configset &c = maprot.configsets[i];
4756 filtertext(text, c.mapname, FTXT__MAPNAME);
4757 text[30] = '\0';
4758 sendstring(abort ? "-- list truncated --" : text, po);
4759 loopi(CONFIG_MAXPAR) putint(po, c.par[i]);
4760 if(abort) break;
4761 }*/
4762 sendstring("", po);
4763}
4764
4765void extping_uplinkstats(ucharbuf &po)
4766{

Callers 1

servermsFunction · 0.85

Calls 2

putintFunction · 0.85
sendstringFunction · 0.85

Tested by

no test coverage detected