GASATHON/Project/Source/Gasa/AbilitySystem/GasaEffectActor.h

27 lines
663 B
C
Raw Normal View History

2024-04-13 16:29:25 -07:00
#pragma once
#include "GasaCommon.h"
#include "Actors/GasaActor.h"
#include "GameFramework/Actor.h"
2024-04-13 16:29:25 -07:00
#include "GasaEffectActor.generated.h"
2024-04-22 09:01:30 -07:00
2024-04-13 16:29:25 -07:00
UCLASS()
class GASA_API AGasaEffectActor : public AGasaActor
2024-04-13 16:29:25 -07:00
{
GENERATED_BODY()
public:
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Gameplay Effects")
2024-04-24 07:59:48 -07:00
TSubclassOf<UGameplayEffect> InstantEffectClass;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Gameplay Effects")
TSubclassOf<UGameplayEffect> DurationEffectClass;
2024-04-13 16:29:25 -07:00
AGasaEffectActor();
UFUNCTION(BlueprintCallable, Category = "Gameplay Effects")
void ApplyEffectToActor(AActor* Actor, TSubclassOf<UGameplayEffect> EffectClass );
2024-04-16 14:18:06 -07:00
};