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

26 lines
784 B
C++
Executable file

#pragma once
#include "CoreMinimal.h"
#include "ItemUpgrade.h"
#include "Templates/SubclassOf.h"
#include "UpgradeValues.h"
#include "WeaponHitCounterUpgrade.generated.h"
class AActor;
class AFSDPlayerState;
class UWeaponHitCounterComponent;
UCLASS(Blueprintable, EditInlineNew, MinimalAPI)
class UWeaponHitCounterUpgrade : public UItemUpgrade {
GENERATED_BODY()
public:
protected:
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
TSubclassOf<UWeaponHitCounterComponent> ComponentClass;
public:
UWeaponHitCounterUpgrade();
UFUNCTION(BlueprintCallable, BlueprintPure)
static FUpgradeValues GetUpgradedValue(AFSDPlayerState* Player, TSubclassOf<AActor> Item, TSubclassOf<UWeaponHitCounterComponent> NewComponentClass);
};