![]() |
LEAP Documentation 40220
Documentation for the LEAP project
|
#include <Explodables.h>
Public Member Functions | |
AExplodables () | |
FORCEINLINE float | GetDamageMax () const |
virtual APlayerState * | GetOwnedPlayerState () const override |
virtual int32 | GetTeam () const override |
void | SetHitResult (const FHitResult &InHitResult) |
![]() | |
virtual bool | IsArmored () const |
virtual void | SetDamageResistance (float NewValue) |
virtual void | SetExplosiveDamageResistance (float NewValue) |
virtual float | GetDamageResistance () const |
virtual float | GetExplosiveDamageResistance () const |
virtual bool | AreShieldsFull () const |
virtual bool | AreShieldsOvercharged () const |
virtual float | GetShields () const |
virtual float | GetMaxShields () const |
virtual float | GetCachedMaxShields () const |
virtual float | GetMaxShieldsWithOvercharge () const |
virtual float | GetPercentShields () const |
virtual float | GetPercentOverchargedShields () const |
virtual bool | HasShields () const |
virtual bool | HasShieldsThatNeedRecharging () const |
virtual bool | IsHealthFull () const |
virtual float | GetHealth () const |
virtual float | GetMaxHealth () const |
virtual float | GetCachedMaxHealth () const |
virtual float | GetCachedOvershield () const |
virtual float | GetPercentHealth () const |
virtual float | GetOvershield () const |
virtual float | GetHealthPickupModifier () const |
virtual bool | IsUsingPassiveShieldRegen () const |
virtual bool | IsDead () const |
virtual bool | CanBeRepaired (const AActor *RepairInstigator) const |
virtual bool | IsHealthWithinGivenPercentage (float TargetPercentage, bool bCheckForLessThanPercentage=true) const |
virtual void | RemoveOverchargedShields () |
virtual void | ModifyShieldsThenHealth (float Delta) |
virtual void | SetShields (float InShields) |
virtual void | SetMaxShields (const float NewMaxHealth) |
virtual void | ModifyShields (float Delta, bool bCanOvercharge=false) |
virtual bool | CanModifyShieldsPastOverchargeMark () const |
virtual void | SetCanModifyShieldsPastOverchargeMark (bool bNewCanOverchargeShields) |
virtual void | SetShieldRegenRate (float NewRate) |
virtual void | SetOvershield (float NewOvershield) |
virtual void | SetHealth (float InHealth) |
virtual void | SetMaxHealth (const float NewMaxHealth) |
virtual void | ModifyHealth (float Delta) |
virtual void | SetHealthRegenRate (float NewRate) |
virtual void | SetHealthPickupModifier (float NewModifier) |
virtual float | GetTotalPercentHealth () const |
virtual float | GetTimeSinceLastDamage () const |
virtual bool | HasRecentlyTakenDamage () const |
virtual void | SetShieldAndHealthRegenRate (float NewRate) |
virtual void | SetCanUsePassiveShieldRegen (bool bNewUsePassiveShieldRegen) |
virtual bool | GetCachedUsesPassiveShieldRegen () const |
virtual UAfflictionComponent * | GetAfflictionComponent () const |
virtual FDamageSignature & | GetDeathEvent () |
virtual FDamageSignature & | GetDamageEvent () |
virtual FHealedSignature & | GetHealedEvent () |
virtual FHealedSignature & | GetShieldsRepairedEvent () |
virtual FHealthChangedSignature & | GetHealthChangedEvent () |
virtual FHealthChangedSignature & | GetShieldsChangedEvent () |
virtual FHealthChangedSignature & | GetShieldsDepletedEvent () |
virtual void | BindToDeathEvent (const FBPDamageSignature &Event) |
virtual void | BindToDamageEvent (const FBPDamageSignature &Event) |
virtual void | BindToHealedEvent (const FBPHealedSignature &Event) |
virtual void | BindToShieldsRepairedEvent (const FBPHealedSignature &Event) |
virtual void | BindToHealthChangedEvent (const FBPHealthChangedSignature &Event) |
virtual void | BindToShieldsChangedEvent (const FBPHealthChangedSignature &Event) |
virtual void | BindToShieldsDepletedEvent (const FBPHealthChangedSignature &Event) |
virtual void | UnbindDeathEvent (const FBPDamageSignature &Event) |
virtual void | UnbindDamageEvent (const FBPDamageSignature &Event) |
virtual void | UnbindHealedEvent (const FBPHealedSignature &Event) |
virtual void | UnbindShieldsRepairedEvent (const FBPHealedSignature &Event) |
virtual void | UnbindHealthChangedEvent (const FBPHealthChangedSignature &Event) |
virtual void | UnbindShieldsChangedEvent (const FBPHealthChangedSignature &Event) |
virtual void | UnbindShieldsDepletedEvent (const FBPHealthChangedSignature &Event) |
virtual void | ClearAllToDeathEvents () |
virtual void | ClearAllDamageEvents () |
virtual void | ClearAllHealedEvents () |
virtual void | ClearAllShieldsRepairedEvents () |
virtual void | ClearAllHealthChangedEvents () |
virtual void | ClearAllShieldsChangedEvents () |
virtual void | ClearAllShieldsDepletedEvents () |
virtual bool | BlocksExplosions () const |
![]() | |
virtual int32 | GetTeam () const |
virtual int32 | SetTeam (int32 NewTeam) |
![]() | |
template<class T > | |
T * | GetOwnedPlayerState () const |
virtual APlayerState * | GetOwnedPlayerState () const |
template<class T > | |
T * | GetOwningController () const |
virtual AController * | GetOwningController () const |
virtual void | OnOwnerLeave () |
virtual void | OnOwnerDied () |
Protected Member Functions | |
virtual void | BeginPlay () override |
void | TriggerExplosion () |
void | InternalTriggerExplosion () |
virtual float | TakeDamage (float Damage, struct FDamageEvent const &DamageEvent, AController *EventInstigator, AActor *DamageCauser) override |
virtual bool | ShouldTakeDamage (float Damage, FDamageEvent const &DamageEvent, AController *EventInstigator, AActor *DamageCauser) const |
virtual float | InternalTakeRadialDamage (float Damage, FRadialDamageEvent const &RadialDamageEvent, class AController *EventInstigator, class AActor *DamageCauser) override |
virtual void | Died (float Damage, FDamageEvent const &DamageEvent, AController *EventInstigator, AActor *DamageCauser) |
virtual void | TornOff () override |
void | Multicast_Reliable_Died (float Damage, FDamageEvent const &DamageEvent, AActor *DamageCauser) |
virtual bool | IsDead () const override |
void | OnExplosionTriggered () |
Protected Attributes | |
TSubclassOf< UDamageType > | DamageType |
TArray< TEnumAsByte< EObjectTypeQuery > > | ObjectTypes |
float | MaxHealth = 0.0f |
TSubclassOf< class UWeaponInstance > | OwningWeaponInstanceClass = nullptr |
bool | bDelayExplosion = false |
float | ExplosionDelay = 1.0f |
float | ExplosionDamageMax = 75.0f |
float | ExplosionDamageMin = 1.0f |
float | DamageFallOff = 0.8f |
float | ExplosionRadius = 1000.0f |
FHitResult | ExplodableHitResult |
FTimerHandle | ExplosionDelayTimerHandle |
float | Health = 0.0f |
bool | bDied = false |
Additional Inherited Members | |
![]() | |
static bool | IsValidTeam (const ITeamInterface *const TeamInferface) |
![]() | |
FDamageSignature | PawnInterfaceDeathEvent |
FDamageSignature | PawnInterfaceDamageEvent |
FHealedSignature | PawnInterfaceHealedEvent |
FHealedSignature | PawnInterfaceShieldsRepairedEvent |
FHealthChangedSignature | PawnInterfaceHealthChangedEvent |
FHealthChangedSignature | PawnInterfaceShieldshangedEvent |
FHealthChangedSignature | PawnInterfaceShieldDepletedEvent |
AExplodables::AExplodables | ( | ) |
|
overrideprotectedvirtual |
|
protectedvirtual |
|
inline |
|
overridevirtual |
Reimplemented from IOwnedInterface.
|
overridevirtual |
Reimplemented from ITeamInterface.
|
overrideprotectedvirtual |
|
protected |
|
inlineoverrideprotectedvirtual |
Reimplemented from IHealthInterface.
|
protected |
|
protected |
void AExplodables::SetHitResult | ( | const FHitResult & | InHitResult | ) |
|
protectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |