AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
HealthCheckEventData Struct Reference

#include "ScriptedCreature.h"

Public Member Functions

 HealthCheckEventData (uint8 healthPct, std::function< void()> exec, bool valid=true)
 

Public Attributes

uint8 _healthPct
 
std::function< void()> _exec
 
bool _valid
 

Detailed Description

Constructor & Destructor Documentation

◆ HealthCheckEventData()

HealthCheckEventData::HealthCheckEventData ( uint8  healthPct,
std::function< void()>  exec,
bool  valid = true 
)
inline
459: _healthPct(healthPct), _exec(exec), _valid(valid) { };
bool _valid
Definition: ScriptedCreature.h:463
uint8 _healthPct
Definition: ScriptedCreature.h:461
std::function< void()> _exec
Definition: ScriptedCreature.h:462

Member Data Documentation

◆ _exec

std::function<void()> HealthCheckEventData::_exec

Referenced by BossAI::DamageTaken().

◆ _healthPct

uint8 HealthCheckEventData::_healthPct

Referenced by BossAI::DamageTaken().

◆ _valid

bool HealthCheckEventData::_valid

Referenced by BossAI::DamageTaken().