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

UCLASS() More...

#include <DlgHumanReadableTextCommandlet.h>

Inheritance diagram for UDlgHumanReadableTextCommandlet:
[legend]

Public Member Functions

 UDlgHumanReadableTextCommandlet ()
 
bool ExportDialogueToHumanReadableFormat (const UDlgDialogue &Dialogue, FDlgDialogue_FormatHumanReadable &OutFormat)
 
bool ImportHumanReadableFormatIntoDialogue (const FDlgDialogue_FormatHumanReadable &Format, UDlgDialogue *Dialogue)
 
bool IsEdgeTextDefault (const FText &EdgeText)
 
int32 Main (const FString &Params) override
 

Protected Member Functions

int32 Export ()
 
int32 Import ()
 

Static Protected Member Functions

static void ExportNodeEdgesToHumanReadableFormat (const TArray< FDlgEdge > &Edges, TArray< FDlgEdge_FormatHumanReadable > &OutEdges)
 
static bool ExportNodeToContext (const UDlgNode *Node, FDlgNodeContext_FormatHumanReadable &OutContext)
 
static bool SetGraphNodesNewEdgesText (UDialogueGraphNode *GraphNode, const TArray< FDlgEdge_FormatHumanReadable > &Edges, int32 NodeIndex, const UDlgDialogue *Dialogue)
 

Protected Attributes

bool bExport = false
 
bool bImport = false
 
bool bSaveAllDialogues = false
 
FString OutputInputDirectory
 
TArray< UPackage * > PackagesToSave
 
const UDlgSystemSettingsSettings = nullptr
 

Static Protected Attributes

static const TCHAR * FileExtension = TEXT(".dlg_human.json")
 
static constexpr int32 RootNodeIndex = INDEX_NONE
 

Private Member Functions

 GENERATED_BODY ()
 

Detailed Description

UCLASS()

Definition at line 217 of file DlgHumanReadableTextCommandlet.h.

Constructor & Destructor Documentation

◆ UDlgHumanReadableTextCommandlet()

UDlgHumanReadableTextCommandlet::UDlgHumanReadableTextCommandlet ( )

Definition at line 24 of file DlgHumanReadableTextCommandlet.cpp.

Member Function Documentation

◆ Export()

int32 UDlgHumanReadableTextCommandlet::Export ( )
protected

Definition at line 105 of file DlgHumanReadableTextCommandlet.cpp.

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

◆ ExportDialogueToHumanReadableFormat()

bool UDlgHumanReadableTextCommandlet::ExportDialogueToHumanReadableFormat ( const UDlgDialogue & Dialogue,
FDlgDialogue_FormatHumanReadable & OutFormat )

Definition at line 225 of file DlgHumanReadableTextCommandlet.cpp.

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

◆ ExportNodeEdgesToHumanReadableFormat()

void UDlgHumanReadableTextCommandlet::ExportNodeEdgesToHumanReadableFormat ( const TArray< FDlgEdge > & Edges,
TArray< FDlgEdge_FormatHumanReadable > & OutEdges )
staticprotected

Definition at line 322 of file DlgHumanReadableTextCommandlet.cpp.

Here is the caller graph for this function:

◆ ExportNodeToContext()

bool UDlgHumanReadableTextCommandlet::ExportNodeToContext ( const UDlgNode * Node,
FDlgNodeContext_FormatHumanReadable & OutContext )
staticprotected

Definition at line 291 of file DlgHumanReadableTextCommandlet.cpp.

Here is the call graph for this function:

◆ GENERATED_BODY()

UDlgHumanReadableTextCommandlet::GENERATED_BODY ( )
private

◆ Import()

int32 UDlgHumanReadableTextCommandlet::Import ( )
protected

Definition at line 165 of file DlgHumanReadableTextCommandlet.cpp.

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

◆ ImportHumanReadableFormatIntoDialogue()

bool UDlgHumanReadableTextCommandlet::ImportHumanReadableFormatIntoDialogue ( const FDlgDialogue_FormatHumanReadable & Format,
UDlgDialogue * Dialogue )

Definition at line 339 of file DlgHumanReadableTextCommandlet.cpp.

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

◆ IsEdgeTextDefault()

bool UDlgHumanReadableTextCommandlet::IsEdgeTextDefault ( const FText & EdgeText)

Definition at line 523 of file DlgHumanReadableTextCommandlet.cpp.

◆ Main()

int32 UDlgHumanReadableTextCommandlet::Main ( const FString & Params)
override

Definition at line 33 of file DlgHumanReadableTextCommandlet.cpp.

Here is the call graph for this function:

◆ SetGraphNodesNewEdgesText()

bool UDlgHumanReadableTextCommandlet::SetGraphNodesNewEdgesText ( UDialogueGraphNode * GraphNode,
const TArray< FDlgEdge_FormatHumanReadable > & Edges,
int32 NodeIndex,
const UDlgDialogue * Dialogue )
staticprotected

Definition at line 496 of file DlgHumanReadableTextCommandlet.cpp.

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

Member Data Documentation

◆ bExport

bool UDlgHumanReadableTextCommandlet::bExport = false
protected

Definition at line 252 of file DlgHumanReadableTextCommandlet.h.

◆ bImport

bool UDlgHumanReadableTextCommandlet::bImport = false
protected

Definition at line 253 of file DlgHumanReadableTextCommandlet.h.

◆ bSaveAllDialogues

bool UDlgHumanReadableTextCommandlet::bSaveAllDialogues = false
protected

Definition at line 251 of file DlgHumanReadableTextCommandlet.h.

◆ FileExtension

const TCHAR * UDlgHumanReadableTextCommandlet::FileExtension = TEXT(".dlg_human.json")
staticprotected

Definition at line 256 of file DlgHumanReadableTextCommandlet.h.

◆ OutputInputDirectory

FString UDlgHumanReadableTextCommandlet::OutputInputDirectory
protected

Definition at line 246 of file DlgHumanReadableTextCommandlet.h.

◆ PackagesToSave

TArray<UPackage*> UDlgHumanReadableTextCommandlet::PackagesToSave
protected

Definition at line 248 of file DlgHumanReadableTextCommandlet.h.

◆ RootNodeIndex

constexpr int32 UDlgHumanReadableTextCommandlet::RootNodeIndex = INDEX_NONE
staticconstexprprotected

Definition at line 255 of file DlgHumanReadableTextCommandlet.h.

◆ Settings

const UDlgSystemSettings* UDlgHumanReadableTextCommandlet::Settings = nullptr
protected

Definition at line 249 of file DlgHumanReadableTextCommandlet.h.


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