UFO: Alien Invasion
|
Serverlist menu callbacks headers for multiplayer. More...
Go to the source code of this file.
Data Structures | |
struct | teamData_s |
Macros | |
#define | MAX_MESSAGE_TEXT 256 |
Typedefs | |
typedef struct teamData_s | teamData_t |
Functions | |
void | GAME_MP_CallbacksInit (const struct cgame_import_s *import) |
void | GAME_MP_CallbacksShutdown (void) |
bool | GAME_MP_Rcon (const char *password, const char *command) |
Sends an rcon command to the gameserver that the user is currently connected to, or if this is not the case, the gameserver that is specified in the cvar rcon_address. More... | |
Variables | |
teamData_t | teamData |
cvar_t * | rcon_client_password |
cvar_t * | cl_maxsoldiersperteam |
cvar_t * | cl_maxsoldiersperplayer |
cvar_t * | cl_roundtimelimit |
Serverlist menu callbacks headers for multiplayer.
Definition in file mp_callbacks.h.
#define MAX_MESSAGE_TEXT 256 |
Definition at line 28 of file mp_callbacks.h.
typedef struct teamData_s teamData_t |
void GAME_MP_CallbacksInit | ( | const struct cgame_import_s * | import | ) |
Definition at line 318 of file mp_callbacks.cpp.
Referenced by GAME_MP_Shutdown().
bool GAME_MP_Rcon | ( | const char * | password, |
const char * | command | ||
) |
Sends an rcon command to the gameserver that the user is currently connected to, or if this is not the case, the gameserver that is specified in the cvar rcon_address.
true
if the command was send, false
otherwise. Definition at line 112 of file mp_callbacks.cpp.
References ca_connected, DOUBLEQUOTE, GAME_MP_RconCallback(), cgame_import_s::NET_Connect(), port, PORT_SERVER, Q_strnull(), cvar_s::string, and SV_CMD_RCON.
Referenced by GAME_MP_Rcon_f().
cvar_t* cl_maxsoldiersperplayer |
Definition at line 37 of file mp_callbacks.cpp.
Referenced by GAME_MP_RunFrame(), and GAME_MP_StartServer_f().
cvar_t* cl_maxsoldiersperteam |
Definition at line 36 of file mp_callbacks.cpp.
Referenced by GAME_MP_RunFrame(), and GAME_MP_StartServer_f().
cvar_t* cl_roundtimelimit |
Definition at line 38 of file mp_callbacks.cpp.
Referenced by GAME_MP_RunFrame().
cvar_t* rcon_client_password |
Definition at line 35 of file mp_callbacks.cpp.
Referenced by GAME_MP_RunFrame(), and GAME_MP_StartBattlescape().
teamData_t teamData |
Definition at line 34 of file mp_callbacks.cpp.
Referenced by GAME_MP_ParseTeamInfoMessage(), and GAME_MP_Shutdown().