#include <Projectile.h>
|
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 |
|
◆ AddIgnoredActor()
void AProjectile::AddIgnoredActor |
( |
AActor * |
ActorToIgnore | ) |
|
◆ BeginPlay()
void AProjectile::BeginPlay |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ Destroy()
bool AProjectile::Destroy |
( |
bool |
bNetForce = false , |
|
|
bool |
bShouldModifyLevel = true |
|
) |
| |
|
overridevirtual |
◆ GenerateHitRequest()
void AProjectile::GenerateHitRequest |
( |
AActor * |
OtherActor, |
|
|
UPrimitiveComponent * |
OtherComp, |
|
|
FVector |
NormalImpulse, |
|
|
const FHitResult & |
Hit, |
|
|
const FRotator & |
CustomRotator = FRotator::ZeroRotator , |
|
|
const TArray< AActor * > |
DamagedActors = TArray<AActor*>() |
|
) |
| |
|
protectedvirtual |
◆ GetActorToSpawnOnHit()
TSubclassOf< AActor > AProjectile::GetActorToSpawnOnHit |
( |
| ) |
const |
|
inline |
◆ GetDamageModifier()
FORCEINLINE float AProjectile::GetDamageModifier |
( |
| ) |
const |
|
inline |
◆ GetImpactEffectTable()
FORCEINLINE class UDataTable * AProjectile::GetImpactEffectTable |
( |
| ) |
const |
|
inline |
◆ GetProjectileID()
int32 AProjectile::GetProjectileID |
( |
| ) |
const |
|
inline |
◆ GetProjectilePath()
const TArray< FVector_NetQuantize > & AProjectile::GetProjectilePath |
( |
| ) |
const |
|
inline |
◆ GetStartLocation()
FVector AProjectile::GetStartLocation |
( |
| ) |
const |
|
inline |
◆ GetTicketUsageCount()
int32 AProjectile::GetTicketUsageCount |
( |
| ) |
const |
|
virtual |
◆ Init()
◆ InitializeMovementComponent()
void AProjectile::InitializeMovementComponent |
( |
| ) |
|
|
protectedvirtual |
◆ IsReflectedProjectile()
bool AProjectile::IsReflectedProjectile |
( |
| ) |
const |
|
inline |
◆ Multicast_OnHit()
void AProjectile::Multicast_OnHit |
( |
AActor * |
SelfActor, |
|
|
AActor * |
OtherActor, |
|
|
const FVector & |
NormalImpulse, |
|
|
const FHitResult & |
Hit |
|
) |
| |
|
protected |
◆ OnAccelerationTowardsHomingTargetNotify()
void AProjectile::OnAccelerationTowardsHomingTargetNotify |
( |
bool |
bIsAccelerating | ) |
|
|
protected |
◆ OnHit()
void AProjectile::OnHit |
( |
AActor * |
SelfActor, |
|
|
AActor * |
OtherActor, |
|
|
FVector |
NormalImpulse, |
|
|
const FHitResult & |
Hit |
|
) |
| |
|
protectedvirtual |
◆ OnReleasedToObjectPool()
void AProjectile::OnReleasedToObjectPool |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ OnSpawnedFromObjectPool()
void AProjectile::OnSpawnedFromObjectPool |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ SetReflectedProjectile()
void AProjectile::SetReflectedProjectile |
( |
bool const |
bInReflectedProjectile | ) |
|
◆ ShouldSpawnActorOnHit()
bool AProjectile::ShouldSpawnActorOnHit |
( |
| ) |
const |
|
inline |
◆ SpawnImpactEffect()
void AProjectile::SpawnImpactEffect |
( |
const FHitResult & |
Hit, |
|
|
AActor * |
OtherActor, |
|
|
struct FDamageEvent const & |
DamageEvent, |
|
|
AController * |
EventInstigator, |
|
|
AActor * |
DamageCauser |
|
) |
| |
|
protectedvirtual |
◆ Tick()
void AProjectile::Tick |
( |
float |
DeltaTime | ) |
|
|
overrideprotectedvirtual |
◆ UpdateDamageModifier()
void AProjectile::UpdateDamageModifier |
( |
float |
DamageModifierIn | ) |
|
|
inline |
◆ UpdateProjectilePath()
void AProjectile::UpdateProjectilePath |
( |
| ) |
|
|
protected |
◆ UTurretComponent
◆ ActorClassToSpawn
TSubclassOf<AActor> AProjectile::ActorClassToSpawn |
|
protected |
◆ AimTarget
TWeakObjectPtr<AActor> AProjectile::AimTarget = nullptr |
|
protected |
◆ AimTargetFalloff
float AProjectile::AimTargetFalloff = 1.0f |
|
protected |
◆ bDestroyOnHit
bool AProjectile::bDestroyOnHit = false |
|
protected |
◆ bLocallyOwnedProjectile
bool AProjectile::bLocallyOwnedProjectile = false |
|
protected |
◆ bReflectedProjectile
bool AProjectile::bReflectedProjectile = false |
|
protected |
◆ bSpawnActorOnHit
bool AProjectile::bSpawnActorOnHit = false |
|
protected |
◆ bSpawnedActorMatchesProjectileOrientation
bool AProjectile::bSpawnedActorMatchesProjectileOrientation = false |
|
protected |
◆ CosmeticTransform
FTransform AProjectile::CosmeticTransform = FTransform::Identity |
◆ CurrentBounces
int32 AProjectile::CurrentBounces = 0 |
|
protected |
◆ DamageModifier
float AProjectile::DamageModifier = 1.0f |
|
protected |
◆ HomingTarget
TWeakObjectPtr<AActor> AProjectile::HomingTarget = nullptr |
|
protected |
◆ IgnoredActors
TArray<TWeakObjectPtr<AActor> > AProjectile::IgnoredActors |
|
protected |
◆ ImpactEffectTable
class UDataTable* AProjectile::ImpactEffectTable = NULL |
|
protected |
◆ InitialSpeed
float AProjectile::InitialSpeed = 0.0f |
|
protected |
◆ LightComponent
class ULightComponent* AProjectile::LightComponent = NULL |
|
protected |
◆ LingerTime
float AProjectile::LingerTime = 0.0f |
|
protected |
◆ LingerTime1P
float AProjectile::LingerTime1P = 0.05f |
|
protected |
◆ LingerTime3P
float AProjectile::LingerTime3P = 0.2f |
|
protected |
◆ MaxBounces
int32 AProjectile::MaxBounces = 0 |
|
protected |
◆ MeshComponents
class TArray< TWeakObjectPtr< UMeshComponent > > AProjectile::MeshComponents |
|
protected |
◆ MovementComponent
◆ OnImpact
FImpactSignature AProjectile::OnImpact |
◆ PathCollectionTimer
FTimerHandle AProjectile::PathCollectionTimer |
|
protected |
◆ PathPointRate
float AProjectile::PathPointRate = 0.5f |
|
protected |
◆ ProjectileID
int32 AProjectile::ProjectileID = INDEX_NONE |
|
protected |
◆ ProjectileMovement
class UMovementComponent* AProjectile::ProjectileMovement = NULL |
|
protected |
◆ ProjectilePath
TArray<FVector_NetQuantize> AProjectile::ProjectilePath = TArray<FVector_NetQuantize>() |
|
protected |
◆ ScaleLerpSpeed1P
float AProjectile::ScaleLerpSpeed1P = 2.0f |
|
protected |
◆ ScaleLerpSpeed3P
float AProjectile::ScaleLerpSpeed3P = 5.0f |
|
protected |
◆ ShotID
uint8 AProjectile::ShotID |
|
protected |
◆ SmoothInterpSpeed1P
float AProjectile::SmoothInterpSpeed1P = 1.0f |
|
protected |
◆ SmoothInterpSpeed3P
float AProjectile::SmoothInterpSpeed3P = 3.0f |
|
protected |
◆ StartingCosmeticScaleMultiplier1P
float AProjectile::StartingCosmeticScaleMultiplier1P = 0.05f |
|
protected |
◆ StartingCosmeticScaleMultiplier3P
float AProjectile::StartingCosmeticScaleMultiplier3P = 0.05f |
|
protected |
◆ StartLocation
FVector AProjectile::StartLocation = FVector(0) |
|
protected |
◆ TrailLocation
FVector AProjectile::TrailLocation = FVector::ZeroVector |
|
protected |
◆ TrailParticle
class UParticleSystem* AProjectile::TrailParticle = NULL |
|
protected |
◆ TrailParticleSystem
class UParticleSystemComponent* AProjectile::TrailParticleSystem = NULL |
|
protected |
◆ TrailRotation
FRotator AProjectile::TrailRotation = FRotator::ZeroRotator |
|
protected |
The documentation for this class was generated from the following files:
- E:/ProjectY/Source/ProjectX/Public/Weapons/Projectile/Projectile.h
- E:/ProjectY/Source/ProjectX/Private/Weapons/Projectile/Projectile.cpp