AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
QuestVisitor Struct Reference

Public Types

using value_type = Quest const *
 

Public Member Functions

value_type operator() (Hyperlink< quest > quest_template) const
 
value_type operator() (uint32 questId) const
 

Detailed Description

Member Typedef Documentation

◆ value_type

Member Function Documentation

◆ operator()() [1/2]

value_type QuestVisitor::operator() ( Hyperlink< quest >  quest_template) const
inline
122{ return quest_template->Quest; };

◆ operator()() [2/2]

value_type QuestVisitor::operator() ( uint32  questId) const
inline
123{ return sObjectMgr->GetQuestTemplate(questId); };
#define sObjectMgr
Definition: ObjectMgr.h:1623

References sObjectMgr.