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
449: _healthPct(healthPct), _exec(exec), _valid(valid) { };
bool _valid
Definition: ScriptedCreature.h:453
uint8 _healthPct
Definition: ScriptedCreature.h:451
std::function< void()> _exec
Definition: ScriptedCreature.h:452

Member Data Documentation

◆ _exec

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

◆ _healthPct

uint8 HealthCheckEventData::_healthPct

◆ _valid

bool HealthCheckEventData::_valid

Referenced by BossAI::DamageTaken().