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

Public Member Functions

 achievement_mimiron_set_up_us_the_bomb_11 ()
 
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_mimiron_set_up_us_the_bomb_11()

achievement_mimiron_set_up_us_the_bomb_11::achievement_mimiron_set_up_us_the_bomb_11 ( )
inline
2476: AchievementCriteriaScript("achievement_mimiron_set_up_us_the_bomb_11") {}
Definition: AchievementCriteriaScript.h:24

Member Function Documentation

◆ OnCheck()

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

Reimplemented from AchievementCriteriaScript.

2479 {
2480 return target && target->GetEntry() == NPC_MIMIRON && target->IsCreature() && !target->ToCreature()->AI()->GetData(11);
2481 }
@ NPC_MIMIRON
Definition: ulduar.h:118
virtual uint32 GetData(uint32) const
Definition: UnitAI.h:213
CreatureAI * AI() const
Definition: Creature.h:140
uint32 GetEntry() const
Definition: Object.h:115
bool IsCreature() const
Definition: Object.h:204
Creature * ToCreature()
Definition: Object.h:205

References Creature::AI(), UnitAI::GetData(), Object::GetEntry(), Object::IsCreature(), NPC_MIMIRON, and Object::ToCreature().