26 lines
613 B
C++
26 lines
613 B
C++
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/Interface.h"
|
|
#include "SlimableInterface.generated.h"
|
|
|
|
UINTERFACE(MinimalAPI, Blueprintable)
|
|
class USlimableInterface : public UInterface
|
|
{
|
|
GENERATED_BODY()
|
|
};
|
|
|
|
class WIZARDINGCENTRAL_API ISlimableInterface
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Sticky Slime")
|
|
void OnSlimed(AActor* Slime);
|
|
virtual void OnSlimed_Implementation(AActor* Slime) {};
|
|
|
|
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Sticky Slime")
|
|
void OnUnslimed();
|
|
virtual void OnUnslimed_Implementation() {};
|
|
};
|