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

32 lines
985 B
C++
Executable file

#pragma once
#include "CoreMinimal.h"
#include "Projectile.h"
#include "ChargedProjectile.generated.h"
UCLASS(Blueprintable)
class AChargedProjectile : public AProjectile {
GENERATED_BODY()
public:
protected:
UPROPERTY(BlueprintReadWrite, EditAnywhere, Replicated, Transient, meta=(AllowPrivateAccess=true))
bool ExplodesWhenDead;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
bool PersistentExplosion;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
bool AoEDamageInFlight;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
float DirectDamageReduction;
public:
AChargedProjectile();
virtual void GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const override;
protected:
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
void OnAoEDamageEnabled();
};