28 lines
705 B
C++
Executable file
28 lines
705 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "IRandRange.h"
|
|
#include "Reward.h"
|
|
#include "WeeklyResourceReward.generated.h"
|
|
|
|
class AFSDPlayerController;
|
|
class UResourceData;
|
|
|
|
UCLASS(Blueprintable, EditInlineNew)
|
|
class UWeeklyResourceReward : public UReward {
|
|
GENERATED_BODY()
|
|
public:
|
|
protected:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
int32 ResourceCount;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
FIRandRange Amount;
|
|
|
|
public:
|
|
UWeeklyResourceReward();
|
|
protected:
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
TMap<UResourceData*, float> GetRewards(AFSDPlayerController* Player) const;
|
|
|
|
};
|
|
|