TC_GAME_API std::string CalculateShaPassHash(std::string const &name, std::string const &password)
Definition: BattlenetAccountMgr.cpp:172
static AccountMgr * instance()
Definition: AccountMgr.cpp:36
void setString(const uint8 index, const std::string &value)
Definition: PreparedStatement.cpp:187
size_t utf8length(std::string &utf8str)
Definition: Util.cpp:247
Definition: LoginDatabase.h:121
#define MAX_BNET_EMAIL_STR
Definition: BattlenetAccountMgr.h:26
Definition: PreparedStatement.h:74
LoginDatabaseWorkerPool LoginDatabase
Accessor to the realm/login database.
Definition: DatabaseEnv.cpp:22
TC_GAME_API uint32 GetId(std::string const &username)
Definition: BattlenetAccountMgr.cpp:128
uint32_t uint32
Definition: Define.h:150
PreparedStatement * GetPreparedStatement(PreparedStatementIndex index)
Definition: DatabaseWorkerPool.h:263
#define ASSERT
Definition: Errors.h:55
bool Utf8ToUpperOnlyLatin(std::string &utf8String)
Definition: Util.cpp:498
#define MAX_PASS_STR
Definition: AccountMgr.h:43
void DirectExecute(const char *sql)
Definition: DatabaseWorkerPool.h:121
AccountOpResult CreateAccount(std::string username, std::string password, std::string email="", uint32 bnetAccountId=0, uint8 bnetIndex=0)
Definition: AccountMgr.cpp:42