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

37 lines
1.1 KiB
C++
Executable file

#pragma once
#include "CoreMinimal.h"
#include "FloatPerkComponent.h"
#include "Templates/SubclassOf.h"
#include "ShieldLinkComponent.generated.h"
class APlayerCharacter;
class UStatusEffect;
UCLASS(Blueprintable, ClassGroup=Custom, meta=(BlueprintSpawnableComponent))
class UShieldLinkComponent : public UFloatPerkComponent {
GENERATED_BODY()
public:
protected:
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
TSubclassOf<UStatusEffect> BoostedStatusEffect;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
UStatusEffect* BoostedStatusEffectInstance;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
float LinkDistance;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
TSet<APlayerCharacter*> LinkedCharacters;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
TSubclassOf<UStatusEffect> LinkStatusEffect;
public:
UShieldLinkComponent();
protected:
UFUNCTION(BlueprintCallable)
void TimerFunction();
};