#pragma once #include "CoreMinimal.h" #include "BehaviorTree/BTDecorator.h" #include "BTDecorator_CheckPlayerCount.generated.h" UCLASS(Blueprintable) class UBTDecorator_CheckPlayerCount : public UBTDecorator { GENERATED_BODY() public: protected: UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true)) int32 playerCount; UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true)) bool AllowLessThanCount; public: UBTDecorator_CheckPlayerCount(); };