TrinityCore
Loading...
Searching...
No Matches
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()

◆ CheckPassword()

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

◆ CreateBattlenetAccount()

◆ GetId()

◆ GetIdByGameAccount()

◆ GetIdByGameAccountAsync()

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

◆ GetMaxIndex()

◆ GetName()

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

◆ GetSrpUsername()

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

◆ LinkWithGameAccount()

◆ UnlinkGameAccount()