StateTypePropertyMultiBindCustom.h
1 // Copyright (C) 2025 Radaway Software LLC. All Rights Reserved. 2 3 #pragma once 4 5 #include "CoreMinimal.h" 6 #include "IDetailCustomization.h" 7 #include "IPropertyTypeCustomization.h" 8 9 /** 10 * Provides customizations from the StateTypePropertyMultiBind when viewed in all details. 11 * Features include a struct or class picker, better formatting, and strongly referenced 12 * property path pickers. 13 */ 14 class REASONABLEPLANNINGAIEDITOR_API StateTypePropertyMultiBindCustom : public IPropertyTypeCustomization 15 { 16 public: 17 StateTypePropertyMultiBindCustom(); 18 19 /** IPropertyTypeCustomization **/ 20 virtual void CustomizeChildren(TSharedRef<IPropertyHandle> StructPropertyHandle, IDetailChildrenBuilder& StructBuilder, IPropertyTypeCustomizationUtils& StructCustomizationUtils) override; 21 virtual void CustomizeHeader(TSharedRef<IPropertyHandle> StructPropertyHandle, FDetailWidgetRow& HeaderRow, IPropertyTypeCustomizationUtils& StructCustomizationUtils) override; 22 23 static TSharedRef<IPropertyTypeCustomization> MakeInstance(); 24 };