A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
UDlgDialogue Class ReferenceBlueprintType

UCLASS(BlueprintType, Meta = (DisplayThumbnail = "true")) More...

#include <DlgDialogue.h>

Inheritance diagram for UDlgDialogue:
[legend]

Public Member Functions

int32 AddNode (UDlgNode *NodeToAdd)
 
template<class T >
T * ConstructDialogueNode (TSubclassOf< UDlgNode > DialogueNodeClass=T::StaticClass())
 
bool DeleteAllTextFiles () const
 
bool DeleteTextFileForExtension (const FString &FileExtension) const
 
bool DeleteTextFileForTextFormat (EDlgDialogueTextFormat TextFormat) const
 
void EmptyNodesGUIDToIndexMap ()
 
void ExportToFile () const
 
const TArray< FDlgParticipantClass > & GetAllParticipantClasses () const
 UFUNCTION(BlueprintPure, Category = "Dialogue")
 
void GetAllParticipantNames (TSet< FName > &OutSet) const
 UFUNCTION(BlueprintPure, Category = "Dialogue")
 
void GetAllSpeakerStates (TSet< FName > &OutSet) const
 UFUNCTION(BlueprintPure, Category = "Dialogue")
 
void GetBoolNames (FName ParticipantName, TSet< FName > &OutSet) const
 UFUNCTION(BlueprintPure, Category = "Dialogue")
 
void GetClassBoolNames (FName ParticipantName, TSet< FName > &OutSet) const
 UFUNCTION(BlueprintPure, Category = "Dialogue")
 
void GetClassFloatNames (FName ParticipantName, TSet< FName > &OutSet) const
 UFUNCTION(BlueprintPure, Category = "Dialogue")
 
void GetClassIntNames (FName ParticipantName, TSet< FName > &OutSet) const
 UFUNCTION(BlueprintPure, Category = "Dialogue")
 
void GetClassNameNames (FName ParticipantName, TSet< FName > &OutSet) const
 UFUNCTION(BlueprintPure, Category = "Dialogue")
 
void GetClassTextNames (FName ParticipantName, TSet< FName > &OutSet) const
 UFUNCTION(BlueprintPure, Category = "Dialogue")
 
void GetConditions (FName ParticipantName, TSet< FName > &OutSet) const
 UFUNCTION(BlueprintPure, Category = "Dialogue")
 
void GetCustomEvents (FName ParticipantName, TSet< UClass * > &OutSet) const
 UFUNCTION(BlueprintPure, Category = "Dialogue")
 
FString GetDesc () override
 
FName GetDialogueFName () const
 UFUNCTION(BlueprintPure, Category = "Dialogue")
 
FString GetDialogueName () const
 UFUNCTION(BlueprintPure, Category = "Dialogue")
 
int32 GetDialogueVersion () const
 UFUNCTION(BlueprintPure, Category = "Dialogue")
 
void GetEvents (FName ParticipantName, TSet< FName > &OutSet) const
 UFUNCTION(BlueprintPure, Category = "Dialogue")
 
void GetFloatNames (FName ParticipantName, TSet< FName > &OutSet) const
 UFUNCTION(BlueprintPure, Category = "Dialogue")
 
FGuid GetGUID () const
 UFUNCTION(BlueprintPure, Category = "Dialogue|GUID")
 
void GetIntNames (FName ParticipantName, TSet< FName > &OutSet) const
 UFUNCTION(BlueprintPure, Category = "Dialogue")
 
UDlgNodeGetMutableNodeFromGUID (const FGuid &NodeGUID) const
 UFUNCTION(BlueprintPure, Category = "Dialogue|Data", DisplayName = "Get Node From GUID")
 
UDlgNodeGetMutableNodeFromIndex (int32 NodeIndex) const
 UFUNCTION(BlueprintPure, Category = "Dialogue", DisplayName = "Get Node From Index")
 
UDlgNodeGetMutableStartNode () const
 UFUNCTION(BlueprintPure, Category = "Dialogue", DisplayName = "Get Start Node")
 
void GetNameNames (FName ParticipantName, TSet< FName > &OutSet) const
 UFUNCTION(BlueprintPure, Category = "Dialogue")
 
FGuid GetNodeGUIDForIndex (int32 NodeIndex) const
 UFUNCTION(BlueprintPure, Category = "Dialogue", DisplayName = "Get Node GUID For Index")
 
int32 GetNodeIndexForGUID (const FGuid &NodeGUID) const
 UFUNCTION(BlueprintPure, Category = "Dialogue", DisplayName = "Get Node Index For GUID")
 
const TArray< UDlgNode * > & GetNodes () const
 UFUNCTION(BlueprintPure, Category = "Dialogue")
 
UClass * GetParticipantClass (FName ParticipantName) const
 EDITOR function, it only works if the participant class is setup in the ParticipantsClasses array.
 
const TMap< FName, FDlgParticipantData > & GetParticipantsData () const
 UFUNCTION(BlueprintPure, Category = "Dialogue")
 
int32 GetParticipantsNum () const
 UFUNCTION(BlueprintPure, Category = "Dialogue")
 
const UDlgNodeGetStartNode () const
 
FString GetTextFilePathName (bool bAddExtension=true) const
 
FString GetTextFilePathName (EDlgDialogueTextFormat TextFormat, bool bAddExtension=true) const
 
bool HasGUID () const
 UFUNCTION(BlueprintPure, Category = "Dialogue|GUID")
 
bool HasParticipant (FName ParticipantName) const
 UFUNCTION(BlueprintPure, Category = "Dialogue")
 
void ImportFromFile ()
 
void InitialSyncWithTextFile ()
 
bool IsEndNode (int32 NodeIndex) const
 
bool IsInProjectDirectory () const
 
bool IsValidNodeGUID (const FGuid &NodeGUID) const
 UFUNCTION(BlueprintPure, Category = "Dialogue")
 
bool IsValidNodeIndex (int32 NodeIndex) const
 UFUNCTION(BlueprintPure, Category = "Dialogue")
 
void OnPreAssetSaved ()
 
void PostDuplicate (bool bDuplicateForPIE) override
 
void PostEditImport () override
 
void PostInitProperties () override
 
void PostLoad () override
 
void PostRename (UObject *OldOuter, FName OldName) override
 
void PreSave (const class ITargetPlatform *TargetPlatform) override
 
void RegenerateGUID ()
 
void Serialize (FArchive &Ar) override
 
void SetNode (int32 NodeIndex, UDlgNode *InNode)
 
void SetNodes (const TArray< UDlgNode * > &InNodes)
 
void SetStartNode (UDlgNode *InStartNode)
 
void UpdateAndRefreshData (bool bUpdateTextsNamespacesAndKeys=false)
 

Static Public Member Functions

static FString GetTextFilePathNameFromAssetPathName (const FString &AssetPathName)
 

Protected Attributes

TSet< FName > AllSpeakerStates
 UPROPERTY(VisibleAnywhere, AdvancedDisplay, Category = "Dialogue", Meta = (DlgNoExport))
 
bool bIsSyncedWithTextFile = false
 
bool bWasLoaded = false
 
FGuid GUID
 UPROPERTY(VisibleAnywhere, Category = "Dialogue")
 
FName Name
 UPROPERTY(VisibleAnywhere, Category = "Dialogue")
 
TArray< UDlgNode * > Nodes
 UPROPERTY(AdvancedDisplay, EditFixedSize, Instanced, Meta = (DlgWriteIndex))
 
TMap< FGuid, int32 > NodesGUIDToIndexMap
 UPROPERTY(VisibleAnywhere, AdvancedDisplay, Category = "Dialogue", DisplayName = "Nodes GUID To Index Map")
 
TArray< FDlgParticipantClassParticipantsClasses
 UPROPERTY(EditAnywhere, EditFixedSize, Category = "Dialogue")
 
TMap< FName, FDlgParticipantDataParticipantsData
 UPROPERTY(VisibleAnywhere, AdvancedDisplay, Category = "Dialogue", Meta = (DlgNoExport))
 
UDlgNodeStartNode
 UPROPERTY(Instanced)
 
int32 Version = FDlgDialogueObjectVersion::LatestVersion
 UPROPERTY()
 

Private Member Functions

void AddConditionsDataFromNodeEdges (const UDlgNode *Node, int32 NodeIndex)
 
void AutoFixGraph ()
 
void ExportToFileFormat (EDlgDialogueTextFormat TextFormat) const
 
 GENERATED_BODY ()
 
FDlgParticipantDataGetParticipantDataEntry (FName ParticipantName, FName FallbackParticipantName, bool bCheckNone, const FString &ContextMessage)
 
void ImportFromFileFormat (EDlgDialogueTextFormat TextFormat)
 
void RebuildAndUpdateNode (UDlgNode *Node, const UDlgSystemSettings &Settings, bool bUpdateTextsNamespacesAndKeys)
 
void UpdateGUIDToIndexMap (const UDlgNode *Node, int32 NodeIndex)
 

Detailed Description

UCLASS(BlueprintType, Meta = (DisplayThumbnail = "true"))

Dialogue asset containing the static data of a dialogue Instances can be created in content browser Dialogues have a custom blueprint editor

Definition at line 84 of file DlgDialogue.h.

Member Function Documentation

◆ AddConditionsDataFromNodeEdges()

void UDlgDialogue::AddConditionsDataFromNodeEdges ( const UDlgNode * Node,
int32 NodeIndex )
private

Definition at line 562 of file DlgDialogue.cpp.

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

◆ AddNode()

int32 UDlgDialogue::AddNode ( UDlgNode * NodeToAdd)
inline

Definition at line 614 of file DlgDialogue.h.

Here is the caller graph for this function:

◆ AutoFixGraph()

void UDlgDialogue::AutoFixGraph ( )
private

Tries to fix the internal graph of this Dialogue in the following ways:

  1. If there is no start node, we create one pointing to the first node
  2. If there is no end node, we add one
  3. If a node is not an end node but has no children it will "adopt" the next node

Definition at line 852 of file DlgDialogue.cpp.

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

◆ ConstructDialogueNode()

template<class T >
T * UDlgDialogue::ConstructDialogueNode ( TSubclassOf< UDlgNode > DialogueNodeClass = T::StaticClass())
inline

Definition at line 235 of file DlgDialogue.h.

◆ DeleteAllTextFiles()

bool UDlgDialogue::DeleteAllTextFiles ( ) const

Definition at line 944 of file DlgDialogue.cpp.

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

◆ DeleteTextFileForExtension()

bool UDlgDialogue::DeleteTextFileForExtension ( const FString & FileExtension) const

Definition at line 927 of file DlgDialogue.cpp.

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

◆ DeleteTextFileForTextFormat()

bool UDlgDialogue::DeleteTextFileForTextFormat ( EDlgDialogueTextFormat TextFormat) const

Definition at line 922 of file DlgDialogue.cpp.

Here is the call graph for this function:

◆ EmptyNodesGUIDToIndexMap()

void UDlgDialogue::EmptyNodesGUIDToIndexMap ( )
inline

Definition at line 576 of file DlgDialogue.h.

Here is the caller graph for this function:

◆ ExportToFile()

void UDlgDialogue::ExportToFile ( ) const

Definition at line 483 of file DlgDialogue.cpp.

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

◆ ExportToFileFormat()

void UDlgDialogue::ExportToFileFormat ( EDlgDialogueTextFormat TextFormat) const
private

Definition at line 495 of file DlgDialogue.cpp.

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

◆ GENERATED_BODY()

UDlgDialogue::GENERATED_BODY ( )
private

◆ GetAllParticipantClasses()

const TArray< FDlgParticipantClass > & UDlgDialogue::GetAllParticipantClasses ( ) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 285 of file DlgDialogue.h.

◆ GetAllParticipantNames()

void UDlgDialogue::GetAllParticipantNames ( TSet< FName > & OutSet) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 272 of file DlgDialogue.h.

Here is the caller graph for this function:

◆ GetAllSpeakerStates()

void UDlgDialogue::GetAllSpeakerStates ( TSet< FName > & OutSet) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 467 of file DlgDialogue.h.

◆ GetBoolNames()

void UDlgDialogue::GetBoolNames ( FName ParticipantName,
TSet< FName > & OutSet ) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 375 of file DlgDialogue.h.

Here is the caller graph for this function:

◆ GetClassBoolNames()

void UDlgDialogue::GetClassBoolNames ( FName ParticipantName,
TSet< FName > & OutSet ) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 428 of file DlgDialogue.h.

◆ GetClassFloatNames()

void UDlgDialogue::GetClassFloatNames ( FName ParticipantName,
TSet< FName > & OutSet ) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 415 of file DlgDialogue.h.

◆ GetClassIntNames()

void UDlgDialogue::GetClassIntNames ( FName ParticipantName,
TSet< FName > & OutSet ) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 402 of file DlgDialogue.h.

◆ GetClassNameNames()

void UDlgDialogue::GetClassNameNames ( FName ParticipantName,
TSet< FName > & OutSet ) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 441 of file DlgDialogue.h.

◆ GetClassTextNames()

void UDlgDialogue::GetClassTextNames ( FName ParticipantName,
TSet< FName > & OutSet ) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 454 of file DlgDialogue.h.

◆ GetConditions()

void UDlgDialogue::GetConditions ( FName ParticipantName,
TSet< FName > & OutSet ) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 310 of file DlgDialogue.h.

Here is the caller graph for this function:

◆ GetCustomEvents()

void UDlgDialogue::GetCustomEvents ( FName ParticipantName,
TSet< UClass * > & OutSet ) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 336 of file DlgDialogue.h.

◆ GetDesc()

FString UDlgDialogue::GetDesc ( )
inlineoverride
Returns
a one line description of an object for viewing in the thumbnail view of the generic browser

Definition at line 94 of file DlgDialogue.h.

◆ GetDialogueFName()

FName UDlgDialogue::GetDialogueFName ( ) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 496 of file DlgDialogue.h.

Here is the caller graph for this function:

◆ GetDialogueName()

FString UDlgDialogue::GetDialogueName ( ) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 483 of file DlgDialogue.h.

◆ GetDialogueVersion()

int32 UDlgDialogue::GetDialogueVersion ( ) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 476 of file DlgDialogue.h.

◆ GetEvents()

void UDlgDialogue::GetEvents ( FName ParticipantName,
TSet< FName > & OutSet ) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 323 of file DlgDialogue.h.

Here is the caller graph for this function:

◆ GetFloatNames()

void UDlgDialogue::GetFloatNames ( FName ParticipantName,
TSet< FName > & OutSet ) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 362 of file DlgDialogue.h.

Here is the caller graph for this function:

◆ GetGUID()

FGuid UDlgDialogue::GetGUID ( ) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue|GUID")

Definition at line 503 of file DlgDialogue.h.

Here is the caller graph for this function:

◆ GetIntNames()

void UDlgDialogue::GetIntNames ( FName ParticipantName,
TSet< FName > & OutSet ) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 349 of file DlgDialogue.h.

Here is the caller graph for this function:

◆ GetMutableNodeFromGUID()

UDlgNode * UDlgDialogue::GetMutableNodeFromGUID ( const FGuid & NodeGUID) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue|Data", DisplayName = "Get Node From GUID")

Definition at line 567 of file DlgDialogue.h.

Here is the caller graph for this function:

◆ GetMutableNodeFromIndex()

UDlgNode * UDlgDialogue::GetMutableNodeFromIndex ( int32 NodeIndex) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue", DisplayName = "Get Node From Index")

Definition at line 561 of file DlgDialogue.h.

Here is the caller graph for this function:

◆ GetMutableStartNode()

UDlgNode * UDlgDialogue::GetMutableStartNode ( ) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue", DisplayName = "Get Start Node")

Definition at line 526 of file DlgDialogue.h.

◆ GetNameNames()

void UDlgDialogue::GetNameNames ( FName ParticipantName,
TSet< FName > & OutSet ) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 388 of file DlgDialogue.h.

Here is the caller graph for this function:

◆ GetNodeGUIDForIndex()

FGuid UDlgDialogue::GetNodeGUIDForIndex ( int32 NodeIndex) const
BlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue", DisplayName = "Get Node GUID For Index")

Definition at line 780 of file DlgDialogue.cpp.

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

◆ GetNodeIndexForGUID()

int32 UDlgDialogue::GetNodeIndexForGUID ( const FGuid & NodeGUID) const
BlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue", DisplayName = "Get Node Index For GUID")

Definition at line 791 of file DlgDialogue.cpp.

Here is the caller graph for this function:

◆ GetNodes()

const TArray< UDlgNode * > & UDlgDialogue::GetNodes ( ) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 519 of file DlgDialogue.h.

Here is the caller graph for this function:

◆ GetParticipantClass()

UClass * UDlgDialogue::GetParticipantClass ( FName ParticipantName) const
inlineBlueprintPure

EDITOR function, it only works if the participant class is setup in the ParticipantsClasses array.

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 292 of file DlgDialogue.h.

Here is the caller graph for this function:

◆ GetParticipantDataEntry()

FDlgParticipantData & UDlgDialogue::GetParticipantDataEntry ( FName ParticipantName,
FName FallbackParticipantName,
bool bCheckNone,
const FString & ContextMessage )
private

Definition at line 541 of file DlgDialogue.cpp.

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

◆ GetParticipantsData()

const TMap< FName, FDlgParticipantData > & UDlgDialogue::GetParticipantsData ( ) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 251 of file DlgDialogue.h.

Here is the caller graph for this function:

◆ GetParticipantsNum()

int32 UDlgDialogue::GetParticipantsNum ( ) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 265 of file DlgDialogue.h.

◆ GetStartNode()

const UDlgNode & UDlgDialogue::GetStartNode ( ) const
inline

Definition at line 527 of file DlgDialogue.h.

Here is the caller graph for this function:

◆ GetTextFilePathName() [1/2]

FString UDlgDialogue::GetTextFilePathName ( bool bAddExtension = true) const
Parameters
bAddExtensionIf this adds the .dlg or .dlg.json extension depending on the TextFormat.
Returns
The path (as a relative path) and name of the text file, or empty string if something is wrong.

Definition at line 900 of file DlgDialogue.cpp.

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

◆ GetTextFilePathName() [2/2]

FString UDlgDialogue::GetTextFilePathName ( EDlgDialogueTextFormat TextFormat,
bool bAddExtension = true ) const

Definition at line 905 of file DlgDialogue.cpp.

Here is the call graph for this function:

◆ GetTextFilePathNameFromAssetPathName()

FString UDlgDialogue::GetTextFilePathNameFromAssetPathName ( const FString & AssetPathName)
static
Returns
the text file path name (as a relative path) from the asset path name. NOTE: does not have extension, call GetTextFileExtension for that.

Definition at line 959 of file DlgDialogue.cpp.

Here is the caller graph for this function:

◆ HasGUID()

bool UDlgDialogue::HasGUID ( ) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue|GUID")

Definition at line 512 of file DlgDialogue.h.

Here is the caller graph for this function:

◆ HasParticipant()

bool UDlgDialogue::HasParticipant ( FName ParticipantName) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 258 of file DlgDialogue.h.

◆ ImportFromFile()

void UDlgDialogue::ImportFromFile ( )

Definition at line 358 of file DlgDialogue.cpp.

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

◆ ImportFromFileFormat()

void UDlgDialogue::ImportFromFileFormat ( EDlgDialogueTextFormat TextFormat)
private

Definition at line 371 of file DlgDialogue.cpp.

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

◆ InitialSyncWithTextFile()

void UDlgDialogue::InitialSyncWithTextFile ( )
inline

Definition at line 594 of file DlgDialogue.h.

◆ IsEndNode()

bool UDlgDialogue::IsEndNode ( int32 NodeIndex) const

Definition at line 842 of file DlgDialogue.cpp.

Here is the caller graph for this function:

◆ IsInProjectDirectory()

bool UDlgDialogue::IsInProjectDirectory ( ) const

Definition at line 954 of file DlgDialogue.cpp.

Here is the call graph for this function:

◆ IsValidNodeGUID()

bool UDlgDialogue::IsValidNodeGUID ( const FGuid & NodeGUID) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 539 of file DlgDialogue.h.

Here is the caller graph for this function:

◆ IsValidNodeIndex()

bool UDlgDialogue::IsValidNodeIndex ( int32 NodeIndex) const
inlineBlueprintPure

UFUNCTION(BlueprintPure, Category = "Dialogue")

Definition at line 533 of file DlgDialogue.h.

Here is the caller graph for this function:

◆ OnPreAssetSaved()

void UDlgDialogue::OnPreAssetSaved ( )

Definition at line 471 of file DlgDialogue.cpp.

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

◆ PostDuplicate()

void UDlgDialogue::PostDuplicate ( bool bDuplicateForPIE)
override

Called after duplication & serialization and before PostLoad. Used to e.g. make sure UStaticMesh's UModel gets copied as well. Note: NOT called on components on actor duplication (alt-drag or copy-paste). Use PostEditImport as well to cover that case.

Definition at line 205 of file DlgDialogue.cpp.

Here is the call graph for this function:

◆ PostEditImport()

void UDlgDialogue::PostEditImport ( )
override

Called after importing property values for this object (paste, duplicate or .t3d import) Allow the object to perform any cleanup for properties which shouldn't be duplicated or are unsupported by the script serialization

Definition at line 218 of file DlgDialogue.cpp.

Here is the call graph for this function:

◆ PostInitProperties()

void UDlgDialogue::PostInitProperties ( )
override

Called after the C++ constructor and after the properties have been initialized, including those loaded from config. mainly this is to emulate some behavior of when the constructor was called after the properties were initialized. This creates the DlgGraph for this Dialogue.

Definition at line 164 of file DlgDialogue.cpp.

Here is the call graph for this function:

◆ PostLoad()

void UDlgDialogue::PostLoad ( )
override

Do any object-specific cleanup required immediately after loading an object, and immediately after any undo/redo.

Definition at line 75 of file DlgDialogue.cpp.

Here is the call graph for this function:

◆ PostRename()

void UDlgDialogue::PostRename ( UObject * OldOuter,
FName OldName )
override

Executed after Rename is executed.

Definition at line 199 of file DlgDialogue.cpp.

Here is the call graph for this function:

◆ PreSave()

void UDlgDialogue::PreSave ( const class ITargetPlatform * TargetPlatform)
override

Presave function. Gets called once before an object gets serialized for saving. This function is necessary for save time computation as Serialize gets called three times per object from within SavePackage.

Warning
: Objects created from within PreSave will NOT have PreSave called on them!!!

Definition at line 55 of file DlgDialogue.cpp.

Here is the call graph for this function:

◆ RebuildAndUpdateNode()

void UDlgDialogue::RebuildAndUpdateNode ( UDlgNode * Node,
const UDlgSystemSettings & Settings,
bool bUpdateTextsNamespacesAndKeys )
private

Definition at line 589 of file DlgDialogue.cpp.

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

◆ RegenerateGUID()

void UDlgDialogue::RegenerateGUID ( )
inline

Definition at line 506 of file DlgDialogue.h.

Here is the caller graph for this function:

◆ Serialize()

void UDlgDialogue::Serialize ( FArchive & Ar)
override

UObject serializer.

Definition at line 63 of file DlgDialogue.cpp.

◆ SetNode()

void UDlgDialogue::SetNode ( int32 NodeIndex,
UDlgNode * InNode )

Definition at line 821 of file DlgDialogue.cpp.

Here is the call graph for this function:

◆ SetNodes()

void UDlgDialogue::SetNodes ( const TArray< UDlgNode * > & InNodes)

Definition at line 812 of file DlgDialogue.cpp.

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

◆ SetStartNode()

void UDlgDialogue::SetStartNode ( UDlgNode * InStartNode)

Definition at line 801 of file DlgDialogue.cpp.

Here is the caller graph for this function:

◆ UpdateAndRefreshData()

void UDlgDialogue::UpdateAndRefreshData ( bool bUpdateTextsNamespacesAndKeys = false)

Definition at line 607 of file DlgDialogue.cpp.

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

◆ UpdateGUIDToIndexMap()

void UDlgDialogue::UpdateGUIDToIndexMap ( const UDlgNode * Node,
int32 NodeIndex )
private

Definition at line 832 of file DlgDialogue.cpp.

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

Member Data Documentation

◆ AllSpeakerStates

TSet<FName> UDlgDialogue::AllSpeakerStates
protectedAdvancedDisplayVisibleAnywhere

UPROPERTY(VisibleAnywhere, AdvancedDisplay, Category = "Dialogue", Meta = (DlgNoExport))

Definition at line 704 of file DlgDialogue.h.

◆ bIsSyncedWithTextFile

bool UDlgDialogue::bIsSyncedWithTextFile = false
protected

Definition at line 734 of file DlgDialogue.h.

◆ bWasLoaded

bool UDlgDialogue::bWasLoaded = false
protected

Definition at line 757 of file DlgDialogue.h.

◆ GUID

FGuid UDlgDialogue::GUID
protectedVisibleAnywhere

UPROPERTY(VisibleAnywhere, Category = "Dialogue")

Definition at line 680 of file DlgDialogue.h.

◆ Name

FName UDlgDialogue::Name
protectedVisibleAnywhere

UPROPERTY(VisibleAnywhere, Category = "Dialogue")

Definition at line 673 of file DlgDialogue.h.

◆ Nodes

TArray<UDlgNode*> UDlgDialogue::Nodes
protectedAdvancedDisplayEditFixedSizeInstanced

UPROPERTY(AdvancedDisplay, EditFixedSize, Instanced, Meta = (DlgWriteIndex))

Definition at line 723 of file DlgDialogue.h.

◆ NodesGUIDToIndexMap

TMap<FGuid, int32> UDlgDialogue::NodesGUIDToIndexMap
protectedAdvancedDisplayVisibleAnywhere

UPROPERTY(VisibleAnywhere, AdvancedDisplay, Category = "Dialogue", DisplayName = "Nodes GUID To Index Map")

Definition at line 731 of file DlgDialogue.h.

◆ ParticipantsClasses

TArray<FDlgParticipantClass> UDlgDialogue::ParticipantsClasses
protectedEditAnywhereEditFixedSize

UPROPERTY(EditAnywhere, EditFixedSize, Category = "Dialogue")

Definition at line 688 of file DlgDialogue.h.

◆ ParticipantsData

TMap<FName, FDlgParticipantData> UDlgDialogue::ParticipantsData
protectedAdvancedDisplayVisibleAnywhere

UPROPERTY(VisibleAnywhere, AdvancedDisplay, Category = "Dialogue", Meta = (DlgNoExport))

Definition at line 696 of file DlgDialogue.h.

◆ StartNode

UDlgNode* UDlgDialogue::StartNode
protectedInstanced

UPROPERTY(Instanced)

Definition at line 712 of file DlgDialogue.h.

◆ Version

int32 UDlgDialogue::Version = FDlgDialogueObjectVersion::LatestVersion
protected

UPROPERTY()

Definition at line 666 of file DlgDialogue.h.


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