AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
achievement_pb_pilgrims_peril Class Reference
Inheritance diagram for achievement_pb_pilgrims_peril:
AchievementCriteriaScript ScriptObject

Public Member Functions

 achievement_pb_pilgrims_peril ()
 
bool OnCheck (Player *source, Unit *, uint32) override
 
- Public Member Functions inherited from AchievementCriteriaScript
bool IsDatabaseBound () const override
 
virtual bool OnCheck (Player *, Unit *, uint32)
 
- Public Member Functions inherited from ScriptObject
virtual bool IsDatabaseBound () const
 
virtual bool isAfterLoadScript () const
 
virtual void checkValidity ()
 
const std::string & GetName () const
 
uint16 GetTotalAvailableHooks ()
 

Additional Inherited Members

- Protected Member Functions inherited from AchievementCriteriaScript
 AchievementCriteriaScript (const char *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (const char *name, uint16 totalAvailableHooks=0)
 
virtual ~ScriptObject ()=default
 

Detailed Description

Constructor & Destructor Documentation

◆ achievement_pb_pilgrims_peril()

achievement_pb_pilgrims_peril::achievement_pb_pilgrims_peril ( )
inline
652: AchievementCriteriaScript("achievement_pb_pilgrims_peril") { }
Definition: AchievementCriteriaScript.h:24

Member Function Documentation

◆ OnCheck()

bool achievement_pb_pilgrims_peril::OnCheck ( Player source,
Unit ,
uint32   
)
inlineoverridevirtual

Reimplemented from AchievementCriteriaScript.

655 {
657 return true;
658
659 return false;
660 }
@ ITEM_PILGRIMS_ROBE
Definition: pilgrims_bounty.cpp:643
@ ITEM_PILGRIMS_ATTIRE
Definition: pilgrims_bounty.cpp:644
@ ITEM_PILGRIMS_DRESS
Definition: pilgrims_bounty.cpp:645
bool HasItemOrGemWithIdEquipped(uint32 item, uint32 count, uint8 except_slot=NULL_SLOT) const
Definition: PlayerStorage.cpp:728

References Player::HasItemOrGemWithIdEquipped(), ITEM_PILGRIMS_ATTIRE, ITEM_PILGRIMS_DRESS, and ITEM_PILGRIMS_ROBE.