TrinityCore
Loading...
Searching...
No Matches
QuestMgr Namespace Reference

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)
 

Function Documentation

◆ GetQuestLineStatsForPlayer()

QuestMgr::QuestLineStats QuestMgr::GetQuestLineStatsForPlayer ( uint32  questLineId,
Player const *  player 
)

Definition at line 133 of file QuestMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetQuestsForQuestLine()

std::span< QuestLineXQuestEntry const *const > QuestMgr::GetQuestsForQuestLine ( uint32  questLineId)

Definition at line 91 of file QuestMgr.cpp.

+ Here is the caller graph for this function:

◆ IsCampaignCompletedByPlayer()

bool QuestMgr::IsCampaignCompletedByPlayer ( uint32  campaignId,
Player const *  player 
)

Definition at line 156 of file QuestMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsCampaignQuestStatusVisibleForPlayer()

bool QuestMgr::IsCampaignQuestStatusVisibleForPlayer ( uint32  questId,
Player const *  player 
)

Definition at line 170 of file QuestMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsQuestLineCompletedByPlayer()

bool QuestMgr::IsQuestLineCompletedByPlayer ( uint32  questLineId,
Player const *  player 
)

Definition at line 119 of file QuestMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsQuestLineQuestActiveForPlayer()

bool QuestMgr::IsQuestLineQuestActiveForPlayer ( uint32  questLineId,
Player const *  player 
)

Definition at line 110 of file QuestMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsQuestLineQuestAvailableForPlayer()

bool QuestMgr::IsQuestLineQuestAvailableForPlayer ( uint32  questLineId,
Player const *  player 
)

Definition at line 100 of file QuestMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Load()

void QuestMgr::Load ( )

Definition at line 65 of file QuestMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SkipCampaignForPlayer()

void QuestMgr::SkipCampaignForPlayer ( uint32  campaignId,
Player player 
)

Definition at line 205 of file QuestMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SkipQuestLineForPlayer()

void QuestMgr::SkipQuestLineForPlayer ( uint32  questLineId,
Player player 
)

Definition at line 148 of file QuestMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: