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

Function sendservinfo

source/src/server.cpp:2882–2886  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2880}
2881
2882void sendservinfo(client &c)
2883{
2884 sendf(c.clientnum, 1, "ri6IIIi3k", SV_SERVINFO, c.clientnum, isdedicated ? SERVER_PROTOCOL_VERSION : PROTOCOL_VERSION, c.needsauth ? 1 : 0, scl.serverpassword[0] ? 1 : 0, c.salt,
2885 servownip, c.ip, c.ip_censored, (c.connectclock = servclock), c.country[0], c.country[1], spk);
2886}
2887
2888void putinitclient(client &c, packetbuf &p)
2889{

Callers 2

serversliceFunction · 0.85
localconnectFunction · 0.85

Calls 1

sendfFunction · 0.85

Tested by

no test coverage detected