Oakfolks Gold_1.14
Oakfolks coop game
Loading...
Searching...
No Matches
IPickable.h
1#pragma once
2
3#include "CoreMinimal.h"
4#include "UObject/Interface.h"
5#include "IPickable.generated.h"
6
8
13UINTERFACE(MinimalAPI,Blueprintable)
14class UIPickable : public UInterface
15{
16 GENERATED_BODY()
17};
18
20
25class BCR_API IIPickable
26{
27 GENERATED_BODY()
28
29public:
30
33 UFUNCTION(BlueprintCallable,BlueprintNativeEvent)
34 void PickedUp(AActor* Player, AActor* Object);
35 virtual void PickedUp_Implementation(AActor* Player, AActor* Object);
36
38 UFUNCTION(BlueprintCallable, BlueprintNativeEvent)
39 void Drop(AActor* Player, AActor* Object);
40 virtual void Drop_Implementation(AActor* Player, AActor* Object);
41};
Interface for objects that can be picked up and dropped by players.
Definition IPickable.h:26
Interface class for pickable objects.
Definition IPickable.h:15