2024-04-13 16:29:25 -07:00
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "GasaCommon.h"
|
|
|
|
|
#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 AActor
|
|
|
|
|
{
|
|
|
|
|
GENERATED_BODY()
|
|
|
|
|
public:
|
|
|
|
|
|
2024-04-22 09:01:30 -07:00
|
|
|
|
UPROPERTY(EditAnywhere, Category = "Applied Effects")
|
|
|
|
|
TSoftClassPtr<UGameplayEffect> InstantEffectClass;
|
2024-04-13 16:29:25 -07:00
|
|
|
|
|
|
|
|
|
AGasaEffectActor();
|
|
|
|
|
|
2024-04-22 09:01:30 -07:00
|
|
|
|
void ApplyEffectToTarget(AActor* Target, TSubclassOf<UGameplayEffect> EffectClass );
|
2024-04-16 14:18:06 -07:00
|
|
|
|
};
|