Xonotic
|
Go to the source code of this file.
Macros | |
#define | GET_BAN_ARG(v, d) if (argc > reason_arg) { if ((v = stof(argv(reason_arg))) != 0) ++reason_arg; else v = d; } else { v = d; } |
#define | GET_BAN_REASON(v, d) if (argc > reason_arg) v = substring(command, argv_start_index(reason_arg), strlen(command) - argv_start_index(reason_arg)); else v = d; |
Functions | |
void | BanCommand_macro_help () |
float | BanCommand_macro_usage (int argc) |
void | BanCommand_macro_write_aliases (float fh) |
#define GET_BAN_ARG | ( | v, | |
d | |||
) | if (argc > reason_arg) { if ((v = stof(argv(reason_arg))) != 0) ++reason_arg; else v = d; } else { v = d; } |
Definition at line 14 of file banning.qh.
Referenced by BanCommand_ban(), and BanCommand_kickban().
#define GET_BAN_REASON | ( | v, | |
d | |||
) | if (argc > reason_arg) v = substring(command, argv_start_index(reason_arg), strlen(command) - argv_start_index(reason_arg)); else v = d; |
Definition at line 15 of file banning.qh.
Referenced by BanCommand_ban(), and BanCommand_kickban().
void BanCommand_macro_help | ( | ) |
Definition at line 276 of file banning.qc.
References BAN_COMMANDS.
Referenced by GameCommand().
Definition at line 296 of file banning.qc.
References BAN_COMMANDS, and CMD_REQUEST_USAGE.
Referenced by GameCommand().
Definition at line 307 of file banning.qc.
References BAN_COMMANDS.
Referenced by GENERIC_COMMAND().
float autocvar_g_ban_default_bantime |
Definition at line 3 of file banning.qh.
Referenced by BanCommand_ban(), BanCommand_kickban(), and VoteCommand_parse().
float autocvar_g_ban_default_masksize |
Definition at line 4 of file banning.qh.
Referenced by BanCommand_kickban(), and VoteCommand_parse().
float autocvar_g_ban_sync_interval |
Definition at line 5 of file banning.qh.
Referenced by OnlineBanList_Think(), and OnlineBanList_URI_Get_Callback().
float autocvar_g_ban_sync_timeout |
Definition at line 6 of file banning.qh.
Referenced by OnlineBanList_Think(), and OnlineBanList_URI_Get_Callback().
string autocvar_g_ban_sync_trusted_servers |
Definition at line 7 of file banning.qh.
Referenced by OnlineBanList_Think().
bool autocvar_g_ban_sync_trusted_servers_verify |
Definition at line 8 of file banning.qh.
Referenced by OnlineBanList_URI_Get_Callback().
string autocvar_g_ban_sync_uri |
Definition at line 9 of file banning.qh.
Referenced by OnlineBanList_SendBan(), OnlineBanList_SendUnban(), OnlineBanList_Think(), and OnlineBanList_URI_Get_Callback().
Definition at line 10 of file banning.qh.
Referenced by Ban_MaybeEnforceBan().
string autocvar_g_banned_list |
Definition at line 11 of file banning.qh.
Referenced by Ban_LoadBans().
bool autocvar_g_banned_list_idmode |
Definition at line 12 of file banning.qh.
Referenced by Ban_IsClientBanned().