mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-26 03:42:37 +01:00
@@ -947,6 +947,21 @@ void HotfixDatabaseConnection::DoPrepareStatements()
|
||||
PrepareStatement(HOTFIX_SEL_TOY, "SELECT ItemID, Description, Flags, CategoryFilter, ID FROM toy ORDER BY ID DESC", CONNECTION_SYNCH);
|
||||
PREPARE_LOCALE_STMT(HOTFIX_SEL_TOY, "SELECT ID, Description_lang FROM toy_locale WHERE locale = ?", CONNECTION_SYNCH);
|
||||
|
||||
// TransmogHoliday.db2
|
||||
PrepareStatement(HOTFIX_SEL_TRANSMOG_HOLIDAY, "SELECT ID, HolidayID FROM transmog_holiday ORDER BY ID DESC", CONNECTION_SYNCH);
|
||||
|
||||
// TransmogSet.db2
|
||||
PrepareStatement(HOTFIX_SEL_TRANSMOG_SET, "SELECT Name, BaseSetID, UIOrder, ExpansionID, ID, Flags, QuestID, ClassMask, ItemNameDescriptionID, "
|
||||
"TransmogSetGroupID FROM transmog_set ORDER BY ID DESC", CONNECTION_SYNCH);
|
||||
PREPARE_LOCALE_STMT(HOTFIX_SEL_TRANSMOG_SET, "SELECT ID, Name_lang FROM transmog_set_locale WHERE locale = ?", CONNECTION_SYNCH);
|
||||
|
||||
// TransmogSetGroup.db2
|
||||
PrepareStatement(HOTFIX_SEL_TRANSMOG_SET_GROUP, "SELECT Label, ID FROM transmog_set_group ORDER BY ID DESC", CONNECTION_SYNCH);
|
||||
PREPARE_LOCALE_STMT(HOTFIX_SEL_TRANSMOG_SET_GROUP, "SELECT ID, Label_lang FROM transmog_set_group_locale WHERE locale = ?", CONNECTION_SYNCH);
|
||||
|
||||
// TransmogSetItem.db2
|
||||
PrepareStatement(HOTFIX_SEL_TRANSMOG_SET_ITEM, "SELECT ID, TransmogSetID, ItemModifiedAppearanceID, Flags FROM transmog_set_item ORDER BY ID DESC", CONNECTION_SYNCH);
|
||||
|
||||
// TransportAnimation.db2
|
||||
PrepareStatement(HOTFIX_SEL_TRANSPORT_ANIMATION, "SELECT ID, TransportID, TimeIndex, PosX, PosY, PosZ, SequenceID FROM transport_animation"
|
||||
" ORDER BY ID DESC", CONNECTION_SYNCH);
|
||||
|
||||
@@ -507,6 +507,16 @@ enum HotfixDatabaseStatements : uint32
|
||||
HOTFIX_SEL_TOY,
|
||||
HOTFIX_SEL_TOY_LOCALE,
|
||||
|
||||
HOTFIX_SEL_TRANSMOG_HOLIDAY,
|
||||
|
||||
HOTFIX_SEL_TRANSMOG_SET,
|
||||
HOTFIX_SEL_TRANSMOG_SET_LOCALE,
|
||||
|
||||
HOTFIX_SEL_TRANSMOG_SET_GROUP,
|
||||
HOTFIX_SEL_TRANSMOG_SET_GROUP_LOCALE,
|
||||
|
||||
HOTFIX_SEL_TRANSMOG_SET_ITEM,
|
||||
|
||||
HOTFIX_SEL_TRANSPORT_ANIMATION,
|
||||
|
||||
HOTFIX_SEL_TRANSPORT_ROTATION,
|
||||
|
||||
Reference in New Issue
Block a user