#pragma once #include "CoreMinimal.h" #include "StatusEffectItem.h" #include "Templates/SubclassOf.h" #include "AddComponentStatusEffectItem.generated.h" class UActorComponent; UCLASS(Blueprintable, EditInlineNew) class UAddComponentStatusEffectItem : public UStatusEffectItem { GENERATED_BODY() public: protected: UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true)) TSubclassOf ComponentClass; UPROPERTY(BlueprintReadWrite, EditAnywhere, Export, Transient, meta=(AllowPrivateAccess=true)) TWeakObjectPtr AddedComponent; public: UAddComponentStatusEffectItem(); };