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

Function send_item_list

source/src/server.cpp:1305–1311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1303}
1304
1305inline void send_item_list(packetbuf &p)
1306{
1307 putint(p, SV_ITEMLIST);
1308 loopv(sg->sents) if(sg->sents[i].spawned) putint(p, i);
1309 putint(p, -1);
1310 if(m_flags_) loopi(2) putflaginfo(p, i);
1311}
1312
1313#include "serverchecks.h"
1314

Callers 2

startgameFunction · 0.85
welcomepacketFunction · 0.85

Calls 4

putintFunction · 0.85
putflaginfoFunction · 0.85
loopvFunction · 0.70
loopiFunction · 0.70

Tested by

no test coverage detected