LEAP Documentation 40220
Documentation for the LEAP project
ReactsToMatchEvents.h
Go to the documentation of this file.
1// Copyright Blue Isle Studios Inc 2018. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "UObject/Interface.h"
7#include "ReactsToMatchEvents.generated.h"
8
9UINTERFACE(BlueprintType)
10class UReactsToMatchEvents : public UInterface
11{
12 GENERATED_UINTERFACE_BODY()
13};
14
15class PROJECTX_API IReactsToMatchEvents
16{
17 GENERATED_IINTERFACE_BODY()
18
19public:
20 UFUNCTION(BlueprintImplementableEvent, Category = "Match Events")
21 void OnMatchStarted();
22
23 /* Called on both the server and client when a match begins */
24 UFUNCTION()
25 virtual void MatchStarted();
26
27 UFUNCTION(BlueprintImplementableEvent, Category = "Match Events")
28 void OnMatchEnded();
29
30 /* Called on both the server and client when a match ends */
31 UFUNCTION()
32 virtual void MatchEnded();
33};
Definition: ReactsToMatchEvents.h:16
Definition: ReactsToMatchEvents.h:11