3659 "ID, QuestType, QuestLevel, QuestPackageID, MinLevel, QuestSortID, QuestInfoID, SuggestedGroupNum, RewardNextQuest, RewardXPDifficulty, RewardXPMultiplier, "
3661 "RewardMoney, RewardMoneyDifficulty, RewardMoneyMultiplier, RewardBonusMoney, RewardDisplaySpell, RewardSpell, RewardHonor, RewardKillHonor, StartItem, Flags, FlagsEx, "
3663 "RewardItem1, RewardAmount1, ItemDrop1, ItemDropQuantity1, RewardItem2, RewardAmount2, ItemDrop2, ItemDropQuantity2, "
3665 "RewardItem3, RewardAmount3, ItemDrop3, ItemDropQuantity3, RewardItem4, RewardAmount4, ItemDrop4, ItemDropQuantity4, "
3667 "RewardChoiceItemID1, RewardChoiceItemQuantity1, RewardChoiceItemDisplayID1, RewardChoiceItemID2, RewardChoiceItemQuantity2, RewardChoiceItemDisplayID2, "
3669 "RewardChoiceItemID3, RewardChoiceItemQuantity3, RewardChoiceItemDisplayID3, RewardChoiceItemID4, RewardChoiceItemQuantity4, RewardChoiceItemDisplayID4, "
3671 "RewardChoiceItemID5, RewardChoiceItemQuantity5, RewardChoiceItemDisplayID5, RewardChoiceItemID6, RewardChoiceItemQuantity6, RewardChoiceItemDisplayID6, "
3673 "POIContinent, POIx, POIy, POIPriority, RewardTitle, RewardTalents, RewardArenaPoints, RewardSkillLineID, RewardNumSkillUps, PortraitGiver, PortraitTurnIn, "
3675 "RewardFactionID1, RewardFactionValue1, RewardFactionOverride1, RewardFactionID2, RewardFactionValue2, RewardFactionOverride2, "
3677 "RewardFactionID3, RewardFactionValue3, RewardFactionOverride3, RewardFactionID4, RewardFactionValue4, RewardFactionOverride4, "
3679 "RewardFactionID5, RewardFactionValue5, RewardFactionOverride5, RewardFactionFlags, "
3681 "RewardCurrencyID1, RewardCurrencyQty1, RewardCurrencyID2, RewardCurrencyQty2, RewardCurrencyID3, RewardCurrencyQty3, RewardCurrencyID4, RewardCurrencyQty4, "
3683 "AcceptedSoundKitID, CompleteSoundKitID, AreaGroupID, TimeAllowed, AllowableRaces, "
3685 "LogTitle, LogDescription, QuestDescription, AreaDescription, PortraitGiverText, PortraitGiverName, PortraitTurnInText, PortraitTurnInName, QuestCompletionLog"
3686 " FROM quest_template");
3689 TC_LOG_ERROR(
"server.loading",
">> Loaded 0 quests definitions. DB table `quest_template` is empty.");
3698 Field* fields = result->Fetch();
3702 }
while (result->NextRow());
3706 result =
WorldDatabase.
Query(
"SELECT ID, Emote1, Emote2, Emote3, Emote4, EmoteDelay1, EmoteDelay2, EmoteDelay3, EmoteDelay4 FROM quest_details");
3710 TC_LOG_ERROR(
"server.loading",
">> Loaded 0 quest details. DB table `quest_details` is empty.");
3716 Field* fields = result->Fetch();
3721 itr->second->LoadQuestDetails(fields);
3723 TC_LOG_ERROR(
"server.loading",
"Table `quest_details` has data for quest %u but such quest does not exist", questId);
3724 }
while (result->NextRow());
3729 result =
WorldDatabase.
Query(
"SELECT ID, EmoteOnComplete, EmoteOnIncomplete, EmoteOnCompleteDelay, EmoteOnIncompleteDelay, CompletionText FROM quest_request_items");
3733 TC_LOG_ERROR(
"server.loading",
">> Loaded 0 quest request items. DB table `quest_request_items` is empty.");
3739 Field* fields = result->Fetch();
3744 itr->second->LoadQuestRequestItems(fields);
3746 TC_LOG_ERROR(
"server.loading",
"Table `quest_request_items` has data for quest %u but such quest does not exist", questId);
3747 }
while (result->NextRow());
3752 result =
WorldDatabase.
Query(
"SELECT ID, Emote1, Emote2, Emote3, Emote4, EmoteDelay1, EmoteDelay2, EmoteDelay3, EmoteDelay4, RewardText FROM quest_offer_reward");
3756 TC_LOG_ERROR(
"server.loading",
">> Loaded 0 quest reward emotes. DB table `quest_offer_reward` is empty.");
3762 Field* fields = result->Fetch();
3767 itr->second->LoadQuestOfferReward(fields);
3769 TC_LOG_ERROR(
"server.loading",
"Table `quest_offer_reward` has data for quest %u but such quest does not exist", questId);
3770 }
while (result->NextRow());
3775 result =
WorldDatabase.
Query(
"SELECT ID, MaxLevel, AllowableClasses, SourceSpellID, PrevQuestID, NextQuestID, ExclusiveGroup, RewardMailTemplateID, RewardMailDelay, "
3777 "RequiredSkillID, RequiredSkillPoints, RequiredMinRepFaction, RequiredMaxRepFaction, RequiredMinRepValue, RequiredMaxRepValue, ProvidedItemCount, SpecialFlags FROM quest_template_addon");
3781 TC_LOG_ERROR(
"server.loading",
">> Loaded 0 quest template addons. DB table `quest_template_addon` is empty.");
3787 Field* fields = result->Fetch();
3792 itr->second->LoadQuestTemplateAddon(fields);
3794 TC_LOG_ERROR(
"server.loading",
"Table `quest_template_addon` has data for quest %u but such quest does not exist", questId);
3795 }
while (result->NextRow());
3800 result =
WorldDatabase.
Query(
"SELECT ID, QuestID, Type, StorageIndex, ObjectID, Amount, Flags, UnkFloat, Description FROM quest_objectives ORDER BY StorageIndex DESC");
3804 TC_LOG_ERROR(
"server.loading",
">> Loaded 0 quest objectives. DB table `quest_objectives` is empty.");
3810 Field* fields = result->Fetch();
3815 itr->second->LoadQuestObjective(fields);
3817 TC_LOG_ERROR(
"server.loading",
"Table `quest_objectives` has objective for quest %u but such quest does not exist", questId);
3818 }
while (result->NextRow());
3823 result =
WorldDatabase.
Query(
"SELECT v.ID, o.ID, o.QuestID, v.Index, v.VisualEffect FROM quest_visual_effect AS v LEFT JOIN quest_objectives AS o ON v.ID = o.ID ORDER BY v.Index DESC");
3827 TC_LOG_ERROR(
"server.loading",
">> Loaded 0 quest visual effects. DB table `quest_visual_effect` is empty.");
3833 Field* fields = result->Fetch();
3839 TC_LOG_ERROR(
"server.loading",
"Table `quest_visual_effect` has visual effect for null objective id");
3846 TC_LOG_ERROR(
"server.loading",
"Table `quest_visual_effect` has visual effect for objective %u but such objective does not exist.", vID);
3855 itr->second->LoadQuestObjectiveVisualEffect(fields);
3856 }
while (result->NextRow());
3859 std::map<uint32, uint32> usedMailTemplates;
3868 Quest* qinfo = iter->second;
3877 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `SpecialFlags` = %u > max allowed value. Correct `SpecialFlags` to value <= %u",
3884 TC_LOG_ERROR(
"sql.sql",
"Weekly Quest %u is marked as daily quest in `Flags`, removed daily flag.", qinfo->
GetQuestId());
3892 TC_LOG_DEBUG(
"sql.sql",
"Daily Quest %u not marked as repeatable in `SpecialFlags`, added.", qinfo->
GetQuestId());
3901 TC_LOG_DEBUG(
"sql.sql",
"Weekly Quest %u not marked as repeatable in `SpecialFlags`, added.", qinfo->
GetQuestId());
3910 TC_LOG_DEBUG(
"sql.sql",
"Monthly quest %u not marked as repeatable in `SpecialFlags`, added.", qinfo->
GetQuestId());
3922 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RewardChoiceItemId%d` = %u but item from `RewardChoiceItemId%d` can't be rewarded with quest flag QUEST_FLAGS_TRACKING.",
3940 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `QuestSortID` = %u (zone case) but zone with this id does not exist.",
3951 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `QuestSortID` = %i (sort case) but quest sort with this id does not exist.",
3960 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `QuestSortID` = %i but `RequiredSkillId` does not have a corresponding value (%d).",
3990 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RequiredSkillId` = %u but this skill does not exist",
3999 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RequiredSkillPoints` = %u but max possible skill is %u, quest can't be done.",
4008 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RequiredMinRepFaction` = %u but faction template %u does not exist, quest can't be done.",
4015 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RequiredMaxRepFaction` = %u but faction template %u does not exist, quest can't be done.",
4022 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RequiredMinRepValue` = %d but max reputation is %u, quest can't be done.",
4029 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RequiredMaxRepValue` = %d and `RequiredMinRepValue` = %d, quest can't be done.",
4036 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RequiredMinRepValue` = %d but `RequiredMinRepFaction` is 0, value has no effect",
4043 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RequiredMaxRepValue` = %d but `RequiredMaxRepFaction` is 0, value has no effect",
4050 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RewardTitleId` = %u but CharTitle Id %u does not exist, quest can't be rewarded with title.",
4060 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `SourceItemId` = %u but item with entry %u does not exist, quest can't be done.",
4066 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `StartItem` = %u but `ProvidedItemCount` = 0, set to 1 but need fix in DB.",
4073 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `SourceItemId` = 0 but `SourceItemIdCount` = %u, useless value.",
4083 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `SourceSpellid` = %u but spell %u doesn't exist, quest can't be done.",
4089 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `SourceSpellid` = %u but spell %u is broken, quest can't be done.",
4098 if (obj.StorageIndex < 0)
4110 TC_LOG_ERROR(
"sql.sql",
"Quest %u objective %u has invalid StorageIndex = %d for objective type %u", qinfo->
GetQuestId(), obj.ID, obj.StorageIndex, obj.Type);
4121 if (!
sObjectMgr->GetItemTemplate(obj.ObjectID))
4122 TC_LOG_ERROR(
"sql.sql",
"Quest %u objective %u has non existing item entry %u, quest can't be done.",
4127 if (!
sObjectMgr->GetCreatureTemplate(obj.ObjectID))
4128 TC_LOG_ERROR(
"sql.sql",
"Quest %u objective %u has non existing creature entry %u, quest can't be done.",
4133 if (!
sObjectMgr->GetGameObjectTemplate(obj.ObjectID))
4134 TC_LOG_ERROR(
"sql.sql",
"Quest %u objective %u has non existing gameobject entry %u, quest can't be done.",
4144 TC_LOG_ERROR(
"sql.sql",
"Quest %u objective %u has non existing faction id %d", qinfo->
GetQuestId(), obj.ID, obj.ObjectID);
4148 if (obj.Amount <= 0)
4149 TC_LOG_ERROR(
"sql.sql",
"Quest %u objective %u has invalid player kills count %d", qinfo->
GetQuestId(), obj.ID, obj.Amount);
4155 TC_LOG_ERROR(
"sql.sql",
"Quest %u objective %u has non existing currency %d", qinfo->
GetQuestId(), obj.ID, obj.ObjectID);
4156 if (obj.Amount <= 0)
4157 TC_LOG_ERROR(
"sql.sql",
"Quest %u objective %u has invalid currency amount %d", qinfo->
GetQuestId(), obj.ID, obj.Amount);
4160 if (!
sSpellMgr->GetSpellInfo(obj.ObjectID))
4161 TC_LOG_ERROR(
"sql.sql",
"Quest %u objective %u has non existing spell id %d", qinfo->
GetQuestId(), obj.ID, obj.ObjectID);
4164 if (obj.ObjectID && !
sObjectMgr->GetCreatureTemplate(obj.ObjectID))
4165 TC_LOG_ERROR(
"sql.sql",
"Quest %u objective %u has non existing creature entry %u, quest can't be done.",
4170 TC_LOG_ERROR(
"sql.sql",
"Quest %u objective %u has non existing battlepet species id %d", qinfo->
GetQuestId(), obj.ID, obj.ObjectID);
4174 TC_LOG_ERROR(
"sql.sql",
"Quest %u objective %u has non existing criteria tree id %d", qinfo->
GetQuestId(), obj.ID, obj.ObjectID);
4179 else if (obj.ObjectID != -1)
4180 TC_LOG_ERROR(
"sql.sql",
"Quest %u objective %u has non existing areatrigger id %d", qinfo->
GetQuestId(), obj.ID, obj.ObjectID);
4186 TC_LOG_ERROR(
"sql.sql",
"Quest %u objective %u has unhandled type %u", qinfo->
GetQuestId(), obj.ID, obj.Type);
4198 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `ItemDrop%d` = %u but item with entry %u does not exist, quest can't be done.",
4207 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `ItemDrop%d` = 0 but `ItemDropQuantity%d` = %u.",
4221 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RewardChoiceItemId%d` = %u but item with entry %u does not exist, quest will not reward this item.",
4228 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RewardChoiceItemId%d` = %u but `RewardChoiceItemCount%d` = 0, quest can't be done.",
4235 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RewardChoiceItemId%d` = 0 but `RewardChoiceItemCount%d` = %u.",
4248 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RewardItemId%d` = %u but item with entry %u does not exist, quest will not reward this item.",
4255 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RewardItemId%d` = %u but `RewardItemCount%d` = 0, quest will not reward this item.",
4262 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RewardItemId%d` = 0 but `RewardItemCount%d` = %u.",
4285 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RewardFactionId%d` = 0 but `RewardFactionValueIdOverride%d` = %i.",
4297 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RewardSpell` = %u but spell %u does not exist, spell removed as display reward.",
4304 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RewardSpell` = %u but spell %u is broken, quest will not have a spell reward.",
4316 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RewardSpellCast` = %u but spell %u does not exist, quest will not have a spell reward.",
4323 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RewardSpellCast` = %u but spell %u is broken, quest will not have a spell reward.",
4333 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RewardMailTemplateId` = %u but mail template %u does not exist, quest will not have a mail reward.",
4340 std::map<uint32, uint32>::const_iterator used_mt_itr = usedMailTemplates.find(qinfo->
RewardMailTemplateId);
4341 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RewardMailTemplateId` = %u but mail template %u already used for quest %u, quest will not have a mail reward.",
4355 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `NextQuestInChain` = %u but quest %u does not exist, quest chain will not work.",
4360 qNextItr->second->prevChainQuests.push_back(qinfo->
GetQuestId());
4369 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RewardCurrencyId%d` = %u but `RewardCurrencyCount%d` = 0, quest can't be done.",
4376 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RewardCurrencyId%d` = %u but currency with entry %u does not exist, quest can't be done.",
4383 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RewardCurrencyId%d` = 0 but `RewardCurrencyCount%d` = %u, quest can't be done.",
4393 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `SoundAccept` = %u but sound %u does not exist, set to 0.",
4403 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `SoundTurnIn` = %u but sound %u does not exist, set to 0.",
4413 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RewardSkillId` = %u but this skill does not exist",
4418 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RewardSkillId` = %u but `RewardSkillPoints` is 0",
4427 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RewardSkillPoints` = %u but max possible skill is %u, quest can't be done.",
4433 TC_LOG_ERROR(
"sql.sql",
"Quest %u has `RewardSkillPoints` = %u but `RewardSkillId` is 0",
4455 qNextItr->second->prevQuests.push_back(signedQuestId);
4477 uint32 quest_id = effect->MiscValue;
4487 TC_LOG_ERROR(
"sql.sql",
"Spell (id: %u) have SPELL_EFFECT_QUEST_COMPLETE for quest %u, but quest not have flag QUEST_SPECIAL_FLAGS_EXPLORATION_OR_EVENT. Quest flags must be fixed, quest modified to enable objective.", spellInfo->
Id, quest_id);
uint32 RewardItemId[QUEST_REWARD_ITEM_COUNT]
Definition: QuestDef.h:425
G3D::Matrix abs(const G3D::Matrix &M)
Definition: Matrix.h:632
Definition: DBCEnums.h:404
Definition: QuestDef.h:226
uint32 RewardSkillId
Definition: QuestDef.h:439
uint32 ID
Definition: QuestDef.h:403
uint32 SpecialFlags
Definition: QuestDef.h:499
uint32 Id
Definition: SpellInfo.h:329
Definition: QuestDef.h:211
bool IsDisabledFor(DisableType type, uint32 entry, Unit const *unit, uint8 flags)
Definition: DisableMgr.cpp:277
uint32 SourceItemIdCount
Definition: QuestDef.h:498
Definition: QuestDef.h:231
DBCStorage< SkillLineEntry > sSkillLineStore(SkillLinefmt)
Definition: QuestDef.h:201
Definition: QuestDef.h:221
Definition: SharedDefines.h:1026
uint32 RequiredSkillId
Definition: QuestDef.h:492
Definition: QuestDef.h:279
Definition: QuestDef.h:214
Quest const * GetQuestTemplate(uint32 quest_id) const
Definition: ObjectMgr.h:815
Definition: QuestDef.h:209
Definition: SpellInfo.h:326
DB2Storage< CurrencyTypesEntry > sCurrencyTypesStore("CurrencyTypes.db2", CurrencyTypesFormat, HOTFIX_SEL_CURRENCY_TYPES)
Definition: QuestDef.h:202
uint32 RewardSpell
Definition: QuestDef.h:419
uint32 SkillByQuestSort(int32 QuestSort)
Definition: SharedDefines.h:4122
DBCStorage< AreaTriggerEntry > sAreaTriggerStore(AreaTriggerfmt)
Definition: QuestDef.h:261
QuestMap _questTemplates
Definition: ObjectMgr.h:1426
Class used to access individual fields of database query result.
Definition: Field.h:56
uint32 RequiredMaxRepFaction
Definition: QuestDef.h:496
uint32 SoundTurnIn
Definition: QuestDef.h:450
QuestObjectives const & GetObjectives() const
Definition: QuestDef.h:345
Definition: QuestDef.h:154
uint32 RewardFactionId[QUEST_REWARD_REPUTATIONS_COUNT]
Definition: QuestDef.h:443
uint32 ItemDropQuantity[QUEST_ITEM_DROP_COUNT]
Definition: QuestDef.h:428
Definition: QuestDef.h:233
static const int32 Reputation_Cap
Definition: ReputationMgr.h:75
uint32 getMSTime()
Definition: Timer.h:24
DB2Storage< QuestSortEntry > sQuestSortStore("QuestSort.db2", QuestSortFormat, HOTFIX_SEL_QUEST_SORT)
int32 PrevQuestID
Definition: QuestDef.h:487
DB2Storage< BattlePetSpeciesEntry > sBattlePetSpeciesStore("BattlePetSpecies.db2", BattlePetSpeciesFormat, HOTFIX_SEL_BATTLE_PET_SPECIES)
Definition: QuestDef.h:213
arena_t NULL
Definition: jemalloc_internal.h:624
WorldDatabaseWorkerPool WorldDatabase
Accessor to the world database.
Definition: DatabaseEnv.cpp:20
Definition: QuestDef.h:224
Definition: QuestDef.h:212
int32 AllowableRaces
Definition: QuestDef.h:453
#define TC_LOG_DEBUG(filterType__,...)
Definition: Log.h:198
#define sWorld
Definition: World.h:887
Definition: QuestDef.h:225
uint32 RewardCurrencyCount[QUEST_REWARD_CURRENCY_COUNT]
Definition: QuestDef.h:448
#define sObjectMgr
Definition: ObjectMgr.h:1567
DBCStorage< CharTitlesEntry > sCharTitlesStore(CharTitlesfmt)
DB2Storage< MailTemplateEntry > sMailTemplateStore("MailTemplate.db2", MailTemplateFormat, HOTFIX_SEL_MAIL_TEMPLATE)
DBCStorage< AreaTableEntry > sAreaTableStore(AreaTablefmt)
uint32 RewardTitleId
Definition: QuestDef.h:436
uint32 RewardCurrencyId[QUEST_REWARD_CURRENCY_COUNT]
Definition: QuestDef.h:447
#define QUEST_REWARD_CURRENCY_COUNT
Definition: QuestDef.h:51
Definition: QuestDef.h:228
uint32 RewardChoiceItemId[QUEST_REWARD_CHOICES_COUNT]
Definition: QuestDef.h:429
uint32 RequiredMinRepFaction
Definition: QuestDef.h:494
Definition: QuestDef.h:152
uint32 ItemDrop[QUEST_ITEM_DROP_COUNT]
Definition: QuestDef.h:427
uint32 RewardDisplaySpell
Definition: QuestDef.h:418
Definition: QuestDef.h:230
Definition: QuestDef.h:220
int32 QuestSortID
Definition: QuestDef.h:408
uint32 GetQuestId() const
Definition: QuestDef.h:304
uint32 SourceSpellID
Definition: QuestDef.h:486
int32 RequiredMinRepValue
Definition: QuestDef.h:495
uint32 RewardMailTemplateId
Definition: QuestDef.h:490
bool HasSpecialFlag(uint32 flag) const
Definition: QuestDef.h:300
#define sSpellMgr
Definition: SpellMgr.h:756
Definition: SpellInfo.h:238
int32_t int32
Definition: Define.h:146
#define CLASSMASK_ALL_PLAYABLE
Definition: SharedDefines.h:183
uint32_t uint32
Definition: Define.h:150
DB2Storage< CriteriaTreeEntry > sCriteriaTreeStore("CriteriaTree.db2", CriteriaTreeFormat, HOTFIX_SEL_CRITERIA_TREE)
int32 RewardFactionValue[QUEST_REWARD_REPUTATIONS_COUNT]
Definition: QuestDef.h:444
static bool IsSpellValid(SpellInfo const *spellInfo, Player *player=NULL, bool msg=true)
Some checks for spells, to prevent adding deprecated/broken spells for trainers, spell book...
Definition: SpellMgr.cpp:482
std::shared_ptr< ResultSet > QueryResult
Definition: QueryResult.h:61
uint32 GetQuestType() const
Definition: QuestDef.h:305
int32 ExclusiveGroup
Definition: QuestDef.h:489
Definition: QuestDef.h:227
Definition: QuestDef.h:157
Definition: SharedDefines.h:3775
uint32 AllowableClasses
Definition: QuestDef.h:485
Definition: DBCEnums.h:46
Definition: DisableMgr.h:30
Definition: QuestDef.h:229
void SetSpecialFlag(uint32 flag)
Definition: QuestDef.h:301
uint32 GetMSTimeDiffToNow(uint32 oldMSTime)
Definition: Timer.h:42
uint32 LimitTime
Definition: QuestDef.h:452
QueryResult Query(const char *sql, T *connection=nullptr)
Definition: DatabaseWorkerPool.cpp:113
Definition: DB2Structure.h:1088
#define QUEST_REWARD_CHOICES_COUNT
Definition: QuestDef.h:46
Definition: QuestDef.h:223
uint32 RewardSkillPoints
Definition: QuestDef.h:440
int32 GetNextQuestId() const
Definition: QuestDef.h:323
#define RACEMASK_ALL_PLAYABLE
Definition: SharedDefines.h:133
uint32 GetUInt32() const
Definition: Field.h:146
int32_t int32
Definition: g3dmath.h:167
SpellEffectInfoVector GetEffectsForDifficulty(uint32 difficulty) const
Definition: SpellInfo.cpp:3311
Definition: QuestDef.h:234
uint32 SourceItemId
Definition: QuestDef.h:422
ExclusiveQuestGroups mExclusiveQuestGroups
Definition: ObjectMgr.h:1109
int32 RequiredMaxRepValue
Definition: QuestDef.h:497
Definition: QuestDef.h:232
uint8_t uint8
Definition: Define.h:152
int32 NextQuestID
Definition: QuestDef.h:488
Definition: QuestDef.h:215
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201
int32 RewardFactionOverride[QUEST_REWARD_REPUTATIONS_COUNT]
Definition: QuestDef.h:445
DBCStorage< FactionEntry > sFactionStore(Factionfmt)
#define TC_LOG_ERROR(filterType__,...)
Definition: Log.h:207
#define QUEST_REWARD_ITEM_COUNT
Definition: QuestDef.h:47
QuestAreaTriggerContainer _questAreaTriggerStore
Definition: ObjectMgr.h:1433
uint32_t uint32
Definition: g3dmath.h:168
uint32 RewardMailDelay
Definition: QuestDef.h:491
Definition: QuestDef.h:222
int32 MinLevel
Definition: QuestDef.h:407
uint32 NextQuestInChain
Definition: QuestDef.h:411
#define QUEST_ITEM_DROP_COUNT
Definition: QuestDef.h:45
Definition: QuestDef.h:236
PrevQuests prevQuests
Definition: QuestDef.h:392
uint32 RequiredSkillPoints
Definition: QuestDef.h:493
int32 GetPrevQuestId() const
Definition: QuestDef.h:322
Definition: QuestDef.h:235
uint32 RewardChoiceItemCount[QUEST_REWARD_CHOICES_COUNT]
Definition: QuestDef.h:430
uint32 SoundAccept
Definition: QuestDef.h:449
Definition: QuestDef.h:206
DB2Storage< SoundEntriesEntry > sSoundEntriesStore("SoundEntries.db2", SoundEntriesFormat, HOTFIX_SEL_SOUND_ENTRIES)
#define QUEST_REWARD_REPUTATIONS_COUNT
Definition: QuestDef.h:49
uint32 RewardItemCount[QUEST_REWARD_ITEM_COUNT]
Definition: QuestDef.h:426
Definition: QuestDef.h:205
uint32 Flags
Definition: QuestDef.h:423