![]() |
TrinityCore
|
Include dependency graph for AccountMgr.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | AccountMgr |
Namespaces | |
| namespace | rbac |
Macros | |
| #define | sAccountMgr AccountMgr::instance() |
Typedefs | |
| typedef std::map< uint32, rbac::RBACPermission * > | rbac::RBACPermissionsContainer |
| typedef std::map< uint8, rbac::RBACPermissionContainer > | rbac::RBACDefaultPermissionsContainer |
Enumerations | |
| enum class | AccountOpResult : uint8 { 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 , AOR_ACCOUNT_BAD_LINK } |
| enum | PasswordChangeSecurity { PW_NONE , PW_EMAIL , PW_RBAC } |
Variables | |
| constexpr std::size_t | MAX_ACCOUNT_STR [2] = { 16, 64 } |
| constexpr std::size_t | MAX_ACCOUNT_NAME_BYTES = 255 |
| constexpr std::size_t | MAX_PASS_STR = 16 |
| constexpr std::size_t | MAX_EMAIL_STR = 64 |
| #define sAccountMgr AccountMgr::instance() |
Definition at line 105 of file AccountMgr.h.
|
strong |
| 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 | |
| AOR_ACCOUNT_BAD_LINK | |
Definition at line 24 of file AccountMgr.h.
| Enumerator | |
|---|---|
| PW_NONE | |
| PW_EMAIL | |
| PW_RBAC | |
Definition at line 36 of file AccountMgr.h.
|
inlineconstexpr |
Definition at line 44 of file AccountMgr.h.
Referenced by AccountMgr::ChangeUsername(), and AccountMgr::CreateAccount().
|
inlineconstexpr |
Definition at line 43 of file AccountMgr.h.
Referenced by AccountMgr::ChangeUsername(), AccountMgr::CreateAccount(), and account_commandscript::HandleAccountCreateCommand().
|
inlineconstexpr |
Definition at line 46 of file AccountMgr.h.
Referenced by AccountMgr::ChangeEmail(), and AccountMgr::ChangeRegEmail().
|
inlineconstexpr |
Definition at line 45 of file AccountMgr.h.
Referenced by AccountMgr::ChangePassword(), AccountMgr::ChangeUsername(), AccountMgr::CreateAccount(), and Battlenet::AccountMgr::CreateBattlenetAccount().