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

32 lines
885 B
C++
Executable file

#pragma once
#include "CoreMinimal.h"
#include "UObject/Interface.h"
#include "UObject/NoExportTypes.h"
#include "UObject/NoExportTypes.h"
#include "Targetable.generated.h"
class UHealthComponentBase;
class UParticleSystem;
UINTERFACE(Blueprintable)
class UTargetable : public UInterface {
GENERATED_BODY()
};
class ITargetable : public IInterface {
GENERATED_BODY()
public:
UFUNCTION(BlueprintAuthorityOnly, BlueprintCallable, BlueprintNativeEvent)
void ShowDamageEffects(UParticleSystem* Particles, FVector Location, FRotator Orientation);
UFUNCTION(BlueprintCallable, BlueprintNativeEvent)
UHealthComponentBase* GetTargetHealthComponent() const;
UFUNCTION(BlueprintCallable, BlueprintNativeEvent)
FVector GetTargetCenterMass() const;
UFUNCTION(BlueprintCallable, BlueprintNativeEvent)
bool GetIsTargetable() const;
};