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

Public Member Functions

 achievement_flirt_with_disaster_perf_check ()
 
bool OnCheck (Player *player, 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_flirt_with_disaster_perf_check()

achievement_flirt_with_disaster_perf_check::achievement_flirt_with_disaster_perf_check ( )
inline
263: AchievementCriteriaScript("achievement_flirt_with_disaster_perf_check") { }
Definition: AchievementCriteriaScript.h:24

Member Function Documentation

◆ OnCheck()

bool achievement_flirt_with_disaster_perf_check::OnCheck ( Player player,
Unit ,
uint32   
)
inlineoverridevirtual

Reimplemented from AchievementCriteriaScript.

266 {
267 if (!player)
268 return false;
269
271 return true;
272
273 return false;
274 }
@ AURA_PERFUME_FOREVER
Definition: achievement_scripts.cpp:255
@ AURA_PERFUME_ENCHANTRESS
Definition: achievement_scripts.cpp:256
@ AURA_PERFUME_VICTORY
Definition: achievement_scripts.cpp:257
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
Definition: Unit.cpp:5698

References AURA_PERFUME_ENCHANTRESS, AURA_PERFUME_FOREVER, AURA_PERFUME_VICTORY, and Unit::HasAura().