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

Public Member Functions

 achievement_less_rabi ()
 
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
 

Additional Inherited Members

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

Detailed Description

Constructor & Destructor Documentation

◆ achievement_less_rabi()

achievement_less_rabi::achievement_less_rabi ( )
inline
205 : AchievementCriteriaScript("achievement_less_rabi")
206 {
207 }
Definition: ScriptMgr.h:975

Member Function Documentation

◆ OnCheck()

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

Reimplemented from AchievementCriteriaScript.

210 {
211 return target && target->GetDisplayId() == target->GetNativeDisplayId();
212 }
uint32 GetDisplayId() const
Definition: Unit.h:2164
uint32 GetNativeDisplayId() const
Definition: Unit.h:2166

References Unit::GetDisplayId(), and Unit::GetNativeDisplayId().