openmohaa/code/gamespy/sv_gamespy.h

20 lines
489 B
C
Raw Normal View History

#pragma once
#ifdef __cplusplus
extern "C" {
#endif
extern const char* GS_GetGameKey(unsigned int index);
extern unsigned int GS_GetGameID(unsigned int index);
extern const char* GS_GetGameName(unsigned int index);
extern const char* GS_GetCurrentGameKey();
extern unsigned int GS_GetCurrentGameID();
extern const char* GS_GetCurrentGameName();
void SV_CreateGamespyChallenge(char* challenge);
void SV_GamespyAuthorize(netadr_t from, const char* response);
#ifdef __cplusplus
}
#endif