Oakfolks
Gold_1.14
Oakfolks coop game
Loading...
Searching...
No Matches
Interactable.h
1
#pragma once
2
3
#include "CoreMinimal.h"
4
#include "UObject/Interface.h"
5
#include "Interactable.generated.h"
6
9
class
AMainPlayer
;
10
12
17
UINTERFACE(MinimalAPI)
18
class
UInteractable
: public UInterface
19
{
20
GENERATED_BODY()
21
};
22
24
29
class
BCR_API
IInteractable
30
{
31
GENERATED_BODY()
32
33
public
:
34
37
UFUNCTION(BlueprintCallable, BlueprintNativeEvent)
38
void Interact(
AMainPlayer
* Player);
39
41
UFUNCTION(BlueprintCallable, BlueprintNativeEvent)
42
void
InteractWithObject(
AMainPlayer
* Player, AActor* Object);
43
};
AMainPlayer
Main player character for cooperative gameplay.
Definition
MainPlayer.h:32
IInteractable
Interface for objects that can be interacted with by players.
Definition
Interactable.h:30
UInteractable
Interface class for interactive objects.
Definition
Interactable.h:19
sources
Source
BCR
Headers
Interfaces
Interactable.h
Generated by
1.11.0