DRG-Femboy-Voice/Source/FSD/Public/ChargedProjectileUpgrade.h
2025-04-15 12:39:31 -07:00

30 lines
950 B
C++
Executable file

#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<AActor> ProjectileClass;
public:
UChargedProjectileUpgrade();
UFUNCTION(BlueprintCallable, BlueprintPure)
static FUpgradeValues GetUpgradedValue(TSubclassOf<AItem> Item, TSubclassOf<AActor> upgradedActor, AFSDPlayerState* Player, EChargedProjectileUpgrades NewUpgradeType);
};