Files
WizardingHub/Source/WizardingCentral/StickySlime/SlimableInterface.h
T
2025-02-22 01:06:04 -05:00

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() {};
};