AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Go to the source code of this file.
Namespaces | |
namespace | AccountMgr |
Macros | |
#define | MAX_ACCOUNT_STR 20 |
#define | MAX_PASS_STR 16 |
#define | MAX_EMAIL_STR 255 |
Enumerations | |
enum | AccountOpResult { AOR_OK , AOR_NAME_TOO_LONG , AOR_PASS_TOO_LONG , AOR_EMAIL_TOO_LONG , AOR_NAME_ALREADY_EXIST , AOR_NAME_NOT_EXIST , AOR_DB_INTERNAL_ERROR } |
Functions | |
AccountOpResult | AccountMgr::CreateAccount (std::string username, std::string password) |
AccountOpResult | AccountMgr::DeleteAccount (uint32 accountId) |
AccountOpResult | AccountMgr::ChangeUsername (uint32 accountId, std::string newUsername, std::string newPassword) |
AccountOpResult | AccountMgr::ChangePassword (uint32 accountId, std::string newPassword) |
AccountOpResult | AccountMgr::ChangeEmail (uint32 accountId, std::string newEmail) |
bool | AccountMgr::CheckPassword (uint32 accountId, std::string password) |
uint32 | AccountMgr::GetId (std::string const &username) |
uint32 | AccountMgr::GetSecurity (uint32 accountId) |
uint32 | AccountMgr::GetSecurity (uint32 accountId, int32 realmId) |
bool | AccountMgr::GetName (uint32 accountId, std::string &name) |
uint32 | AccountMgr::GetCharactersCount (uint32 accountId) |
bool | AccountMgr::IsPlayerAccount (uint32 gmlevel) |
bool | AccountMgr::IsAdminAccount (uint32 gmlevel) |
bool | AccountMgr::IsConsoleAccount (uint32 gmlevel) |
#define MAX_ACCOUNT_STR 20 |
#define MAX_EMAIL_STR 255 |
#define MAX_PASS_STR 16 |
enum AccountOpResult |
Enumerator | |
---|---|
AOR_OK | |
AOR_NAME_TOO_LONG | |
AOR_PASS_TOO_LONG | |
AOR_EMAIL_TOO_LONG | |
AOR_NAME_ALREADY_EXIST | |
AOR_NAME_NOT_EXIST | |
AOR_DB_INTERNAL_ERROR |