LEAP Documentation 40220
Documentation for the LEAP project
KillCamInterface.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 "KillCamInterface.generated.h"
8
10class UMeshComponent;
11
12DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnKillCamEventSignature);
13
14UINTERFACE(BlueprintType)
15class UKillCamInterface : public UInterface
16{
17 GENERATED_BODY()
18};
19
20class PROJECTX_API IKillCamInterface
21{
22 GENERATED_BODY()
23
24public:
25 virtual AKillCameraActor* SpawnKillCamActor() { return NULL; }
26 virtual TArray<UMeshComponent*> GetKillCamMeshes() const { return TArray<UMeshComponent*>(); }
27 UFUNCTION(BlueprintImplementableEvent)
28 void ToggleIsInKillCam(bool bInKillCam);
29};
DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnKillCamEventSignature)
Definition: KillCameraActor.h:19
Definition: KillCamInterface.h:21
virtual TArray< UMeshComponent * > GetKillCamMeshes() const
Definition: KillCamInterface.h:26
virtual AKillCameraActor * SpawnKillCamActor()
Definition: KillCamInterface.h:25
Definition: KillCamInterface.h:16