27 lines
801 B
C++
Executable file
27 lines
801 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "ECrossbowUpgrades.h"
|
|
#include "StandardItemUpgrade.h"
|
|
#include "Templates/SubclassOf.h"
|
|
#include "UpgradeValues.h"
|
|
#include "CrossbowUpgrade.generated.h"
|
|
|
|
class ACrossbowProjectileBase;
|
|
class AFSDPlayerState;
|
|
class AItem;
|
|
|
|
UCLASS(Blueprintable, EditInlineNew, MinimalAPI)
|
|
class UCrossbowUpgrade : public UStandardItemUpgrade {
|
|
GENERATED_BODY()
|
|
public:
|
|
protected:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
ECrossbowUpgrades upgradeType;
|
|
|
|
public:
|
|
UCrossbowUpgrade();
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
static FUpgradeValues GetUpgradedValue(TSubclassOf<AItem> Item, TSubclassOf<ACrossbowProjectileBase> Projectile, AFSDPlayerState* Player, ECrossbowUpgrades NewUpgradeType);
|
|
|
|
};
|
|
|