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

33 lines
915 B
C++
Executable file

#pragma once
#include "CoreMinimal.h"
#include "AmmoDrivenWeapon.h"
#include "BurstWeapon.generated.h"
class UDamageComponent;
class UFSDPhysicalMaterial;
class UHealthComponentBase;
class UPrimitiveComponent;
UCLASS(Blueprintable)
class ABurstWeapon : public AAmmoDrivenWeapon {
GENERATED_BODY()
public:
protected:
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UDamageComponent* Damage;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UDamageComponent* BurstFireBonusDamage;
public:
ABurstWeapon();
protected:
UFUNCTION(BlueprintCallable)
void OnTargetDamaged(UHealthComponentBase* Health, float Amount, UPrimitiveComponent* HitComponent, UFSDPhysicalMaterial* PhysicalMaterial);
public:
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
void OnReadyToFire();
};