27 lines
663 B
C++
27 lines
663 B
C++
#pragma once
|
|
|
|
#include "GasaCommon.h"
|
|
#include "Actors/GasaActor.h"
|
|
#include "GameFramework/Actor.h"
|
|
|
|
#include "GasaEffectActor.generated.h"
|
|
|
|
UCLASS()
|
|
class GASA_API AGasaEffectActor : public AGasaActor
|
|
{
|
|
GENERATED_BODY()
|
|
public:
|
|
|
|
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Gameplay Effects")
|
|
TSubclassOf<UGameplayEffect> InstantEffectClass;
|
|
|
|
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Gameplay Effects")
|
|
TSubclassOf<UGameplayEffect> DurationEffectClass;
|
|
|
|
AGasaEffectActor();
|
|
|
|
UFUNCTION(BlueprintCallable, Category = "Gameplay Effects")
|
|
void ApplyEffectToActor(AActor* Actor, TSubclassOf<UGameplayEffect> EffectClass );
|
|
};
|
|
|