mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 13:46:24 +00:00
fix(Core/Session): Fixed loading global account data and tutorials. S… (#14038)
fix(Core/Session): Fixed loading global account data and tutorials. Source: TrinityCore. Fixes #11974
This commit is contained in:
@@ -447,10 +447,9 @@ public:
|
||||
AccountData* GetAccountData(AccountDataType type) { return &m_accountData[type]; }
|
||||
void SetAccountData(AccountDataType type, time_t tm, std::string const& data);
|
||||
void SendAccountDataTimes(uint32 mask);
|
||||
void LoadGlobalAccountData();
|
||||
void LoadAccountData(PreparedQueryResult result, uint32 mask);
|
||||
|
||||
void LoadTutorialsData();
|
||||
void LoadTutorialsData(PreparedQueryResult result);
|
||||
void SendTutorialsData();
|
||||
void SaveTutorialsData(CharacterDatabaseTransaction trans);
|
||||
uint32 GetTutorialInt(uint8 index) const { return m_Tutorials[index]; }
|
||||
@@ -1077,6 +1076,9 @@ public: // opcodes handlers
|
||||
TransactionCallback& AddTransactionCallback(TransactionCallback&& callback);
|
||||
SQLQueryHolderCallback& AddQueryHolderCallback(SQLQueryHolderCallback&& callback);
|
||||
|
||||
void InitializeSession();
|
||||
void InitializeSessionCallback(CharacterDatabaseQueryHolder const& realmHolder, uint32 clientCacheVersion);
|
||||
|
||||
private:
|
||||
void ProcessQueryCallbacks();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user