MCPcopy Create free account
hub / github.com/JACoders/OpenJK / SV_UserinfoChanged

Function SV_UserinfoChanged

code/server/sv_client.cpp:297–299  ·  view source on GitHub ↗

================= SV_UserinfoChanged Pull specific info from a newly changed userinfo string into a more C friendly form. ================= */

Source from the content-addressed store, hash-verified

295=================
296*/
297void SV_UserinfoChanged( client_t *cl ) {
298 Q_strncpyz( cl->name, Info_ValueForKey( cl->userinfo, "name" ), sizeof( cl->name ) );
299}
300
301
302/*

Callers 2

SV_DirectConnectFunction · 0.70
SV_UpdateUserinfo_fFunction · 0.70

Calls 2

Q_strncpyzFunction · 0.85
Info_ValueForKeyFunction · 0.50

Tested by

no test coverage detected