mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
@@ -163,6 +163,10 @@ void LoginDatabaseConnection::DoPrepareStatements()
|
||||
PrepareStatement(LOGIN_SEL_ACCOUNT_HEIRLOOMS, "SELECT itemId, flags FROM battlenet_account_heirlooms WHERE accountId = ?", CONNECTION_ASYNC);
|
||||
PrepareStatement(LOGIN_REP_ACCOUNT_HEIRLOOMS, "REPLACE INTO battlenet_account_heirlooms (accountId, itemId, flags) VALUES (?, ?, ?)", CONNECTION_ASYNC);
|
||||
|
||||
// Account wide mounts
|
||||
PrepareStatement(LOGIN_SEL_ACCOUNT_MOUNTS, "SELECT mountSpellId, flags FROM battlenet_account_mounts WHERE battlenetAccountId = ?", CONNECTION_ASYNC);
|
||||
PrepareStatement(LOGIN_REP_ACCOUNT_MOUNTS, "REPLACE INTO battlenet_account_mounts (battlenetAccountId, mountSpellId, flags) VALUES (?, ?, ?)", CONNECTION_ASYNC);
|
||||
|
||||
// Transmog collection
|
||||
PrepareStatement(LOGIN_SEL_BNET_ITEM_APPEARANCES, "SELECT blobIndex, appearanceMask FROM battlenet_item_appearances WHERE battlenetAccountId = ? ORDER BY blobIndex DESC", CONNECTION_ASYNC);
|
||||
PrepareStatement(LOGIN_INS_BNET_ITEM_APPEARANCES, "INSERT INTO battlenet_item_appearances (battlenetAccountId, blobIndex, appearanceMask) VALUES (?, ?, ?) "
|
||||
|
||||
@@ -152,6 +152,9 @@ enum LoginDatabaseStatements
|
||||
LOGIN_SEL_ACCOUNT_HEIRLOOMS,
|
||||
LOGIN_REP_ACCOUNT_HEIRLOOMS,
|
||||
|
||||
LOGIN_SEL_ACCOUNT_MOUNTS,
|
||||
LOGIN_REP_ACCOUNT_MOUNTS,
|
||||
|
||||
LOGIN_SEL_BNET_ITEM_APPEARANCES,
|
||||
LOGIN_INS_BNET_ITEM_APPEARANCES,
|
||||
LOGIN_SEL_BNET_ITEM_FAVORITE_APPEARANCES,
|
||||
|
||||
Reference in New Issue
Block a user