LEAP Documentation 40220
Documentation for the LEAP project
AllOutWarfareObjectiveInterface.h
Go to the documentation of this file.
1// Copyright Blue Isle Studios Inc 2021. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "UObject/NoExportTypes.h"
7#include "AllOutWarfareObjectiveInterface.generated.h"
8
12UINTERFACE(BlueprintType, meta = (CannotImplementInterfaceInBlueprint))
13class UAllOutWarfareObjectiveInterface : public UInterface
14{
15 GENERATED_UINTERFACE_BODY()
16};
17
19{
20 GENERATED_IINTERFACE_BODY()
21
22public:
23 UFUNCTION(BlueprintCallable, Category = AOWObjectiveInterface)
24 virtual float GetObjectiveHealth() const {return 0.f;}
25 UFUNCTION(BlueprintCallable, Category = AOWObjectiveInterface)
26 virtual bool GetIsObjectiveDead() const { return false; }
27 UFUNCTION(BlueprintCallable, Category = AOWObjectiveInterface)
28 virtual float GetObjectiveMaxHealth() const { return 0.f; }
29 UFUNCTION(BlueprintCallable, Category = AOWObjectiveInterface)
30 virtual int32 GetObjectiveTeam() const { return INDEX_NONE; }
31 UFUNCTION(BlueprintCallable, Category = AOWObjectiveInterface)
32 virtual bool GetIsObjectiveProperlyInitialized() const { return false; }
33 UFUNCTION(BlueprintCallable, Category = AOWObjectiveInterface)
34 virtual void SetObjectiveTeam() const {}
35
36 /* Returns the ordering that it should be place in a list whenever it's indexed */
37 UFUNCTION(BlueprintCallable, Category = AOWObjectiveInterface)
38 virtual int32 GetObjectiveSortOrder() const { return INDEX_NONE; }
39
40protected:
41
42};
Definition: AllOutWarfareObjectiveInterface.h:19
Definition: AllOutWarfareObjectiveInterface.h:14