mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/DataStore: Load ItemNameDescription
This commit is contained in:
@@ -601,6 +601,10 @@ void HotfixDatabaseConnection::DoPrepareStatements()
|
||||
PrepareStatement(HOTFIX_SEL_ITEM_MODIFIED_APPEARANCE, "SELECT ID, ItemID, ItemAppearanceModifierID, ItemAppearanceID, OrderIndex, "
|
||||
"TransmogSourceTypeEnum FROM item_modified_appearance ORDER BY ID DESC", CONNECTION_SYNCH);
|
||||
|
||||
// ItemNameDescription.db2
|
||||
PrepareStatement(HOTFIX_SEL_ITEM_NAME_DESCRIPTION, "SELECT ID, Description, Color FROM item_name_description ORDER BY ID DESC", CONNECTION_SYNCH);
|
||||
PREPARE_LOCALE_STMT(HOTFIX_SEL_ITEM_NAME_DESCRIPTION, "SELECT ID, Description_lang FROM item_name_description_locale WHERE locale = ?", CONNECTION_SYNCH);
|
||||
|
||||
// ItemPriceBase.db2
|
||||
PrepareStatement(HOTFIX_SEL_ITEM_PRICE_BASE, "SELECT ID, ItemLevel, Armor, Weapon FROM item_price_base ORDER BY ID DESC", CONNECTION_SYNCH);
|
||||
|
||||
|
||||
@@ -326,6 +326,9 @@ enum HotfixDatabaseStatements : uint32
|
||||
|
||||
HOTFIX_SEL_ITEM_MODIFIED_APPEARANCE,
|
||||
|
||||
HOTFIX_SEL_ITEM_NAME_DESCRIPTION,
|
||||
HOTFIX_SEL_ITEM_NAME_DESCRIPTION_LOCALE,
|
||||
|
||||
HOTFIX_SEL_ITEM_PRICE_BASE,
|
||||
|
||||
HOTFIX_SEL_ITEM_SEARCH_NAME,
|
||||
|
||||
Reference in New Issue
Block a user