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

Function sendwelcome

source/src/server.cpp:2995–3001  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2993}
2994
2995void sendwelcome(client *cl, int chan)
2996{
2997 packetbuf p(MAXTRANS, ENET_PACKET_FLAG_RELIABLE);
2998 welcomepacket(p, cl->clientnum);
2999 sendpacket(cl->clientnum, chan, p.finalize());
3000 cl->haswelcome = true;
3001}
3002
3003void forcedeath(client *cl)
3004{

Callers 2

enddemoplaybackFunction · 0.85
processFunction · 0.85

Calls 3

welcomepacketFunction · 0.85
sendpacketFunction · 0.85
finalizeMethod · 0.80

Tested by

no test coverage detected