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

Function putinitclient

source/src/server.cpp:2888–2901  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2886}
2887
2888void putinitclient(client &c, packetbuf &p)
2889{
2890 putint(p, SV_INITCLIENT);
2891 putint(p, c.clientnum);
2892 sendstring(c.name, p);
2893 putint(p, c.skin[TEAM_CLA]);
2894 putint(p, c.skin[TEAM_RVSF]);
2895 putint(p, c.team);
2896 putint(p, c.maxroll);
2897 putint(p, c.maxrolleffect);
2898 putint(p, c.ffov);
2899 putint(p, c.scopefov);
2900 putint(p, c.ip_censored);
2901}
2902
2903void sendinitclient(client &c)
2904{

Callers 2

sendinitclientFunction · 0.85
loopvFunction · 0.85

Calls 2

putintFunction · 0.85
sendstringFunction · 0.85

Tested by

no test coverage detected