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

Function SV_GetServerinfo

code/server/sv_game.cpp:353–358  ·  view source on GitHub ↗

=============== SV_GetServerinfo =============== */

Source from the content-addressed store, hash-verified

351===============
352*/
353void SV_GetServerinfo( char *buffer, int bufferSize ) {
354 if ( bufferSize < 1 ) {
355 Com_Error( ERR_DROP, "SV_GetServerinfo: bufferSize == %i", bufferSize );
356 }
357 Q_strncpyz( buffer, Cvar_InfoString( CVAR_SERVERINFO ), bufferSize );
358}
359
360qboolean SV_GetEntityToken( char *buffer, int bufferSize )
361{

Callers

nothing calls this directly

Calls 3

Q_strncpyzFunction · 0.85
Com_ErrorFunction · 0.50
Cvar_InfoStringFunction · 0.50

Tested by

no test coverage detected