Files
Aura-TopDownRPG-GAS/Source/Aura/Public/Interact/CombatInterface.h

37 lines
789 B
C
Raw Permalink Normal View History

2025-10-14 22:20:59 -04:00
// Copyright Echo Devgroup
#pragma once
#include "CoreMinimal.h"
#include "UObject/Interface.h"
#include "CombatInterface.generated.h"
// This class does not need to be modified.
2025-10-17 16:43:49 -04:00
UINTERFACE(MinimalAPI, BlueprintType)
2025-10-14 22:20:59 -04:00
class UCombatInterface : public UInterface
{
GENERATED_BODY()
};
/**
*
*/
class AURA_API ICombatInterface
{
GENERATED_BODY()
// Add interface functions to this class. This is the class that will be inherited to implement this interface.
public:
virtual int32 GetPlayerLevel();
2025-10-17 00:00:23 -04:00
virtual FVector GetCombatSocketLocation();
2025-10-17 16:43:49 -04:00
UFUNCTION(BlueprintImplementableEvent, BlueprintCallable)
void UpdateFacingTarget(const FVector& TargetLocation);
2025-11-02 06:40:35 -05:00
UFUNCTION(BlueprintNativeEvent, BlueprintCallable)
UAnimMontage* GetHitReactMontage();
virtual void Die() = 0;
2025-10-14 22:20:59 -04:00
};