Files
FNGameProj/Source/FortniteGame/Public/FortMissionPowerPointsInterface.h
2024-01-21 00:41:14 +01:00

28 lines
933 B
C++

#pragma once
#include "CoreMinimal.h"
#include "UObject/Interface.h"
#include "FortMissionPowerPointsInterface.generated.h"
UINTERFACE()
class FORTNITEGAME_API UFortMissionPowerPointsInterface : public UInterface {
GENERATED_BODY()
};
class FORTNITEGAME_API IFortMissionPowerPointsInterface : public IInterface {
GENERATED_BODY()
public:
UFUNCTION()
virtual float GetPowerPointsCost(float LerpValue) const PURE_VIRTUAL(GetPowerPointsCost, return 0.0f;);
UFUNCTION()
virtual float GetMaxRangeLerpValue(float PointsAvailable, float PreviousLerpValue) const PURE_VIRTUAL(GetMaxRangeLerpValue, return 0.0f;);
UFUNCTION()
virtual float GetInitialRangeLerpValue(float PointsAvailable) const PURE_VIRTUAL(GetInitialRangeLerpValue, return 0.0f;);
UFUNCTION()
virtual float GetAvailabilityWeight(float DifficultyLevel) const PURE_VIRTUAL(GetAvailabilityWeight, return 0.0f;);
};