// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "IPropertyTypeCustomization.h" #include "PropertyHandle.h" class FDetailWidgetRow; class IDetailChildrenBuilder; /** Details customization for FGameplayEffectEvaluationChannelSettings */ class FGameplayModEvaluationChannelSettingsDetails : public IPropertyTypeCustomization { public: static TSharedRef MakeInstance(); /** Overridden to provide the property name or hide, if necessary */ virtual void CustomizeHeader(TSharedRef StructPropertyHandle, FDetailWidgetRow& HeaderRow, IPropertyTypeCustomizationUtils& StructCustomizationUtils) override; /** Overridden to allow for possibly being hidden */ virtual void CustomizeChildren(TSharedRef StructPropertyHandle, IDetailChildrenBuilder& StructBuilder, IPropertyTypeCustomizationUtils& StructCustomizationUtils) override; private: /** Whether the evaluation channel settings should be visible or not */ bool bShouldBeVisible; };