25 lines
781 B
C++
Executable file
25 lines
781 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/NoExportTypes.h"
|
|
#include "CampaignRequirement.h"
|
|
#include "WeeklyTimerCampaignRequirement.generated.h"
|
|
|
|
class AFSDPlayerController;
|
|
class UCampaign;
|
|
|
|
UCLASS(Blueprintable, EditInlineNew)
|
|
class FSD_API UWeeklyTimerCampaignRequirement : public UCampaignRequirement {
|
|
GENERATED_BODY()
|
|
public:
|
|
UWeeklyTimerCampaignRequirement();
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
FTimespan GetWeeklyTimeLeft(AFSDPlayerController* Player) const;
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
FTimespan GetTimeUntillNewCampaign(AFSDPlayerController* Player) const;
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
bool GetHasCompleted(UCampaign* Campaign, AFSDPlayerController* Player) const;
|
|
|
|
};
|
|
|