Space Plunder
Loading...
Searching...
No Matches
CharacterHealthComponent.h File Reference
#include "CoreMinimal.h"
#include "NiagaraComponent.h"
#include "Components/CharacterComponent.h"
#include "Data/HealthData.h"
#include "CharacterHealthComponent.generated.h"

Go to the source code of this file.

Functions

 DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams (FOnCharacterDeathEvent, AActor *, OwningActor, EDeathType, DeathType, AActor *, DeathCauser, AController *, DeathInstigator)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE (FOnShieldBreak)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams (FOnNonLethalKnockOut, const class UDamageType *, DamageType, const float, WaitTime)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE (FOnWakeUp)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_SevenParams (FOnDamageHit, AController *, InstigatedBy, const float, TotalDamage, const class UDamageType *, DamageType, const FName &, HitBone, const FVector &, HitLocation, const bool, bKillingHit, const bool, bInjuredPart)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_FiveParams (FOnHitReaction, const float, Damage, const FVector &, HitLocation, const FName &, BoneName, const FVector &, ShotFromDirection, const UDamageType *, DamageType)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams (FOnInjuredBodyPart, const EBodyPartName, InjuredBodyPart, const FVector &, HitLocation, const TArray< FBodyPart > &, AllBodyParts)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_FiveParams (FOnHealthAndShieldChanged, const float, Health, const float, MaxHealth, const float, ShieldHealth, const float, MaxShieldHealth, const class UDamageType *, DamageType)
 

Function Documentation

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE() [1/2]

DECLARE_DYNAMIC_MULTICAST_DELEGATE ( FOnShieldBreak )

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE() [2/2]

DECLARE_DYNAMIC_MULTICAST_DELEGATE ( FOnWakeUp )

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_FiveParams() [1/2]

DECLARE_DYNAMIC_MULTICAST_DELEGATE_FiveParams ( FOnHealthAndShieldChanged ,
const float ,
Health ,
const float ,
MaxHealth ,
const float ,
ShieldHealth ,
const float ,
MaxShieldHealth ,
const class UDamageType * ,
DamageType  )

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_FiveParams() [2/2]

DECLARE_DYNAMIC_MULTICAST_DELEGATE_FiveParams ( FOnHitReaction ,
const float ,
Damage ,
const FVector & ,
HitLocation ,
const FName & ,
BoneName ,
const FVector & ,
ShotFromDirection ,
const UDamageType * ,
DamageType  )

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams()

DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams ( FOnCharacterDeathEvent ,
AActor * ,
OwningActor ,
EDeathType ,
DeathType ,
AActor * ,
DeathCauser ,
AController * ,
DeathInstigator  )

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_SevenParams()

DECLARE_DYNAMIC_MULTICAST_DELEGATE_SevenParams ( FOnDamageHit ,
AController * ,
InstigatedBy ,
const float ,
TotalDamage ,
const class UDamageType * ,
DamageType ,
const FName & ,
HitBone ,
const FVector & ,
HitLocation ,
const bool ,
bKillingHit ,
const bool ,
bInjuredPart  )

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams()

DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams ( FOnInjuredBodyPart ,
const EBodyPartName ,
InjuredBodyPart ,
const FVector & ,
HitLocation ,
const TArray< FBodyPart > & ,
AllBodyParts  )

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams()

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams ( FOnNonLethalKnockOut ,
const class UDamageType * ,
DamageType ,
const float ,
WaitTime  )