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

Function sendinitclient

source/src/server.cpp:2903–2908  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2901}
2902
2903void sendinitclient(client &c)
2904{
2905 packetbuf p(MAXTRANS, ENET_PACKET_FLAG_RELIABLE);
2906 putinitclient(c, p);
2907 sendpacket(-1, 1, p.finalize(), c.clientnum);
2908}
2909
2910void welcomeinitclient(packetbuf &p, int exclude = -1)
2911{

Callers 1

processFunction · 0.85

Calls 3

putinitclientFunction · 0.85
sendpacketFunction · 0.85
finalizeMethod · 0.80

Tested by

no test coverage detected