#pragma once #include "CoreMinimal.h" #include "EInventoryItemUpgradeType.h" #include "StandardItemUpgrade.h" #include "Templates/SubclassOf.h" #include "UpgradeValues.h" #include "InventoryItemUpgrade.generated.h" class AFSDPlayerState; class AItem; UCLASS(Blueprintable, EditInlineNew, MinimalAPI) class UInventoryItemUpgrade : public UStandardItemUpgrade { GENERATED_BODY() public: protected: UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true)) EInventoryItemUpgradeType upgradeType; public: UInventoryItemUpgrade(); UFUNCTION(BlueprintCallable, BlueprintPure) static FUpgradeValues GetUpgradedValue(TSubclassOf Item, AFSDPlayerState* Player, EInventoryItemUpgradeType NewUpgradeType); };