#include <AccountMgr.h>
|
static AccountMgr * | instance () |
|
static AccountOpResult | DeleteAccount (uint32 accountId) |
|
static AccountOpResult | ChangeUsername (uint32 accountId, std::string newUsername, std::string newPassword) |
|
static AccountOpResult | ChangePassword (uint32 accountId, std::string newPassword) |
|
static AccountOpResult | ChangeEmail (uint32 accountId, std::string newEmail) |
|
static AccountOpResult | ChangeRegEmail (uint32 accountId, std::string newEmail) |
|
static bool | CheckPassword (std::string username, std::string password) |
|
static bool | CheckPassword (uint32 accountId, std::string password) |
|
static bool | CheckEmail (uint32 accountId, std::string newEmail) |
|
static uint32 | GetId (std::string_view username) |
|
static uint32 | GetSecurity (uint32 accountId, int32 realmId) |
|
static QueryCallback | GetSecurityAsync (uint32 accountId, int32 realmId, std::function< void(uint32)> callback) |
|
static bool | GetName (uint32 accountId, std::string &name) |
|
static bool | GetEmail (uint32 accountId, std::string &email) |
|
static uint32 | GetCharactersCount (uint32 accountId) |
|
static bool | IsBannedAccount (std::string const &name) |
|
static bool | IsPlayerAccount (uint32 gmlevel) |
|
static bool | IsAdminAccount (uint32 gmlevel) |
|
static bool | IsConsoleAccount (uint32 gmlevel) |
|
static bool | HasPermission (uint32 accountId, uint32 permission, uint32 realmId) |
|
Definition at line 52 of file AccountMgr.h.
◆ AccountMgr()
AccountMgr::AccountMgr |
( |
| ) |
|
|
private |
◆ ~AccountMgr()
AccountMgr::~AccountMgr |
( |
| ) |
|
|
private |
◆ ChangeEmail()
◆ ChangePassword()
◆ ChangeRegEmail()
◆ ChangeUsername()
AccountOpResult AccountMgr::ChangeUsername |
( |
uint32 |
accountId, |
|
|
std::string |
newUsername, |
|
|
std::string |
newPassword |
|
) |
| |
|
static |
◆ CheckEmail()
bool AccountMgr::CheckEmail |
( |
uint32 |
accountId, |
|
|
std::string |
newEmail |
|
) |
| |
|
static |
◆ CheckPassword() [1/2]
bool AccountMgr::CheckPassword |
( |
std::string |
username, |
|
|
std::string |
password |
|
) |
| |
|
static |
◆ CheckPassword() [2/2]
bool AccountMgr::CheckPassword |
( |
uint32 |
accountId, |
|
|
std::string |
password |
|
) |
| |
|
static |
◆ ClearRBAC()
void AccountMgr::ClearRBAC |
( |
| ) |
|
|
private |
◆ CreateAccount()
AccountOpResult AccountMgr::CreateAccount |
( |
std::string |
username, |
|
|
std::string |
password, |
|
|
std::string |
email = "" , |
|
|
uint32 |
bnetAccountId = 0 , |
|
|
uint8 |
bnetIndex = 0 |
|
) |
| |
◆ DeleteAccount()
◆ GetCharactersCount()
◆ GetEmail()
bool AccountMgr::GetEmail |
( |
uint32 |
accountId, |
|
|
std::string & |
email |
|
) |
| |
|
static |
◆ GetId()
uint32 AccountMgr::GetId |
( |
std::string_view |
username | ) |
|
|
static |
◆ GetName()
bool AccountMgr::GetName |
( |
uint32 |
accountId, |
|
|
std::string & |
name |
|
) |
| |
|
static |
◆ GetRBACDefaultPermissions()
◆ GetRBACPermission()
◆ GetRBACPermissionList()
◆ GetSecurity()
◆ GetSecurityAsync()
◆ HasPermission()
◆ instance()
◆ IsAdminAccount()
bool AccountMgr::IsAdminAccount |
( |
uint32 |
gmlevel | ) |
|
|
static |
◆ IsBannedAccount()
bool AccountMgr::IsBannedAccount |
( |
std::string const & |
name | ) |
|
|
static |
◆ IsConsoleAccount()
bool AccountMgr::IsConsoleAccount |
( |
uint32 |
gmlevel | ) |
|
|
static |
◆ IsPlayerAccount()
bool AccountMgr::IsPlayerAccount |
( |
uint32 |
gmlevel | ) |
|
|
static |
◆ LoadRBAC()
void AccountMgr::LoadRBAC |
( |
| ) |
|
◆ UpdateAccountAccess()
◆ _defaultPermissions
◆ _permissions
The documentation for this class was generated from the following files: