24 lines
628 B
C++
Executable file
24 lines
628 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/Object.h"
|
|
#include "AfflictionEffect.generated.h"
|
|
|
|
class UPawnAfflictionComponent;
|
|
|
|
UCLASS(Blueprintable)
|
|
class UAfflictionEffect : public UObject {
|
|
GENERATED_BODY()
|
|
public:
|
|
UAfflictionEffect();
|
|
UFUNCTION(BlueprintCallable, BlueprintNativeEvent)
|
|
bool ShouldInstantiate() const;
|
|
|
|
protected:
|
|
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
|
void ReceiveEndEffect(UPawnAfflictionComponent* Target);
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
|
void ReceiveBeginEffect(UPawnAfflictionComponent* Target);
|
|
|
|
};
|
|
|