UFO: Alien Invasion
Loading...
Searching...
No Matches
g_cmds.cpp File Reference

Player commands. More...

#include "g_local.h"
#include "g_actor.h"
#include "g_client.h"
#include "g_edicts.h"
#include "g_match.h"
#include "../shared/parse.h"
Include dependency graph for g_cmds.cpp:

Go to the source code of this file.

Functions

static void G_Players_f (const Player &player)
static bool G_CheckFlood (Player &player)
 Check whether the user can talk.
static void G_Say_f (Player &player, bool arg0, bool team)
void G_ClientCommand (Player &player)

Detailed Description

Player commands.

Definition in file g_cmds.cpp.

Function Documentation

◆ G_CheckFlood()

bool G_CheckFlood ( Player & player)
static

Check whether the user can talk.

Definition at line 65 of file g_cmds.cpp.

References _, flood_msgs, flood_persecond, flood_waitdelay, G_ClientPrintf(), i, level, and PRINT_CHAT.

Referenced by G_Say_f().

◆ G_ClientCommand()

void G_ClientCommand ( Player & player)

Definition at line 423 of file g_cmds.cpp.

References G_Players_f(), G_Say_f(), gi, and Q_strcasecmp.

Referenced by GetGameAPI().

◆ G_Players_f()

void G_Players_f ( const Player & player)
static

◆ G_Say_f()

void G_Say_f ( Player & player,
bool arg0,
bool team )
static