27 lines
663 B
C
Raw Normal View History

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