Phasor
01.00.10.059
|
Go to the source code of this file.
Namespaces | |
namespace | commands |
namespace | Admin |
Enumerations | |
enum | Admin::result_t { Admin::E_OK = 0, Admin::E_HASH_INUSE, Admin::E_LEVEL_NOT_EXIST, Admin::E_NAME_INUSE, Admin::E_NOT_ADMIN, Admin::E_NOT_ALLOWED } |
Functions | |
result_t | Admin::add (const std::string &hash, const std::string &authname, int level) |
void | Admin::remove (const std::string &hash) |
bool | Admin::isAdmin (const std::string &hash) |
bool | Admin::getLevel (const std::string &hash, int *level) |
bool | Admin::isChallengeEnabled () |
result_t | Admin::canUseCommand (const std::string &hash, const std::string &command, std::string *authName) |
void | Admin::initialize (COutStream *out) |
void | Admin::reload () |
e_command_result | Admin::sv_admin_add (void *, commands::CArgParser &args, COutStream &out) |
Make the specified player (or hash) an admin. | |
e_command_result | Admin::sv_admin_del (void *, commands::CArgParser &args, COutStream &out) |
Revoke a current admin's status. | |
e_command_result | Admin::sv_admin_list (void *, commands::CArgParser &args, COutStream &out) |
Lists all admins. | |
e_command_result | Admin::sv_admin_cur (void *, commands::CArgParser &args, COutStream &out) |
Lists all admins who are currently in the server. | |
e_command_result | Admin::sv_admin_reload (void *, commands::CArgParser &args, COutStream &out) |
Reload both the access and admin files. | |
e_command_result | Admin::sv_commands (void *player, commands::CArgParser &args, COutStream &out) |
Lists the commands you have permission to use. | |
e_command_result | Admin::sv_admin_check (void *, commands::CArgParser &args, COutStream &out) |
Enables/Disables forced-hash checking. This protects against people attempting to steal an admin's hash, an admin won't be marked as such until the response from gamespy is received. | |
e_command_result | Admin::sv_public (void *, commands::CArgParser &args, COutStream &out) |