4#include "IPropertyTypeCustomization.h"
5#include "Layout/Visibility.h"
22 static TSharedRef<IPropertyTypeCustomization>
MakeInstance() {
return MakeShared<Self>(); }
34 FDetailWidgetRow& HeaderRow,
35 IPropertyTypeCustomizationUtils& StructCustomizationUtils)
override;
45 IDetailChildrenBuilder& StructBuilder,
46 IPropertyTypeCustomizationUtils& StructCustomizationUtils)
override;
51 TArray<FName> OutArray;
70 const bool bSettingsShow =
74 return bShowTextProperty && bSettingsShow ? EVisibility::Visible : EVisibility::Hidden;
TArray< FName > GetAllDialoguesSpeakerStates() const
FDialogueEdge_Details Self
TSharedPtr< IPropertyHandle > TextPropertyHandle
void CustomizeChildren(TSharedRef< IPropertyHandle > StructPropertyHandle, IDetailChildrenBuilder &StructBuilder, IPropertyTypeCustomizationUtils &StructCustomizationUtils) override
TSharedPtr< FDialogueMultiLineEditableTextBox_CustomRowHelper > TextPropertyRow
EVisibility GetSpeakerStateVisibility() const
void HandleTextCommitted(const FText &InText, ETextCommit::Type CommitInfo)
void HandleSpeakerStateCommitted(const FText &InSearchText, ETextCommit::Type CommitInfo)
void HandleTextChanged(const FText &InText)
void CustomizeHeader(TSharedRef< IPropertyHandle > StructPropertyHandle, FDetailWidgetRow &HeaderRow, IPropertyTypeCustomizationUtils &StructCustomizationUtils) override
TSharedPtr< IPropertyHandle > StructPropertyHandle
static TSharedRef< IPropertyTypeCustomization > MakeInstance()
TSharedPtr< FDialogueTextPropertyPickList_CustomRowHelper > SpeakerStatePropertyRow
EVisibility GetTextVisibility() const
UCLASS(BlueprintType, Meta = (DisplayThumbnail = "true"))
static void GetAllDialoguesSpeakerStates(TArray< FName > &OutArray)
UFUNCTION(BlueprintPure, Category = "Dialogue|Data")
UCLASS(Config = Engine, DefaultConfig, meta = (DisplayName = "Dialogue System Settings"))
EDlgSpeakerStateVisibility DialogueSpeakerStateVisibility
UPROPERTY(Category = "Dialogue Node Data", Config, EditAnywhere, DisplayName = "SpeakerState Visibili...