TrinityCore
Battlenet::AccountMgr Namespace Reference

Functions

TC_GAME_API AccountOpResult CreateBattlenetAccount (std::string email, std::string password, bool withGameAccount, std::string *gameAccountName)
 
TC_GAME_API AccountOpResult ChangePassword (uint32 accountId, std::string newPassword)
 
TC_GAME_API bool CheckPassword (uint32 accountId, std::string password)
 
TC_GAME_API AccountOpResult LinkWithGameAccount (std::string_view email, std::string_view gameAccountName)
 
TC_GAME_API AccountOpResult UnlinkGameAccount (std::string_view gameAccountName)
 
TC_GAME_API uint32 GetId (std::string_view username)
 
TC_GAME_API bool GetName (uint32 accountId, std::string &name)
 
TC_GAME_API uint32 GetIdByGameAccount (uint32 gameAccountId)
 
TC_GAME_API QueryCallback GetIdByGameAccountAsync (uint32 gameAccountId)
 
TC_GAME_API uint8 GetMaxIndex (uint32 accountId)
 
TC_GAME_API std::string GetSrpUsername (std::string name)
 

Function Documentation

◆ ChangePassword()

AccountOpResult Battlenet::AccountMgr::ChangePassword ( uint32  accountId,
std::string  newPassword 
)

Definition at line 71 of file BattlenetAccountMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckPassword()

bool Battlenet::AccountMgr::CheckPassword ( uint32  accountId,
std::string  password 
)

Definition at line 93 of file BattlenetAccountMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CreateBattlenetAccount()

AccountOpResult Battlenet::AccountMgr::CreateBattlenetAccount ( std::string  email,
std::string  password,
bool  withGameAccount,
std::string *  gameAccountName 
)

Definition at line 34 of file BattlenetAccountMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetId()

uint32 Battlenet::AccountMgr::GetId ( std::string_view  username)

Definition at line 160 of file BattlenetAccountMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetIdByGameAccount()

uint32 Battlenet::AccountMgr::GetIdByGameAccount ( uint32  gameAccountId)

Definition at line 183 of file BattlenetAccountMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetIdByGameAccountAsync()

QueryCallback Battlenet::AccountMgr::GetIdByGameAccountAsync ( uint32  gameAccountId)

Definition at line 193 of file BattlenetAccountMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetMaxIndex()

uint8 Battlenet::AccountMgr::GetMaxIndex ( uint32  accountId)

Definition at line 200 of file BattlenetAccountMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetName()

bool Battlenet::AccountMgr::GetName ( uint32  accountId,
std::string &  name 
)

Definition at line 170 of file BattlenetAccountMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetSrpUsername()

std::string Battlenet::AccountMgr::GetSrpUsername ( std::string  name)

Definition at line 211 of file BattlenetAccountMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LinkWithGameAccount()

AccountOpResult Battlenet::AccountMgr::LinkWithGameAccount ( std::string_view  email,
std::string_view  gameAccountName 
)

Definition at line 122 of file BattlenetAccountMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UnlinkGameAccount()

AccountOpResult Battlenet::AccountMgr::UnlinkGameAccount ( std::string_view  gameAccountName)

Definition at line 143 of file BattlenetAccountMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: