A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
FDialogueTextArgument_Details Class Reference

#include <DialogueTextArgument_Details.h>

Inheritance diagram for FDialogueTextArgument_Details:
[legend]

Public Member Functions

void CustomizeChildren (TSharedRef< IPropertyHandle > StructPropertyHandle, IDetailChildrenBuilder &StructBuilder, IPropertyTypeCustomizationUtils &StructCustomizationUtils) override
 
void CustomizeHeader (TSharedRef< IPropertyHandle > StructPropertyHandle, FDetailWidgetRow &HeaderRow, IPropertyTypeCustomizationUtils &StructCustomizationUtils) override
 

Static Public Member Functions

static TSharedRef< IPropertyTypeCustomizationMakeInstance ()
 

Private Types

typedef FDialogueTextArgument_Details Self
 

Private Member Functions

TArray< FName > GetAllDialoguesParticipantNames () const
 
TArray< FName > GetAllDialoguesVariableNames () const
 
TArray< FName > GetCurrentDialogueParticipantNames () const
 
TArray< FName > GetCurrentDialogueVariableNames () const
 
EVisibility GetCustomTextArgumentVisibility () const
 
TArray< FName > GetDialogueVariableNames (bool bCurrentOnly) const
 
EVisibility GetVariableNameVisibility () const
 
void HandleTextCommitted (const FText &InSearchText, ETextCommit::Type CommitInfo) const
 
void OnArgumentTypeChanged (bool bForceRefresh)
 

Private Attributes

EDlgTextArgumentType ArgumentType = EDlgTextArgumentType::DisplayName
 
TSharedPtr< IPropertyHandle > ArgumentTypePropertyHandle
 
IDetailPropertyRow * CustomTextArgumentPropertyRow = nullptr
 
TSharedPtr< FDialogueObject_CustomRowHelperCustomTextArgumentPropertyRow_CustomDisplay
 
UDlgDialogueDialogue = nullptr
 
TSharedPtr< IPropertyHandle > ParticipantNamePropertyHandle
 
TSharedPtr< FDialogueTextPropertyPickList_CustomRowHelperParticipantNamePropertyRow
 
TSharedPtr< IPropertyUtilities > PropertyUtils
 
TSharedPtr< IPropertyHandle > StructPropertyHandle
 
TSharedPtr< FDialogueTextPropertyPickList_CustomRowHelperVariableNamePropertyRow
 

Detailed Description

How the details panel renders the FDlgTextArgument See FDlgSystemEditorModule::StartupModule for usage.

Definition at line 19 of file DialogueTextArgument_Details.h.

Member Typedef Documentation

◆ Self

Member Function Documentation

◆ CustomizeChildren()

void FDialogueTextArgument_Details::CustomizeChildren ( TSharedRef< IPropertyHandle > StructPropertyHandle,
IDetailChildrenBuilder & StructBuilder,
IPropertyTypeCustomizationUtils & StructCustomizationUtils )
override

Called when the children of the property should be customized or extra rows added

Parameters
StructPropertyHandleHandle to the property being customized
StructBuilderA builder for adding children
StructCustomizationUtilsUtilities for customization

Definition at line 48 of file DialogueTextArgument_Details.cpp.

Here is the call graph for this function:

◆ CustomizeHeader()

void FDialogueTextArgument_Details::CustomizeHeader ( TSharedRef< IPropertyHandle > StructPropertyHandle,
FDetailWidgetRow & HeaderRow,
IPropertyTypeCustomizationUtils & StructCustomizationUtils )
override

IPropertyTypeCustomization interface Called when the header of the property (the row in the details panel where the property is shown) If nothing is added to the row, the header is not displayed

Parameters
StructPropertyHandleHandle to the property being customized
HeaderRowA row that widgets can be added to
StructCustomizationUtilsUtilities for customization

Definition at line 21 of file DialogueTextArgument_Details.cpp.

Here is the call graph for this function:

◆ GetAllDialoguesParticipantNames()

TArray< FName > FDialogueTextArgument_Details::GetAllDialoguesParticipantNames ( ) const
inlineprivate

Gets the ParticipantNames from all Dialogues.

Definition at line 83 of file DialogueTextArgument_Details.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetAllDialoguesVariableNames()

TArray< FName > FDialogueTextArgument_Details::GetAllDialoguesVariableNames ( ) const
inlineprivate

Gets all the event name suggestions depending on EventType from all Dialogues.

Definition at line 68 of file DialogueTextArgument_Details.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCurrentDialogueParticipantNames()

TArray< FName > FDialogueTextArgument_Details::GetCurrentDialogueParticipantNames ( ) const
inlineprivate

Gets the current Dialogue Participant Names.

Definition at line 91 of file DialogueTextArgument_Details.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCurrentDialogueVariableNames()

TArray< FName > FDialogueTextArgument_Details::GetCurrentDialogueVariableNames ( ) const
inlineprivate

Gets all the event name suggestions depending on EventType from the current Dialogue

Definition at line 74 of file DialogueTextArgument_Details.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCustomTextArgumentVisibility()

EVisibility FDialogueTextArgument_Details::GetCustomTextArgumentVisibility ( ) const
inlineprivate

Definition at line 62 of file DialogueTextArgument_Details.h.

Here is the caller graph for this function:

◆ GetDialogueVariableNames()

TArray< FName > FDialogueTextArgument_Details::GetDialogueVariableNames ( bool bCurrentOnly) const
private

Definition at line 132 of file DialogueTextArgument_Details.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetVariableNameVisibility()

EVisibility FDialogueTextArgument_Details::GetVariableNameVisibility ( ) const
inlineprivate

Definition at line 55 of file DialogueTextArgument_Details.h.

Here is the caller graph for this function:

◆ HandleTextCommitted()

void FDialogueTextArgument_Details::HandleTextCommitted ( const FText & InSearchText,
ETextCommit::Type CommitInfo ) const
inlineprivate

Handler for when text in the editable text box changed

Definition at line 97 of file DialogueTextArgument_Details.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MakeInstance()

static TSharedRef< IPropertyTypeCustomization > FDialogueTextArgument_Details::MakeInstance ( )
inlinestatic

Definition at line 24 of file DialogueTextArgument_Details.h.

Here is the caller graph for this function:

◆ OnArgumentTypeChanged()

void FDialogueTextArgument_Details::OnArgumentTypeChanged ( bool bForceRefresh)
private

Definition at line 115 of file DialogueTextArgument_Details.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ ArgumentType

EDlgTextArgumentType FDialogueTextArgument_Details::ArgumentType = EDlgTextArgumentType::DisplayName
private

Definition at line 107 of file DialogueTextArgument_Details.h.

◆ ArgumentTypePropertyHandle

TSharedPtr<IPropertyHandle> FDialogueTextArgument_Details::ArgumentTypePropertyHandle
private

Definition at line 114 of file DialogueTextArgument_Details.h.

◆ CustomTextArgumentPropertyRow

IDetailPropertyRow* FDialogueTextArgument_Details::CustomTextArgumentPropertyRow = nullptr
private

Definition at line 123 of file DialogueTextArgument_Details.h.

◆ CustomTextArgumentPropertyRow_CustomDisplay

TSharedPtr<FDialogueObject_CustomRowHelper> FDialogueTextArgument_Details::CustomTextArgumentPropertyRow_CustomDisplay
private

Definition at line 124 of file DialogueTextArgument_Details.h.

◆ Dialogue

UDlgDialogue* FDialogueTextArgument_Details::Dialogue = nullptr
private

Hold a reference to dialogue we are displaying.

Definition at line 127 of file DialogueTextArgument_Details.h.

◆ ParticipantNamePropertyHandle

TSharedPtr<IPropertyHandle> FDialogueTextArgument_Details::ParticipantNamePropertyHandle
private

Definition at line 111 of file DialogueTextArgument_Details.h.

◆ ParticipantNamePropertyRow

TSharedPtr<FDialogueTextPropertyPickList_CustomRowHelper> FDialogueTextArgument_Details::ParticipantNamePropertyRow
private

Definition at line 120 of file DialogueTextArgument_Details.h.

◆ PropertyUtils

TSharedPtr<IPropertyUtilities> FDialogueTextArgument_Details::PropertyUtils
private

Definition at line 117 of file DialogueTextArgument_Details.h.

◆ StructPropertyHandle

TSharedPtr<IPropertyHandle> FDialogueTextArgument_Details::StructPropertyHandle
private

Definition at line 110 of file DialogueTextArgument_Details.h.

◆ VariableNamePropertyRow

TSharedPtr<FDialogueTextPropertyPickList_CustomRowHelper> FDialogueTextArgument_Details::VariableNamePropertyRow
private

Definition at line 121 of file DialogueTextArgument_Details.h.


The documentation for this class was generated from the following files: