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

Public Member Functions

 achievement_algalon_he_feeds_on_your_tears ()
 
bool OnCheck (Player *, Unit *target, 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_algalon_he_feeds_on_your_tears()

achievement_algalon_he_feeds_on_your_tears::achievement_algalon_he_feeds_on_your_tears ( )
inline
1375: AchievementCriteriaScript("achievement_algalon_he_feeds_on_your_tears") { }
Definition: AchievementCriteriaScript.h:24

Member Function Documentation

◆ OnCheck()

bool achievement_algalon_he_feeds_on_your_tears::OnCheck ( Player ,
Unit target,
uint32   
)
inlineoverridevirtual

Reimplemented from AchievementCriteriaScript.

1378 {
1379 return target && target->GetAI()->GetData(DATA_HAS_FED_ON_TEARS);
1380 }
@ DATA_HAS_FED_ON_TEARS
Definition: boss_algalon_the_observer.cpp:101
virtual uint32 GetData(uint32) const
Definition: UnitAI.h:213
UnitAI * GetAI()
Definition: Unit.h:658

References DATA_HAS_FED_ON_TEARS, Unit::GetAI(), and UnitAI::GetData().