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

UCLASS() More...

#include <DlgExportTwineCommandlet.h>

Inheritance diagram for UDlgExportTwineCommandlet:
[legend]

Public Member Functions

 UDlgExportTwineCommandlet ()
 
FString CreateTwineCustomCss ()
 
FString CreateTwinePassageData (int32 Pid, const FString &Name, const FString &Tags, const FIntPoint &Position, const FIntPoint &Size, const FString &Content)
 
FString CreateTwinePassageDataFromNode (const UDlgDialogue &Dialogue, const UDlgNode &Node, int32 NodeIndex)
 
FString CreateTwinePassageDataLinksFromEdges (const UDlgDialogue &Dialogue, const TArray< FDlgEdge > &Edges, bool bNoTextOnEdges=false)
 
FString CreateTwineStoryData (const FString &Name, const FGuid &DialogueGuid, int32 StartNodeIndex, const FString &PassagesData)
 
bool GetBoxThatConflicts (const FBox2D &Box, FBox2D &OutConflict)
 
FString GetNodeNameFromNode (const UDlgNode &Node, int32 NodeIndex, bool bIsRootNode=false)
 
FIntPoint GetNonConflictingPointFor (const FIntPoint &InPoint, const FIntPoint &Size, const FIntPoint &Padding)
 
FORCEINLINE FIntPoint GraphNodeToTwineCanvas (int32 PositionX, int32 PositionY)
 
int32 Main (const FString &Params) override
 

Static Public Member Functions

static FString CreateTwineTagColorsData ()
 
static FORCEINLINE FString EscapeHtml (const FString &String)
 
static FORCEINLINE FString & EscapeHtml (FString &String)
 

Static Protected Member Functions

static void InitTwinetagNodesColors ()
 

Protected Attributes

bool bFlatten = false
 
TArray< FBox2D > CurrentNodesAreas
 
int32 MinimumGraphX = 0
 
int32 MinimumGraphY = 0
 
FString OutputDirectory
 

Static Protected Attributes

static const FIntPoint SizeLarge
 
static const FIntPoint SizeSmall
 
static const FIntPoint SizeTall
 
static const FIntPoint SizeWide
 
static const FString TagNodeEnd
 
static const FString TagNodeSelectorFirst
 
static const FString TagNodeSelectorRandom
 
static const FString TagNodeSpeech
 
static const FString TagNodeSpeechSequence
 
static const FString TagNodeStart
 
static const FString TagNodeVirtualParent
 
static TMap< FString, FString > TwineTagNodesColorsMap
 

Private Member Functions

 GENERATED_BODY ()
 

Detailed Description

UCLASS()

Definition at line 20 of file DlgExportTwineCommandlet.h.

Constructor & Destructor Documentation

◆ UDlgExportTwineCommandlet()

UDlgExportTwineCommandlet::UDlgExportTwineCommandlet ( )

Definition at line 38 of file DlgExportTwineCommandlet.cpp.

Member Function Documentation

◆ CreateTwineCustomCss()

FString UDlgExportTwineCommandlet::CreateTwineCustomCss ( )

Definition at line 444 of file DlgExportTwineCommandlet.cpp.

Here is the caller graph for this function:

◆ CreateTwinePassageData()

FString UDlgExportTwineCommandlet::CreateTwinePassageData ( int32 Pid,
const FString & Name,
const FString & Tags,
const FIntPoint & Position,
const FIntPoint & Size,
const FString & Content )

Definition at line 436 of file DlgExportTwineCommandlet.cpp.

Here is the caller graph for this function:

◆ CreateTwinePassageDataFromNode()

FString UDlgExportTwineCommandlet::CreateTwinePassageDataFromNode ( const UDlgDialogue & Dialogue,
const UDlgNode & Node,
int32 NodeIndex )

Definition at line 276 of file DlgExportTwineCommandlet.cpp.

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

◆ CreateTwinePassageDataLinksFromEdges()

FString UDlgExportTwineCommandlet::CreateTwinePassageDataLinksFromEdges ( const UDlgDialogue & Dialogue,
const TArray< FDlgEdge > & Edges,
bool bNoTextOnEdges = false )

Definition at line 404 of file DlgExportTwineCommandlet.cpp.

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

◆ CreateTwineStoryData()

FString UDlgExportTwineCommandlet::CreateTwineStoryData ( const FString & Name,
const FGuid & DialogueGuid,
int32 StartNodeIndex,
const FString & PassagesData )

Definition at line 206 of file DlgExportTwineCommandlet.cpp.

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

◆ CreateTwineTagColorsData()

FString UDlgExportTwineCommandlet::CreateTwineTagColorsData ( )
static

Definition at line 450 of file DlgExportTwineCommandlet.cpp.

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

◆ EscapeHtml() [1/2]

static FORCEINLINE FString UDlgExportTwineCommandlet::EscapeHtml ( const FString & String)
inlinestatic

Definition at line 66 of file DlgExportTwineCommandlet.h.

◆ EscapeHtml() [2/2]

static FORCEINLINE FString & UDlgExportTwineCommandlet::EscapeHtml ( FString & String)
inlinestatic

Definition at line 56 of file DlgExportTwineCommandlet.h.

Here is the caller graph for this function:

◆ GENERATED_BODY()

UDlgExportTwineCommandlet::GENERATED_BODY ( )
private

◆ GetBoxThatConflicts()

bool UDlgExportTwineCommandlet::GetBoxThatConflicts ( const FBox2D & Box,
FBox2D & OutConflict )

Definition at line 238 of file DlgExportTwineCommandlet.cpp.

Here is the caller graph for this function:

◆ GetNodeNameFromNode()

FString UDlgExportTwineCommandlet::GetNodeNameFromNode ( const UDlgNode & Node,
int32 NodeIndex,
bool bIsRootNode = false )

Definition at line 399 of file DlgExportTwineCommandlet.cpp.

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

◆ GetNonConflictingPointFor()

FIntPoint UDlgExportTwineCommandlet::GetNonConflictingPointFor ( const FIntPoint & InPoint,
const FIntPoint & Size,
const FIntPoint & Padding )

Definition at line 252 of file DlgExportTwineCommandlet.cpp.

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

◆ GraphNodeToTwineCanvas()

FORCEINLINE FIntPoint UDlgExportTwineCommandlet::GraphNodeToTwineCanvas ( int32 PositionX,
int32 PositionY )
inline

Definition at line 41 of file DlgExportTwineCommandlet.h.

Here is the caller graph for this function:

◆ InitTwinetagNodesColors()

void UDlgExportTwineCommandlet::InitTwinetagNodesColors ( )
staticprotected

Definition at line 466 of file DlgExportTwineCommandlet.cpp.

Here is the caller graph for this function:

◆ Main()

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

Definition at line 48 of file DlgExportTwineCommandlet.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ bFlatten

bool UDlgExportTwineCommandlet::bFlatten = false
protected

Definition at line 84 of file DlgExportTwineCommandlet.h.

◆ CurrentNodesAreas

TArray<FBox2D> UDlgExportTwineCommandlet::CurrentNodesAreas
protected

Definition at line 91 of file DlgExportTwineCommandlet.h.

◆ MinimumGraphX

int32 UDlgExportTwineCommandlet::MinimumGraphX = 0
protected

Definition at line 87 of file DlgExportTwineCommandlet.h.

◆ MinimumGraphY

int32 UDlgExportTwineCommandlet::MinimumGraphY = 0
protected

Definition at line 88 of file DlgExportTwineCommandlet.h.

◆ OutputDirectory

FString UDlgExportTwineCommandlet::OutputDirectory
protected

Definition at line 81 of file DlgExportTwineCommandlet.h.

◆ SizeLarge

const FIntPoint UDlgExportTwineCommandlet::SizeLarge
staticprotected

Definition at line 101 of file DlgExportTwineCommandlet.h.

◆ SizeSmall

const FIntPoint UDlgExportTwineCommandlet::SizeSmall
staticprotected

Definition at line 98 of file DlgExportTwineCommandlet.h.

◆ SizeTall

const FIntPoint UDlgExportTwineCommandlet::SizeTall
staticprotected

Definition at line 100 of file DlgExportTwineCommandlet.h.

◆ SizeWide

const FIntPoint UDlgExportTwineCommandlet::SizeWide
staticprotected

Definition at line 99 of file DlgExportTwineCommandlet.h.

◆ TagNodeEnd

const FString UDlgExportTwineCommandlet::TagNodeEnd
staticprotected

Definition at line 104 of file DlgExportTwineCommandlet.h.

◆ TagNodeSelectorFirst

const FString UDlgExportTwineCommandlet::TagNodeSelectorFirst
staticprotected

Definition at line 108 of file DlgExportTwineCommandlet.h.

◆ TagNodeSelectorRandom

const FString UDlgExportTwineCommandlet::TagNodeSelectorRandom
staticprotected

Definition at line 109 of file DlgExportTwineCommandlet.h.

◆ TagNodeSpeech

const FString UDlgExportTwineCommandlet::TagNodeSpeech
staticprotected

Definition at line 106 of file DlgExportTwineCommandlet.h.

◆ TagNodeSpeechSequence

const FString UDlgExportTwineCommandlet::TagNodeSpeechSequence
staticprotected

Definition at line 107 of file DlgExportTwineCommandlet.h.

◆ TagNodeStart

const FString UDlgExportTwineCommandlet::TagNodeStart
staticprotected

Definition at line 103 of file DlgExportTwineCommandlet.h.

◆ TagNodeVirtualParent

const FString UDlgExportTwineCommandlet::TagNodeVirtualParent
staticprotected

Definition at line 105 of file DlgExportTwineCommandlet.h.

◆ TwineTagNodesColorsMap

TMap< FString, FString > UDlgExportTwineCommandlet::TwineTagNodesColorsMap
staticprotected

Definition at line 96 of file DlgExportTwineCommandlet.h.


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