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