![]() |
LEAP Documentation 40220
Documentation for the LEAP project
|
#include <ProjectileExplosive.h>
Public Member Functions | |
virtual void | OnSpawnedFromObjectPool () override |
virtual void | OnReleasedToObjectPool () override |
void | DelayedTimedExplosionExpired () |
virtual int32 | GetTicketUsageCount () const override |
virtual float | ApplyRadialDamage (UObject *WorldContextObject, const FHitResult &HitInfo, const FVector &TargetLocation, TArray< AActor * > &HitActors, ECollisionChannel DamagePreventionChannel=ECC_Visibility, AController *InstigatorController=NULL, const UWeaponInstance *Weapon=NULL) const |
FORCEINLINE float | GetExplosiveDamage () const |
![]() | |
void | Init (const int32 ID, const uint8 InShotID, class UWeaponInstanceProjectile *Weapon) |
void | AddIgnoredActor (AActor *ActorToIgnore) |
FVector | GetStartLocation () const |
int32 | GetProjectileID () const |
bool | ShouldSpawnActorOnHit () const |
TSubclassOf< AActor > | GetActorToSpawnOnHit () const |
const TArray< FVector_NetQuantize > & | GetProjectilePath () const |
virtual int32 | GetTicketUsageCount () const |
FORCEINLINE class UDataTable * | GetImpactEffectTable () const |
void | UpdateDamageModifier (float DamageModifierIn) |
FORCEINLINE float | GetDamageModifier () const |
virtual bool | Destroy (bool bNetForce=false, bool bShouldModifyLevel=true) override |
bool | IsReflectedProjectile () const |
void | SetReflectedProjectile (bool const bInReflectedProjectile) |
![]() | |
virtual void | EndPlay (const EEndPlayReason::Type EndPlayReason) override |
virtual APlayerState * | GetOwnedPlayerState () const override |
virtual void | OnOwnerLeave () override |
virtual void | SetWeaponInstanceClass (TSubclassOf< UWeaponInstance > WeaponInstanceClass) |
APlayerState * | GetPlayerOwner () const |
virtual int32 | GetTeam () const override |
virtual AProjectXCharacter * | GetOwningPawn (AProjectXPlayerController *const OverrideController=nullptr) const |
virtual UWeaponComponent * | GetOwningWeaponComponent () const |
bool | IsLocallyOwned () const |
FORCEINLINE TSubclassOf< UWeaponInstance > | GetOwningWeaponClass () const |
const UWeaponInstance * | GetOwningWeaponCDO () const |
template<class T > | |
const T * | GetOwningWeaponCDO () const |
![]() | |
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 () |
![]() | |
virtual int32 | GetTeam () const |
virtual int32 | SetTeam (int32 NewTeam) |
![]() | |
virtual void | OnSpawnedFromObjectPool () |
virtual void | OnReleasedToObjectPool () |
void | K2_OnSpawnedFromObjectPool () |
void | K2_OnReleasedToObjectPool () |
Protected Member Functions | |
virtual void | OnHit (AActor *SelfActor, AActor *OtherActor, FVector NormalImpulse, const FHitResult &Hit) override |
virtual void | GenerateHitRequest (AActor *OtherActor, UPrimitiveComponent *OtherComp, FVector NormalImpulse, const FHitResult &Hit, const FRotator &CustomRotator=FRotator::ZeroRotator, const TArray< AActor * > DamagedActors=TArray< AActor * >()) override |
![]() | |
virtual void | BeginPlay () override |
virtual void | OnSpawnedFromObjectPool () override |
virtual void | OnReleasedToObjectPool () override |
virtual void | Tick (float DeltaTime) override |
virtual void | InitializeMovementComponent () |
virtual void | OnHit (AActor *SelfActor, AActor *OtherActor, FVector NormalImpulse, const FHitResult &Hit) |
virtual void | GenerateHitRequest (AActor *OtherActor, UPrimitiveComponent *OtherComp, FVector NormalImpulse, const FHitResult &Hit, const FRotator &CustomRotator=FRotator::ZeroRotator, const TArray< AActor * > DamagedActors=TArray< AActor * >()) |
void | UpdateProjectilePath () |
void | Multicast_OnHit (AActor *SelfActor, AActor *OtherActor, const FVector &NormalImpulse, const FHitResult &Hit) |
void | OnAccelerationTowardsHomingTargetNotify (bool bIsAccelerating) |
virtual void | SpawnImpactEffect (const FHitResult &Hit, AActor *OtherActor, struct FDamageEvent const &DamageEvent, AController *EventInstigator, AActor *DamageCauser) |
virtual void | BeginPlay () override |
Protected Attributes | |
float | ExplosiveDamage = 0.f |
float | ExplosiveMinDamage = 0.f |
float | ExplosiveInnerRadius = 0.f |
float | ExplosiveOuterRadius = 0.f |
float | ExplosiveFalloffExponent = 0.f |
TSubclassOf< UDamageType > | ExplosiveDamageType = NULL |
bool | bFinalBounceOnly = true |
bool | bCanBounceOffPawn = false |
float | DelayedExplosionTime = 0.0f |
FHitResult | LastHit |
FTimerHandle | DelayedExplosionTimerHandle |
![]() | |
float | LingerTime3P = 0.2f |
float | LingerTime1P = 0.05f |
float | StartingCosmeticScaleMultiplier3P = 0.05f |
float | SmoothInterpSpeed3P = 3.0f |
float | ScaleLerpSpeed3P = 5.0f |
float | StartingCosmeticScaleMultiplier1P = 0.05f |
float | SmoothInterpSpeed1P = 1.0f |
float | ScaleLerpSpeed1P = 2.0f |
int32 | MaxBounces = 0 |
bool | bSpawnedActorMatchesProjectileOrientation = false |
bool | bSpawnActorOnHit = false |
class UMovementComponent * | ProjectileMovement = NULL |
float | PathPointRate = 0.5f |
class UDataTable * | ImpactEffectTable = NULL |
class UParticleSystem * | TrailParticle = NULL |
FRotator | TrailRotation = FRotator::ZeroRotator |
FVector | TrailLocation = FVector::ZeroVector |
TSubclassOf< AActor > | ActorClassToSpawn |
TArray< TWeakObjectPtr< AActor > > | IgnoredActors |
TWeakObjectPtr< AActor > | HomingTarget = nullptr |
TWeakObjectPtr< AActor > | AimTarget = nullptr |
float | AimTargetFalloff = 1.0f |
bool | bLocallyOwnedProjectile = false |
int32 | CurrentBounces = 0 |
float | LingerTime = 0.0f |
bool | bDestroyOnHit = false |
bool | bReflectedProjectile = false |
float | DamageModifier = 1.0f |
FVector | StartLocation = FVector(0) |
TArray< FVector_NetQuantize > | ProjectilePath = TArray<FVector_NetQuantize>() |
FTimerHandle | PathCollectionTimer |
int32 | ProjectileID = INDEX_NONE |
uint8 | ShotID |
float | InitialSpeed = 0.0f |
class UParticleSystemComponent * | TrailParticleSystem = NULL |
class TArray< TWeakObjectPtr< UMeshComponent > > | MeshComponents |
UPXProjectileMovementComponent * | MovementComponent = nullptr |
class ULightComponent * | LightComponent = NULL |
![]() | |
APlayerState * | PlayerOwner = NULL |
TSubclassOf< UWeaponInstance > | OwningWeaponClass = NULL |
Additional Inherited Members | |
![]() | |
static bool | IsValidTeam (const ITeamInterface *const TeamInferface) |
![]() | |
FImpactSignature | OnImpact |
FTransform | CosmeticTransform = FTransform::Identity |
|
virtual |
void AProjectileExplosive::DelayedTimedExplosionExpired | ( | ) |
|
overrideprotectedvirtual |
Reimplemented from AProjectile.
|
inline |
|
overridevirtual |
Reimplemented from AProjectile.
|
overrideprotectedvirtual |
Reimplemented from AProjectile.
|
overridevirtual |
Reimplemented from AProjectile.
|
overridevirtual |
Reimplemented from AProjectile.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |