DRG-Femboy-Voice/Source/FSD/Public/GuntowerLineProjectile.h
2025-04-15 12:39:31 -07:00

57 lines
1.8 KiB
C++
Executable file

#pragma once
#include "CoreMinimal.h"
#include "UObject/NoExportTypes.h"
#include "Engine/EngineTypes.h"
#include "Projectile.h"
#include "GuntowerLineProjectile.generated.h"
class UDamageComponent;
class UParticleSystemComponent;
class USceneComponent;
UCLASS(Blueprintable)
class AGuntowerLineProjectile : public AProjectile {
GENERATED_BODY()
public:
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FLineDestroy, FHitResult, Result);
protected:
UPROPERTY(BlueprintAssignable, BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
FLineDestroy OnLineDestroy;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
USceneComponent* LeftLinePoint;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
USceneComponent* RightLinePoint;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UDamageComponent* DamageComponent;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UParticleSystemComponent* BeamParticles;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
float PlatformDissolveRadius;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
float PlatformDissolveSqueeze;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, Transient, meta=(AllowPrivateAccess=true))
UParticleSystemComponent* HitParticles;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
float TimeBetweenLineChecks;
public:
AGuntowerLineProjectile();
protected:
UFUNCTION(BlueprintCallable)
void TurnOffParticles();
public:
UFUNCTION(BlueprintCallable)
void Fire(const FVector& Origin, const FVector& Direction, float Distance);
};