31 PrepareStatement(
HOTFIX_SEL_ACHIEVEMENT,
"SELECT ID, Faction, MapID, Supercedes, Title, Description, Category, Points, UIOrder, Flags, IconID, "
32 "Reward, MinimumCriteria, SharesCriteria, CriteriaTree FROM achievement ORDER BY ID DESC", CONNECTION_SYNCH);
36 PrepareStatement(
HOTFIX_SEL_AREA_GROUP_MEMBER,
"SELECT ID, AreaGroupID, AreaID FROM area_group_member ORDER BY ID DESC", CONNECTION_SYNCH);
39 PrepareStatement(
HOTFIX_SEL_AUCTION_HOUSE,
"SELECT ID, FactionID, DepositRate, ConsignmentRate, Name FROM auction_house ORDER BY ID DESC", CONNECTION_SYNCH);
43 PrepareStatement(
HOTFIX_SEL_BARBER_SHOP_STYLE,
"SELECT ID, Type, DisplayName, Description, CostModifier, Race, Sex, Data FROM barber_shop_style"
44 " ORDER BY ID DESC", CONNECTION_SYNCH);
55 "SourceText, Description FROM battle_pet_species ORDER BY ID DESC", CONNECTION_SYNCH);
62 PrepareStatement(
HOTFIX_SEL_BROADCAST_TEXT,
"SELECT ID, Language, MaleText, FemaleText, EmoteID1, EmoteID2, EmoteID3, EmoteDelay1, EmoteDelay2, "
63 "EmoteDelay3, SoundID, UnkEmoteID, Type FROM broadcast_text ORDER BY ID DESC", CONNECTION_SYNCH);
67 PrepareStatement(
HOTFIX_SEL_CHAR_START_OUTFIT,
"SELECT ID, RaceID, ClassID, GenderID, OutfitID, ItemID1, ItemID2, ItemID3, ItemID4, ItemID5, "
68 "ItemID6, ItemID7, ItemID8, ItemID9, ItemID10, ItemID11, ItemID12, ItemID13, ItemID14, ItemID15, ItemID16, ItemID17, ItemID18, ItemID19, "
69 "ItemID20, ItemID21, ItemID22, ItemID23, ItemID24, PetDisplayID, PetFamilyID FROM char_start_outfit ORDER BY ID DESC", CONNECTION_SYNCH);
75 PrepareStatement(
HOTFIX_SEL_CINEMATIC_SEQUENCES,
"SELECT ID, SoundID, Camera1, Camera2, Camera3, Camera4, Camera5, Camera6, Camera7, Camera8"
76 " FROM cinematic_sequences ORDER BY ID DESC", CONNECTION_SYNCH);
80 "CreatureModelAlpha, TextureVariation1, TextureVariation2, TextureVariation3, PortraitTextureName, PortraitCreatureDisplayInfoID, SizeClass, "
81 "BloodID, NPCSoundID, ParticleColorID, CreatureGeosetData, ObjectEffectPackageID, AnimReplacementSetID, Flags, Gender, StateSpellVisualKitID"
82 " FROM creature_display_info ORDER BY ID DESC", CONNECTION_SYNCH);
84 "PortraitTextureName_lang FROM creature_display_info_locale WHERE locale = ?", CONNECTION_SYNCH);
87 PrepareStatement(
HOTFIX_SEL_CREATURE_TYPE,
"SELECT ID, Name, Flags FROM creature_type ORDER BY ID DESC", CONNECTION_SYNCH);
91 PrepareStatement(
HOTFIX_SEL_CRITERIA,
"SELECT ID, Type, Asset, StartEvent, StartAsset, StartTimer, FailEvent, FailAsset, ModifierTreeId, Flags, "
92 "EligibilityWorldStateID, EligibilityWorldStateValue FROM criteria ORDER BY ID DESC", CONNECTION_SYNCH);
95 PrepareStatement(
HOTFIX_SEL_CRITERIA_TREE,
"SELECT ID, CriteriaID, Operator, Parent, Flags, Description, OrderIndex FROM criteria_tree"
96 " ORDER BY ID DESC", CONNECTION_SYNCH);
100 PrepareStatement(
HOTFIX_SEL_CURRENCY_TYPES,
"SELECT ID, CategoryID, Name, InventoryIcon1, InventoryIcon2, SpellWeight, SpellCategory, MaxQty, "
101 "MaxEarnablePerWeek, Flags, Quality, Description FROM currency_types ORDER BY ID DESC", CONNECTION_SYNCH);
103 " FROM currency_types_locale WHERE locale = ?", CONNECTION_SYNCH);
106 PrepareStatement(
HOTFIX_SEL_CURVE_POINT,
"SELECT ID, CurveID, `Index`, X, Y FROM curve_point ORDER BY ID DESC", CONNECTION_SYNCH);
110 "StateDamagedNameSet, StateDestroyedDisplayID, StateDestroyedDestructionDoodadSet, StateDestroyedImpactEffectDoodadSet, StateDestroyedAmbientDoodadSet, "
111 "StateDestroyedNameSet, StateRebuildingDisplayID, StateRebuildingDestructionDoodadSet, StateRebuildingImpactEffectDoodadSet, "
112 "StateRebuildingAmbientDoodadSet, StateRebuildingNameSet, StateSmokeDisplayID, StateSmokeInitDoodadSet, StateSmokeAmbientDoodadSet, StateSmokeNameSet, "
113 "EjectDirection, RepairGroundFx, DoNotHighlight, HealEffect, HealEffectSpeed FROM destructible_model_data ORDER BY ID DESC", CONNECTION_SYNCH);
119 PrepareStatement(
HOTFIX_SEL_GAMEOBJECTS,
"SELECT ID, MapID, DisplayID, PositionX, PositionY, PositionZ, RotationX, RotationY, RotationZ, "
120 "RotationW, Size, PhaseUseFlags, PhaseID, PhaseGroupID, Type, Data0, Data1, Data2, Data3, Data4, Data5, Data6, Data7, Name FROM gameobjects"
121 " ORDER BY ID DESC", CONNECTION_SYNCH);
125 PrepareStatement(
HOTFIX_SEL_GAME_TABLES,
"SELECT ID, Name, NumRows, NumColumns FROM game_tables ORDER BY ID DESC", CONNECTION_SYNCH);
129 PrepareStatement(
HOTFIX_SEL_GARR_ABILITY,
"SELECT ID, Flags, Name, Description, IconFileDataID, OtherFactionGarrAbilityID, GarrAbilityCategoryID, "
130 "FollowerTypeID FROM garr_ability ORDER BY ID DESC", CONNECTION_SYNCH);
134 PrepareStatement(
HOTFIX_SEL_GARR_BUILDING,
"SELECT ID, HordeGameObjectID, AllianceGameObjectID, Unknown, Type, Level, NameAlliance, NameHorde, "
135 "Description, Tooltip, BuildDuration, CostCurrencyID, CostCurrencyAmount, HordeTexPrefixKitID, AllianceTexPrefixKitID, IconFileDataID, "
136 "BonusAmount, Flags, AllianceActivationScenePackageID, HordeActivationScenePackageID, MaxShipments, FollowerRequiredGarrAbilityID, "
137 "FollowerGarrAbilityEffectID, CostMoney FROM garr_building ORDER BY ID DESC", CONNECTION_SYNCH);
139 " FROM garr_building_locale WHERE locale = ?", CONNECTION_SYNCH);
143 "LandmarkOffsetX, LandmarkOffsetY FROM garr_building_plot_inst ORDER BY ID DESC", CONNECTION_SYNCH);
146 PrepareStatement(
HOTFIX_SEL_GARR_CLASS_SPEC,
"SELECT ID, NameMale, NameFemale, NameGenderless, ClassAtlasID, GarrFollItemSetID"
147 " FROM garr_class_spec ORDER BY ID DESC", CONNECTION_SYNCH);
149 " WHERE locale = ?", CONNECTION_SYNCH);
152 PrepareStatement(
HOTFIX_SEL_GARR_FOLLOWER,
"SELECT ID, FollowerTypeID, HordeCreatureID, AllianceCreatureID, HordeUiAnimRaceInfoID, AllianceUiAnimRaceInfoID, "
153 "Quality, HordeGarrClassSpecID, AllianceGarrClassSpecID, HordeGarrFollItemSetID, AllianceGarrFollItemSetID, Level, ItemLevelWeapon, "
154 "ItemLevelArmor, Unknown1, Flags, HordeSourceText, AllianceSourceText, Unknown2, Unknown3, HordePortraitIconID, AlliancePortraitIconID, "
155 "HordeListPortraitTextureKitID, AllianceListPortraitTextureKitID FROM garr_follower ORDER BY ID DESC", CONNECTION_SYNCH);
160 " ORDER BY ID DESC", CONNECTION_SYNCH);
163 PrepareStatement(
HOTFIX_SEL_GARR_PLOT,
"SELECT ID, GarrPlotUICategoryID, PlotType, Flags, Name, MinCount, MaxCount, "
164 "AllianceConstructionGameObjectID, HordeConstructionGameObjectID FROM garr_plot ORDER BY ID DESC", CONNECTION_SYNCH);
168 PrepareStatement(
HOTFIX_SEL_GARR_PLOT_BUILDING,
"SELECT ID, GarrPlotID, GarrBuildingID FROM garr_plot_building ORDER BY ID DESC", CONNECTION_SYNCH);
175 PrepareStatement(
HOTFIX_SEL_GARR_SITE_LEVEL,
"SELECT ID, Level, MapID, SiteID, UITextureKitID, TownHallX, TownHallY, MovieID, Level2, "
176 "UpgradeResourceCost, UpgradeMoneyCost FROM garr_site_level ORDER BY ID DESC", CONNECTION_SYNCH);
180 " FROM garr_site_level_plot_inst ORDER BY ID DESC", CONNECTION_SYNCH);
183 PrepareStatement(
HOTFIX_SEL_GLYPH_SLOT,
"SELECT ID, Type, Tooltip FROM glyph_slot ORDER BY ID DESC", CONNECTION_SYNCH);
186 PrepareStatement(
HOTFIX_SEL_GUILD_PERK_SPELLS,
"SELECT ID, GuildLevel, SpellID FROM guild_perk_spells ORDER BY ID DESC", CONNECTION_SYNCH);
189 PrepareStatement(
HOTFIX_SEL_HEIRLOOM,
"SELECT ID, ItemID, Flags, SourceText, Source, OldItem1, OldItem2, NextDifficultyItemID, UpgradeItemID1, UpgradeItemID2, "
190 "ItemBonusListID1, ItemBonusListID2 FROM heirloom ORDER BY ID DESC", CONNECTION_SYNCH);
194 PrepareStatement(
HOTFIX_SEL_HOLIDAYS,
"SELECT ID, Duration1, Duration2, Duration3, Duration4, Duration5, Duration6, Duration7, Duration8, "
195 "Duration9, Duration10, Date1, Date2, Date3, Date4, Date5, Date6, Date7, Date8, Date9, Date10, Date11, Date12, Date13, Date14, Date15, "
196 "Date16, Region, Looping, CalendarFlags1, CalendarFlags2, CalendarFlags3, CalendarFlags4, CalendarFlags5, CalendarFlags6, CalendarFlags7, "
197 "CalendarFlags8, CalendarFlags9, CalendarFlags10, HolidayNameID, HolidayDescriptionID, TextureFilename, Priority, CalendarFilterType, Flags"
198 " FROM holidays ORDER BY ID DESC", CONNECTION_SYNCH);
203 " ORDER BY ID DESC", CONNECTION_SYNCH);
215 PrepareStatement(
HOTFIX_SEL_ITEM_APPEARANCE,
"SELECT ID, DisplayID, IconFileDataID FROM item_appearance ORDER BY ID DESC", CONNECTION_SYNCH);
218 PrepareStatement(
HOTFIX_SEL_ITEM_BONUS,
"SELECT ID, BonusListID, Type, Value1, Value2, `Index` FROM item_bonus ORDER BY ID DESC", CONNECTION_SYNCH);
222 " ORDER BY ID DESC", CONNECTION_SYNCH);
225 PrepareStatement(
HOTFIX_SEL_ITEM_CLASS,
"SELECT ID, Flags, PriceMod, Name FROM item_class ORDER BY ID DESC", CONNECTION_SYNCH);
233 "RequiredDisenchantSkill FROM item_disenchant_loot ORDER BY ID DESC", CONNECTION_SYNCH);
236 PrepareStatement(
HOTFIX_SEL_ITEM_EFFECT,
"SELECT ID, ItemID, OrderIndex, SpellID, `Trigger`, Charges, Cooldown, Category, CategoryCooldown, "
237 "ChrSpecializationID FROM item_effect ORDER BY ID DESC", CONNECTION_SYNCH);
240 PrepareStatement(
HOTFIX_SEL_ITEM,
"SELECT ID, Class, SubClass, SoundOverrideSubclass, Material, InventoryType, Sheath, FileDataID, GroupSoundsID"
241 " FROM item ORDER BY ID DESC", CONNECTION_SYNCH);
245 "RequiredItem5, RequiredItemCount1, RequiredItemCount2, RequiredItemCount3, RequiredItemCount4, RequiredItemCount5, "
246 "RequiredPersonalArenaRating, ItemPurchaseGroup, RequiredCurrency1, RequiredCurrency2, RequiredCurrency3, RequiredCurrency4, "
247 "RequiredCurrency5, RequiredCurrencyCount1, RequiredCurrencyCount2, RequiredCurrencyCount3, RequiredCurrencyCount4, RequiredCurrencyCount5, "
248 "RequiredFactionId, RequiredFactionStanding, RequirementFlags, RequiredAchievement, RequiredMoney FROM item_extended_cost ORDER BY ID DESC", CONNECTION_SYNCH);
256 " FROM item_modified_appearance ORDER BY ID DESC", CONNECTION_SYNCH);
259 PrepareStatement(
HOTFIX_SEL_ITEM_PRICE_BASE,
"SELECT ID, ItemLevel, ArmorFactor, WeaponFactor FROM item_price_base ORDER BY ID DESC", CONNECTION_SYNCH);
263 "Enchantment5, Name FROM item_random_properties ORDER BY ID DESC", CONNECTION_SYNCH);
265 " WHERE locale = ?", CONNECTION_SYNCH);
269 "Enchantment5, AllocationPct1, AllocationPct2, AllocationPct3, AllocationPct4, AllocationPct5 FROM item_random_suffix ORDER BY ID DESC", CONNECTION_SYNCH);
273 PrepareStatement(
HOTFIX_SEL_ITEM_SPARSE,
"SELECT ID, Quality, Flags1, Flags2, Flags3, Unk1, Unk2, BuyCount, BuyPrice, SellPrice, InventoryType, "
274 "AllowableClass, AllowableRace, ItemLevel, RequiredLevel, RequiredSkill, RequiredSkillRank, RequiredSpell, RequiredHonorRank, "
275 "RequiredCityRank, RequiredReputationFaction, RequiredReputationRank, MaxCount, Stackable, ContainerSlots, ItemStatType1, ItemStatType2, "
276 "ItemStatType3, ItemStatType4, ItemStatType5, ItemStatType6, ItemStatType7, ItemStatType8, ItemStatType9, ItemStatType10, ItemStatValue1, "
277 "ItemStatValue2, ItemStatValue3, ItemStatValue4, ItemStatValue5, ItemStatValue6, ItemStatValue7, ItemStatValue8, ItemStatValue9, "
278 "ItemStatValue10, ItemStatAllocation1, ItemStatAllocation2, ItemStatAllocation3, ItemStatAllocation4, ItemStatAllocation5, "
279 "ItemStatAllocation6, ItemStatAllocation7, ItemStatAllocation8, ItemStatAllocation9, ItemStatAllocation10, ItemStatSocketCostMultiplier1, "
280 "ItemStatSocketCostMultiplier2, ItemStatSocketCostMultiplier3, ItemStatSocketCostMultiplier4, ItemStatSocketCostMultiplier5, "
281 "ItemStatSocketCostMultiplier6, ItemStatSocketCostMultiplier7, ItemStatSocketCostMultiplier8, ItemStatSocketCostMultiplier9, "
282 "ItemStatSocketCostMultiplier10, ScalingStatDistribution, DamageType, Delay, RangedModRange, Bonding, Name, Name2, Name3, Name4, Description, "
283 "PageText, LanguageID, PageMaterial, StartQuest, LockID, Material, Sheath, RandomProperty, RandomSuffix, ItemSet, Area, Map, BagFamily, "
284 "TotemCategory, SocketColor1, SocketColor2, SocketColor3, SocketBonus, GemProperties, ArmorDamageModifier, Duration, ItemLimitCategory, "
285 "HolidayID, StatScalingFactor, CurrencySubstitutionID, CurrencySubstitutionCount, ItemNameDescriptionID FROM item_sparse ORDER BY ID DESC", CONNECTION_SYNCH);
287 " WHERE locale = ?", CONNECTION_SYNCH);
290 PrepareStatement(
HOTFIX_SEL_ITEM_SPEC,
"SELECT ID, MinLevel, MaxLevel, ItemType, PrimaryStat, SecondaryStat, SpecID FROM item_spec"
291 " ORDER BY ID DESC", CONNECTION_SYNCH);
300 PrepareStatement(
HOTFIX_SEL_ITEM_X_BONUS_TREE,
"SELECT ID, ItemID, BonusTreeID FROM item_x_bonus_tree ORDER BY ID DESC", CONNECTION_SYNCH);
303 PrepareStatement(
HOTFIX_SEL_KEY_CHAIN,
"SELECT Id, Key1, Key2, Key3, Key4, Key5, Key6, Key7, Key8, Key9, Key10, Key11, Key12, Key13, Key14, "
304 "Key15, Key16, Key17, Key18, Key19, Key20, Key21, Key22, Key23, Key24, Key25, Key26, Key27, Key28, Key29, Key30, Key31, Key32 FROM key_chain"
305 " ORDER BY Id DESC", CONNECTION_SYNCH);
308 PrepareStatement(
HOTFIX_SEL_MAIL_TEMPLATE,
"SELECT ID, Body FROM mail_template ORDER BY ID DESC", CONNECTION_SYNCH);
312 PrepareStatement(
HOTFIX_SEL_MODIFIER_TREE,
"SELECT ID, Type, Asset1, Asset2, Operator, Amount, Parent FROM modifier_tree ORDER BY ID DESC", CONNECTION_SYNCH);
315 PrepareStatement(
HOTFIX_SEL_MOUNT,
"SELECT Id, SpellId, MountTypeId, DisplayId, Flags, Name, Description, SourceDescription, Source, "
316 "PlayerConditionId FROM mount ORDER BY Id DESC", CONNECTION_SYNCH);
320 PrepareStatement(
HOTFIX_SEL_MOUNT_CAPABILITY,
"SELECT ID, Flags, RequiredRidingSkill, RequiredArea, RequiredAura, RequiredSpell, SpeedModSpell, "
321 "RequiredMap FROM mount_capability ORDER BY ID DESC", CONNECTION_SYNCH);
324 PrepareStatement(
HOTFIX_SEL_MOUNT_TYPE_X_CAPABILITY,
"SELECT ID, MountTypeID, OrderIndex, MountCapabilityID FROM mount_type_x_capability ORDER BY ID DESC", CONNECTION_SYNCH);
327 PrepareStatement(
HOTFIX_SEL_NAME_GEN,
"SELECT ID, Name, Race, Sex FROM name_gen ORDER BY ID DESC", CONNECTION_SYNCH);
331 PrepareStatement(
HOTFIX_SEL_NAMES_PROFANITY,
"SELECT ID, Name, Language FROM names_profanity ORDER BY ID DESC", CONNECTION_SYNCH);
340 PrepareStatement(
HOTFIX_SEL_OVERRIDE_SPELL_DATA,
"SELECT ID, SpellID1, SpellID2, SpellID3, SpellID4, SpellID5, SpellID6, SpellID7, SpellID8, "
341 "SpellID9, SpellID10, Flags, PlayerActionbarFileDataID FROM override_spell_data ORDER BY ID DESC", CONNECTION_SYNCH);
347 PrepareStatement(
HOTFIX_SEL_PLAYER_CONDITION,
"SELECT ID, Flags, MinLevel, MaxLevel, RaceMask, ClassMask, Gender, NativeGender, SkillID1, "
348 "SkillID2, SkillID3, SkillID4, MinSkill1, MinSkill2, MinSkill3, MinSkill4, MaxSkill1, MaxSkill2, MaxSkill3, MaxSkill4, SkillLogic, "
349 "LanguageID, MinLanguage, MaxLanguage, MinFactionID1, MinFactionID2, MinFactionID3, MaxFactionID, MinReputation1, MinReputation2, "
350 "MinReputation3, MaxReputation, ReputationLogic, Unknown1, MinPVPRank, MaxPVPRank, PvpMedal, PrevQuestLogic, PrevQuestID1, PrevQuestID2, "
351 "PrevQuestID3, PrevQuestID4, CurrQuestLogic, CurrQuestID1, CurrQuestID2, CurrQuestID3, CurrQuestID4, CurrentCompletedQuestLogic, "
352 "CurrentCompletedQuestID1, CurrentCompletedQuestID2, CurrentCompletedQuestID3, CurrentCompletedQuestID4, SpellLogic, SpellID1, SpellID2, "
353 "SpellID3, SpellID4, ItemLogic, ItemID1, ItemID2, ItemID3, ItemID4, ItemCount1, ItemCount2, ItemCount3, ItemCount4, ItemFlags, Explored1, "
354 "Explored2, Time1, Time2, AuraSpellLogic, AuraSpellID1, AuraSpellID2, AuraSpellID3, AuraSpellID4, WorldStateExpressionID, WeatherID, "
355 "PartyStatus, LifetimeMaxPVPRank, AchievementLogic, Achievement1, Achievement2, Achievement3, Achievement4, LfgLogic, LfgStatus1, LfgStatus2, "
356 "LfgStatus3, LfgStatus4, LfgCompare1, LfgCompare2, LfgCompare3, LfgCompare4, LfgValue1, LfgValue2, LfgValue3, LfgValue4, AreaLogic, AreaID1, "
357 "AreaID2, AreaID3, AreaID4, CurrencyLogic, CurrencyID1, CurrencyID2, CurrencyID3, CurrencyID4, CurrencyCount1, CurrencyCount2, "
358 "CurrencyCount3, CurrencyCount4, QuestKillID, QuestKillLogic, QuestKillMonster1, QuestKillMonster2, QuestKillMonster3, QuestKillMonster4, "
359 "MinExpansionLevel, MaxExpansionLevel, MinExpansionTier, MaxExpansionTier, MinGuildLevel, MaxGuildLevel, PhaseUseFlags, PhaseID, "
360 "PhaseGroupID, MinAvgItemLevel, MaxAvgItemLevel, MinAvgEquippedItemLevel, MaxAvgEquippedItemLevel, ChrSpecializationIndex, "
361 "ChrSpecializationRole, FailureDescription, PowerType, PowerTypeComp, PowerTypeValue FROM player_condition ORDER BY ID DESC", CONNECTION_SYNCH);
365 PrepareStatement(
HOTFIX_SEL_QUEST_MONEY_REWARD,
"SELECT Level, Money1, Money2, Money3, Money4, Money5, Money6, Money7, Money8, Money9, Money10"
366 " FROM quest_money_reward ORDER BY Level DESC", CONNECTION_SYNCH);
369 PrepareStatement(
HOTFIX_SEL_QUEST_PACKAGE_ITEM,
"SELECT ID, QuestPackageID, ItemID, ItemCount, FilterType FROM quest_package_item ORDER BY ID DESC", CONNECTION_SYNCH);
372 PrepareStatement(
HOTFIX_SEL_QUEST_SORT,
"SELECT ID, SortName FROM quest_sort ORDER BY ID DESC", CONNECTION_SYNCH);
376 PrepareStatement(
HOTFIX_SEL_QUEST_V2,
"SELECT ID, UniqueBitFlag FROM quest_v2 ORDER BY ID DESC", CONNECTION_SYNCH);
379 PrepareStatement(
HOTFIX_SEL_QUEST_XP,
"SELECT ID, Exp1, Exp2, Exp3, Exp4, Exp5, Exp6, Exp7, Exp8, Exp9, Exp10 FROM quest_xp ORDER BY ID DESC", CONNECTION_SYNCH);
383 " ORDER BY ID DESC", CONNECTION_SYNCH);
386 PrepareStatement(
HOTFIX_SEL_SOUND_ENTRIES,
"SELECT ID, SoundType, Name, FileDataID1, FileDataID2, FileDataID3, FileDataID4, FileDataID5, "
387 "FileDataID6, FileDataID7, FileDataID8, FileDataID9, FileDataID10, FileDataID11, FileDataID12, FileDataID13, FileDataID14, FileDataID15, "
388 "FileDataID16, FileDataID17, FileDataID18, FileDataID19, FileDataID20, Freq1, Freq2, Freq3, Freq4, Freq5, Freq6, Freq7, Freq8, Freq9, Freq10, "
389 "Freq11, Freq12, Freq13, Freq14, Freq15, Freq16, Freq17, Freq18, Freq19, Freq20, VolumeFloat, Flags, MinDistance, DistanceCutoff, EAXDef, "
390 "SoundEntriesAdvancedID, VolumeVariationPlus, VolumeVariationMinus, PitchVariationPlus, PitchVariationMinus, PitchAdjust, DialogType, "
391 "BusOverwriteID FROM sound_entries ORDER BY ID DESC", CONNECTION_SYNCH);
396 " FROM specialization_spells ORDER BY ID DESC", CONNECTION_SYNCH);
401 "ExcludeTargetAuraState, CasterAuraSpell, TargetAuraSpell, ExcludeCasterAuraSpell, ExcludeTargetAuraSpell FROM spell_aura_restrictions"
402 " ORDER BY ID DESC", CONNECTION_SYNCH);
406 "RequiredAuraVision, RequiresSpellFocus FROM spell_casting_requirements ORDER BY ID DESC", CONNECTION_SYNCH);
409 PrepareStatement(
HOTFIX_SEL_SPELL_CAST_TIMES,
"SELECT ID, CastTime, CastTimePerLevel, MinCastTime FROM spell_cast_times ORDER BY ID DESC", CONNECTION_SYNCH);
412 PrepareStatement(
HOTFIX_SEL_SPELL_CLASS_OPTIONS,
"SELECT ID, ModalNextSpell, SpellClassMask1, SpellClassMask2, SpellClassMask3, SpellClassMask4, "
413 "SpellClassSet FROM spell_class_options ORDER BY ID DESC", CONNECTION_SYNCH);
416 PrepareStatement(
HOTFIX_SEL_SPELL_DURATION,
"SELECT ID, Duration1, Duration2, Duration3 FROM spell_duration ORDER BY ID DESC", CONNECTION_SYNCH);
420 "LTOperandType5, LTOperand1, LTOperand2, LTOperand3, LTOperand4, LTOperand5, Operator1, Operator2, Operator3, Operator4, Operator5, "
421 "RTOperandType1, RTOperandType2, RTOperandType3, RTOperandType4, RTOperandType5, RTOperand1, RTOperand2, RTOperand3, RTOperand4, RTOperand5, "
422 "Logic1, Logic2, Logic3, Logic4, Logic5 FROM spell_item_enchantment_condition ORDER BY ID DESC", CONNECTION_SYNCH);
425 PrepareStatement(
HOTFIX_SEL_SPELL_LEARN_SPELL,
"SELECT ID, LearnSpellID, SpellID, OverridesSpellID FROM spell_learn_spell ORDER BY ID DESC", CONNECTION_SYNCH);
428 PrepareStatement(
HOTFIX_SEL_SPELL_MISC,
"SELECT ID, Attributes, AttributesEx, AttributesExB, AttributesExC, AttributesExD, AttributesExE, "
429 "AttributesExF, AttributesExG, AttributesExH, AttributesExI, AttributesExJ, AttributesExK, AttributesExL, AttributesExM, CastingTimeIndex, "
430 "DurationIndex, RangeIndex, Speed, SpellIconID, ActiveIconID, SchoolMask, MultistrikeSpeedMod FROM spell_misc"
431 " ORDER BY ID DESC", CONNECTION_SYNCH);
434 PrepareStatement(
HOTFIX_SEL_SPELL_POWER,
"SELECT ID, SpellID, PowerIndex, PowerType, ManaCost, ManaCostPerLevel, ManaCostPerSecond, "
435 "ManaCostAdditional, PowerDisplayID, UnitPowerBarID, ManaCostPercentage, ManaCostPercentagePerSecond, RequiredAura, HealthCostPercentage"
436 " FROM spell_power ORDER BY ID DESC", CONNECTION_SYNCH);
440 " ORDER BY SpellPowerID DESC", CONNECTION_SYNCH);
443 PrepareStatement(
HOTFIX_SEL_SPELL_RADIUS,
"SELECT ID, Radius, RadiusPerLevel, RadiusMin, RadiusMax FROM spell_radius ORDER BY ID DESC", CONNECTION_SYNCH);
446 PrepareStatement(
HOTFIX_SEL_SPELL_RANGE,
"SELECT ID, MinRangeHostile, MinRangeFriend, MaxRangeHostile, MaxRangeFriend, Flags, DisplayName, "
447 "DisplayNameShort FROM spell_range ORDER BY ID DESC", CONNECTION_SYNCH);
451 PrepareStatement(
HOTFIX_SEL_SPELL_REAGENTS,
"SELECT ID, Reagent1, Reagent2, Reagent3, Reagent4, Reagent5, Reagent6, Reagent7, Reagent8, "
452 "ReagentCount1, ReagentCount2, ReagentCount3, ReagentCount4, ReagentCount5, ReagentCount6, ReagentCount7, ReagentCount8 "
453 " FROM spell_reagents ORDER BY ID DESC", CONNECTION_SYNCH);
457 " ORDER BY ID DESC", CONNECTION_SYNCH);
460 PrepareStatement(
HOTFIX_SEL_SPELL_TOTEMS,
"SELECT ID, RequiredTotemCategoryID1, RequiredTotemCategoryID2, Totem1, Totem2 FROM spell_totems"
461 " ORDER BY ID DESC", CONNECTION_SYNCH);
465 "Flags FROM spell_x_spell_visual ORDER BY ID DESC", CONNECTION_SYNCH);
468 PrepareStatement(
HOTFIX_SEL_TAXI_NODES,
"SELECT ID, MapID, PosX, PosY, PosZ, Name, MountCreatureID1, MountCreatureID2, ConditionID, "
469 "LearnableIndex, Flags, MapOffsetX, MapOffsetY FROM taxi_nodes ORDER BY ID DESC", CONNECTION_SYNCH);
473 PrepareStatement(
HOTFIX_SEL_TAXI_PATH,
"SELECT ID, `From`, `To`, Cost FROM taxi_path ORDER BY ID DESC", CONNECTION_SYNCH);
476 PrepareStatement(
HOTFIX_SEL_TAXI_PATH_NODE,
"SELECT ID, PathID, NodeIndex, MapID, LocX, LocY, LocZ, Flags, Delay, ArrivalEventID, "
477 "DepartureEventID FROM taxi_path_node ORDER BY ID DESC", CONNECTION_SYNCH);
480 PrepareStatement(
HOTFIX_SEL_TOTEM_CATEGORY,
"SELECT ID, Name, CategoryType, CategoryMask FROM totem_category ORDER BY ID DESC", CONNECTION_SYNCH);
484 PrepareStatement(
HOTFIX_SEL_TOY,
"SELECT ID, ItemID, Flags, Description, CategoryFilter FROM toy ORDER BY ID DESC", CONNECTION_SYNCH);
489 " ORDER BY ID DESC", CONNECTION_SYNCH);
492 PrepareStatement(
HOTFIX_SEL_TRANSPORT_ROTATION,
"SELECT ID, TransportID, TimeIndex, X, Y, Z, W FROM transport_rotation ORDER BY ID DESC", CONNECTION_SYNCH);
495 PrepareStatement(
HOTFIX_SEL_UNIT_POWER_BAR,
"SELECT ID, MinPower, MaxPower, StartPower, CenterPower, RegenerationPeace, RegenerationCombat, "
496 "BarType, FileDataID1, FileDataID2, FileDataID3, FileDataID4, FileDataID5, FileDataID6, Color1, Color2, Color3, Color4, Color5, Color6, "
497 "Flags, Name, Cost, OutOfError, ToolTip, StartInset, EndInset FROM unit_power_bar ORDER BY ID DESC", CONNECTION_SYNCH);
499 " WHERE locale = ?", CONNECTION_SYNCH);
503 "TextureHeight, OffsetX, OffsetY, HitRectTop, HitRectLeft, HitRectBottom, HitRectRight, PlayerConditionID FROM world_map_overlay"
504 " ORDER BY ID DESC", CONNECTION_SYNCH);
Definition: HotfixDatabase.h:55
Definition: HotfixDatabase.h:219
Definition: HotfixDatabase.h:193
Definition: HotfixDatabase.h:162
Definition: HotfixDatabase.h:61
Definition: HotfixDatabase.h:199
Definition: HotfixDatabase.h:131
Definition: HotfixDatabase.h:127
Definition: HotfixDatabase.h:159
Definition: HotfixDatabase.h:265
Definition: HotfixDatabase.h:155
Definition: HotfixDatabase.h:245
Definition: HotfixDatabase.h:47
Definition: HotfixDatabase.h:263
Definition: HotfixDatabase.h:271
Definition: HotfixDatabase.h:50
Definition: HotfixDatabase.h:111
Definition: HotfixDatabase.h:125
Definition: HotfixDatabase.h:213
Definition: HotfixDatabase.h:69
Definition: HotfixDatabase.h:129
Definition: HotfixDatabase.h:90
Definition: HotfixDatabase.h:183
Definition: HotfixDatabase.h:275
Definition: HotfixDatabase.h:67
Definition: HotfixDatabase.h:117
Definition: HotfixDatabase.h:256
Definition: HotfixDatabase.h:77
Definition: HotfixDatabase.h:239
Definition: HotfixDatabase.h:106
Definition: HotfixDatabase.h:108
Definition: HotfixDatabase.h:98
Definition: HotfixDatabase.h:254
Definition: HotfixDatabase.h:273
Definition: HotfixDatabase.h:176
Definition: HotfixDatabase.h:84
Definition: HotfixDatabase.h:45
Definition: HotfixDatabase.h:148
Definition: HotfixDatabase.h:144
Definition: HotfixDatabase.h:170
Definition: HotfixDatabase.h:72
Definition: HotfixDatabase.h:237
Definition: HotfixDatabase.h:75
Definition: HotfixDatabase.h:137
Definition: HotfixDatabase.h:157
Definition: HotfixDatabase.h:64
Definition: HotfixDatabase.h:252
#define PREPARE_LOCALE_STMT(stmtBase, sql, con)
Definition: HotfixDatabase.cpp:21
Definition: HotfixDatabase.h:57
Definition: HotfixDatabase.h:32
Definition: HotfixDatabase.h:281
Definition: HotfixDatabase.h:35
Definition: HotfixDatabase.h:150
Definition: HotfixDatabase.h:146
Definition: HotfixDatabase.h:59
Definition: HotfixDatabase.h:278
Definition: HotfixDatabase.h:225
Definition: HotfixDatabase.h:215
Definition: HotfixDatabase.h:113
Definition: HotfixDatabase.h:79
Definition: HotfixDatabase.h:190
Definition: HotfixDatabase.h:203
Definition: HotfixDatabase.h:40
Definition: HotfixDatabase.h:37
Definition: HotfixDatabase.h:268
Definition: HotfixDatabase.h:135
Definition: HotfixDatabase.h:174
Definition: HotfixDatabase.h:247
Definition: HotfixDatabase.h:201
Definition: HotfixDatabase.h:261
Definition: HotfixDatabase.h:95
Definition: HotfixDatabase.h:165
Definition: HotfixDatabase.h:227
Definition: HotfixDatabase.h:186
Definition: HotfixDatabase.h:87
Definition: HotfixDatabase.h:139
Definition: HotfixDatabase.h:93
Definition: HotfixDatabase.h:168
Definition: HotfixDatabase.h:122
Definition: HotfixDatabase.h:52
Definition: HotfixDatabase.h:235
Definition: HotfixDatabase.h:103
Definition: HotfixDatabase.h:210
Definition: HotfixDatabase.h:243
Definition: HotfixDatabase.h:101
Definition: HotfixDatabase.h:233
Definition: HotfixDatabase.h:172
Definition: HotfixDatabase.h:178
Definition: HotfixDatabase.h:188
Definition: HotfixDatabase.h:81
Definition: HotfixDatabase.h:258
Definition: HotfixDatabase.h:208
Definition: HotfixDatabase.h:181
Definition: HotfixDatabase.h:152
Definition: HotfixDatabase.h:133
Definition: HotfixDatabase.h:197
Definition: HotfixDatabase.h:142
Definition: HotfixDatabase.h:222
Definition: HotfixDatabase.h:229
Definition: HotfixDatabase.h:217
Definition: HotfixDatabase.h:231
Definition: HotfixDatabase.h:115
Definition: HotfixDatabase.h:250
Definition: HotfixDatabase.h:206
Definition: HotfixDatabase.h:195
Definition: HotfixDatabase.h:119
Definition: HotfixDatabase.h:241
Definition: HotfixDatabase.h:43