Oakfolks Gold_1.14
Oakfolks coop game
Loading...
Searching...
No Matches
TriggerZoneListener.h
1#pragma once
2
3#include "CoreMinimal.h"
4#include "UObject/Interface.h"
5#include "TriggerZoneListener.generated.h"
6
9struct FTriggerData;
10
12
16UINTERFACE(Blueprintable)
17class UTriggerZoneListener : public UInterface
18{
19 GENERATED_BODY()
20};
21
23
28{
29 GENERATED_BODY()
30
31public:
32
35 UFUNCTION(BlueprintNativeEvent, BlueprintCallable)
36 void OnOnePlayerEnterInnerZone(const FTriggerData& TriggerData);
37 UFUNCTION(BlueprintNativeEvent, BlueprintCallable)
38 void OnTwoPlayersEnterInnerZone(const FTriggerData& TriggerData);
39
41 UFUNCTION(BlueprintNativeEvent, BlueprintCallable)
42 void OnPlayersExitInnerZone(const FTriggerData& TriggerData);
43
46 UFUNCTION(BlueprintNativeEvent, BlueprintCallable)
47 void OnOnePlayerEnterOuterZone(const FTriggerData& TriggerData);
48 UFUNCTION(BlueprintNativeEvent, BlueprintCallable)
49 void OnTwoPlayersEnterOuterZone(const FTriggerData& TriggerData);
50
52 UFUNCTION(BlueprintNativeEvent, BlueprintCallable)
53 void OnPlayersExitOuterZone(const FTriggerData& TriggerData);
54};
Interface for objects that need to respond to trigger zone events.
Definition TriggerZoneListener.h:28
Interface class for trigger zone events.
Definition TriggerZoneListener.h:18
Event data for trigger zone interactions.
Definition TriggerZone.h:16