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)
 

Public Attributes

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

Detailed Description

Constructor & Destructor Documentation

◆ HealthCheckEventData()

HealthCheckEventData::HealthCheckEventData ( uint8  healthPct,
std::function< void()>  exec 
)
inline
449: _healthPct(healthPct), _exec(exec) { };
uint8 _healthPct
Definition: ScriptedCreature.h:451
std::function< void()> _exec
Definition: ScriptedCreature.h:452

Member Data Documentation

◆ _exec

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

Referenced by BossAI::DamageTaken().

◆ _healthPct

uint8 HealthCheckEventData::_healthPct

Referenced by BossAI::DamageTaken().