![]() |
TrinityCore
|
Classes | |
| struct | QuestLineStats |
Functions | |
| void | Load () |
| TC_GAME_API std::span< QuestLineXQuestEntry const *const > | GetQuestsForQuestLine (uint32 questLineId) |
| TC_GAME_API bool | IsQuestLineQuestAvailableForPlayer (uint32 questLineId, Player const *player) |
| TC_GAME_API bool | IsQuestLineQuestActiveForPlayer (uint32 questLineId, Player const *player) |
| TC_GAME_API bool | IsQuestLineCompletedByPlayer (uint32 questLineId, Player const *player) |
| TC_GAME_API QuestLineStats | GetQuestLineStatsForPlayer (uint32 questLineId, Player const *player) |
| TC_GAME_API void | SkipQuestLineForPlayer (uint32 questLineId, Player *player) |
| TC_GAME_API bool | IsCampaignCompletedByPlayer (uint32 campaignId, Player const *player) |
| TC_GAME_API bool | IsCampaignQuestStatusVisibleForPlayer (uint32 questId, Player const *player) |
| TC_GAME_API void | SkipCampaignForPlayer (uint32 campaignId, Player *player) |
| QuestMgr::QuestLineStats QuestMgr::GetQuestLineStatsForPlayer | ( | uint32 | questLineId, |
| Player const * | player | ||
| ) |
Definition at line 133 of file QuestMgr.cpp.
References QuestMgr::QuestLineStats::Completed, GetQuestsForQuestLine(), IgnoreForCompletion, Player::IsQuestCompletedBitSet(), and QuestMgr::QuestLineStats::Total.
Referenced by CriteriaHandler::ModifierSatisfied().
| std::span< QuestLineXQuestEntry const *const > QuestMgr::GetQuestsForQuestLine | ( | uint32 | questLineId | ) |
Definition at line 91 of file QuestMgr.cpp.
Referenced by GetQuestLineStatsForPlayer(), WorldSession::HandleUiMapQuestLinesRequest(), IsQuestLineCompletedByPlayer(), IsQuestLineQuestActiveForPlayer(), IsQuestLineQuestAvailableForPlayer(), ObjectMgr::LoadUiMapQuestLines(), SkipCampaignForPlayer(), and SkipQuestLineForPlayer().
Definition at line 156 of file QuestMgr.cpp.
References IsQuestLineCompletedByPlayer().
Referenced by CriteriaHandler::ModifierSatisfied().
Definition at line 170 of file QuestMgr.cpp.
References DontUseJourneyQuestBang, and ConditionMgr::IsPlayerMeetingCondition().
Referenced by Player::GetQuestDialogStatus().
Definition at line 119 of file QuestMgr.cpp.
References GetQuestsForQuestLine(), IgnoreForCompletion, and Player::IsQuestCompletedBitSet().
Referenced by IsCampaignCompletedByPlayer(), and CriteriaHandler::ModifierSatisfied().
Definition at line 110 of file QuestMgr.cpp.
References GetQuestsForQuestLine(), and Player::IsActiveQuest().
Referenced by CriteriaHandler::ModifierSatisfied().
Definition at line 100 of file QuestMgr.cpp.
References Player::CanTakeQuest(), GetQuestsForQuestLine(), and sObjectMgr.
Referenced by CriteriaHandler::ModifierSatisfied().
| void QuestMgr::Load | ( | ) |
Definition at line 65 of file QuestMgr.cpp.
References Trinity::Containers::MapGetValuePtr(), QuestLineXQuestEntry::OrderIndex, sCampaignStore, sCampaignXQuestLineStore, and sQuestLineXQuestStore.
Referenced by World::SetInitialWorldSettings().
Definition at line 205 of file QuestMgr.cpp.
References GetQuestsForQuestLine(), QuestLineXQuestEntry::QuestID, and Player::SkipQuests().
Referenced by Spell::EffectSkipCampaign().
Definition at line 148 of file QuestMgr.cpp.
References GetQuestsForQuestLine(), QuestLineXQuestEntry::QuestID, and Player::SkipQuests().
Referenced by Spell::EffectSkipQuestLine().