33 lines
697 B
C++
33 lines
697 B
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/NoExportTypes.h"
|
|
#include "StatusEffect.generated.h"
|
|
|
|
/**
|
|
*
|
|
*/
|
|
UCLASS(Abstract, Blueprintable)
|
|
class THE_TWILIGHT_ABYSS_API UStatusEffect : public UObject
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
|
FString Name;
|
|
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
|
FString Description;
|
|
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
|
float BaseDuration;
|
|
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
|
UTexture2D* Icon;
|
|
|
|
UFUNCTION()
|
|
virtual void Invoke(AActor* Character);
|
|
|
|
UFUNCTION()
|
|
virtual void OnExpiry(AActor* Character);
|
|
};
|