|
LEAP Documentation 40220
Documentation for the LEAP project
|
#include <DestroyableObjective.h>
Public Member Functions | |
| ADestroyableObjective () | |
| virtual void | ToggleActivation (bool bToggle) |
| virtual void | Tick (float DeltaTime) override |
| virtual float | TakeDamage (float DamageAmount, struct FDamageEvent const &DamageEvent, class AController *EventInstigator, AActor *DamageCauser) override |
| FORCEINLINE bool | IsObjectiveActive () const |
| FORCEINLINE bool | IsObjectiveProperlyInitialized () const |
| virtual int32 | GetTeam () const override |
| virtual int32 | SetTeam (int32 NewTeam) override |
| virtual bool | IsDead () const override |
| virtual float | GetHealth () const override |
| virtual float | GetMaxHealth () const override |
| virtual void | SetHealth (const float NewHealth) override |
| virtual void | SetHealthRegenRate (float NewRate) override |
| virtual float | GetTimeSinceLastDamage () const override |
| virtual UAfflictionComponent * | GetAfflictionComponent () const override |
Public Member Functions inherited from IHealthInterface | |
| 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) |
Public Attributes | |
| FObjectiveDamagedSignature | OnObjectiveDamaged |
| FObjectiveDamagedSignature | OnObjectiveDestroyed |
| FObjectiveEventSignature | OnObjectiveOwnerChanged |
| FObjectiveEventSignature | OnObjectiveActivationChanged |
| FObjectiveEventSignature | OnObjectiveProperlyInitialized |
| FObjectivePointTeamChangedSignature | OnTeamChangedEvent |
Public Attributes inherited from IHealthInterface | |
| FDamageSignature | PawnInterfaceDeathEvent |
| FDamageSignature | PawnInterfaceDamageEvent |
| FHealedSignature | PawnInterfaceHealedEvent |
| FHealedSignature | PawnInterfaceShieldsRepairedEvent |
| FHealthChangedSignature | PawnInterfaceHealthChangedEvent |
| FHealthChangedSignature | PawnInterfaceShieldshangedEvent |
| FHealthChangedSignature | PawnInterfaceShieldDepletedEvent |
Protected Member Functions | |
| virtual void | BeginPlay () override |
| virtual void | EndPlay (const EEndPlayReason::Type EndplayReason) override |
| virtual void | OnRep_Owner () override |
| virtual void | Die (float Damage, struct FDamageEvent const &DamageEvent, AController *EventInstigator, AActor *DamageCauser, const FHitResult &HitResult, APlayerState *InstigatorPlayerState) |
| virtual void | StartPassiveRegenDelay () |
| virtual void | BeginPassiveRegen () |
| virtual void | StopPassiveRegen () |
| virtual void | CheckForInitialization () |
| void | OnObjectiveInitialized () |
| virtual void | OnRep_Health (float PreviousHealth) |
| virtual void | OnRep_Activation () |
| virtual void | OnRep_Team () |
| void | Multicast_Die (float Damage, struct FDamageEvent const &DamageEvent, AController *EventInstigator, AActor *DamageCauser, const FHitResult &Hit, APlayerState *InstigatorPlayerState) |
Protected Attributes | |
| float | MaxHealth = 1000.f |
| bool | bUsePassiveHealthRegen = true |
| float | PassiveHealthRegenDelay = 5.f |
| float | PassiveHealthRegenRate = 10.f |
| bool | bUserOwnerTeam = true |
| EXPEventType | OnDamageTakenXPEvent = EXPEventType::ObjectiveDamaged |
| EXPEventType | OnDeathXPEvent = EXPEventType::ObjectiveDestroyed |
| bool | bRegisterTargetOnBeginPlay = true |
Additional Inherited Members | |
Static Public Member Functions inherited from ITeamInterface | |
| static bool | IsValidTeam (const ITeamInterface *const TeamInferface) |
| ADestroyableObjective::ADestroyableObjective | ( | ) |
|
protectedvirtual |
|
overrideprotectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
overrideprotectedvirtual |
|
inlineoverridevirtual |
Reimplemented from IHealthInterface.
|
inlineoverridevirtual |
Reimplemented from IHealthInterface.
|
inlineoverridevirtual |
Reimplemented from IHealthInterface.
|
overridevirtual |
Reimplemented from ITeamInterface.
|
overridevirtual |
Reimplemented from IHealthInterface.
|
inlineoverridevirtual |
Reimplemented from IHealthInterface.
|
inline |
|
inline |
|
protected |
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
overrideprotectedvirtual |
|
protectedvirtual |
|
overridevirtual |
Reimplemented from IHealthInterface.
|
inlineoverridevirtual |
Reimplemented from IHealthInterface.
|
overridevirtual |
Reimplemented from ITeamInterface.
|
protectedvirtual |
|
protectedvirtual |
|
overridevirtual |
|
overridevirtual |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| FObjectiveEventSignature ADestroyableObjective::OnObjectiveActivationChanged |
| FObjectiveDamagedSignature ADestroyableObjective::OnObjectiveDamaged |
| FObjectiveDamagedSignature ADestroyableObjective::OnObjectiveDestroyed |
| FObjectiveEventSignature ADestroyableObjective::OnObjectiveOwnerChanged |
| FObjectiveEventSignature ADestroyableObjective::OnObjectiveProperlyInitialized |
| FObjectivePointTeamChangedSignature ADestroyableObjective::OnTeamChangedEvent |
|
protected |
|
protected |