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

25 lines
782 B
C++
Executable file

#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "SpawnEffectsArray.h"
#include "SpawnEffectsComponent.generated.h"
class UMaterialInstance;
UCLASS(Blueprintable, ClassGroup=Custom, meta=(BlueprintSpawnableComponent))
class USpawnEffectsComponent : public UActorComponent {
GENERATED_BODY()
public:
protected:
UPROPERTY(BlueprintReadWrite, EditAnywhere, Replicated, meta=(AllowPrivateAccess=true))
FSpawnEffectsArray ActiveEffects;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
UMaterialInstance* BiomeMaterialOverride;
public:
USpawnEffectsComponent();
virtual void GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const override;
};