mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 00:40:53 +01:00
21 lines
453 B
C
21 lines
453 B
C
#pragma once
|
|
|
|
struct TESObjectREFR;
|
|
|
|
/**
|
|
* @brief Dispatched when a local or remote actor's health changes locally.
|
|
*
|
|
* The exact hueristics for what hit is registered by who can be found in
|
|
* the Actor::HookDamageActor() hook.
|
|
*/
|
|
struct HealthChangeEvent
|
|
{
|
|
HealthChangeEvent(uint32_t aHitteeId, float aDeltaHealth)
|
|
: HitteeId(aHitteeId)
|
|
, DeltaHealth(aDeltaHealth)
|
|
{
|
|
}
|
|
|
|
uint32_t HitteeId;
|
|
float DeltaHealth;
|
|
};
|