A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
DialogueCommands.cpp
Go to the documentation of this file.
1// Copyright Csaba Molnar, Daniel Butum. All Rights Reserved.
2#include "DialogueCommands.h"
3
5// DlgEditorCommands
6#define LOCTEXT_NAMESPACE "DialogueCommands"
7
9{
10 UI_COMMAND(
12 "Reload Data",
13 "Reloads the Dialogue data from the .dlg text file with the same name in the folder",
14 EUserInterfaceActionType::Button, FInputChord()
15 );
16
17 UI_COMMAND(
19 "Show primary/secondary edges",
20 "Toggles the viewing of the primary/secondary edges.",
21 EUserInterfaceActionType::ToggleButton, FInputChord()
22 );
23
24 UI_COMMAND(
26 "Draws the primary edges",
27 "Toggles the drawing of the primary edges",
28 EUserInterfaceActionType::ToggleButton, FInputChord()
29 );
30
31 UI_COMMAND(
33 "Draws the secondary edges",
34 "Toggles the drawing of the secondary edges",
35 EUserInterfaceActionType::ToggleButton, FInputChord()
36 );
37
38 UI_COMMAND(
40 "Convert to speech nodes",
41 "Converts/breaks the speech sequence node to a list of speech node.",
42 EUserInterfaceActionType::Button, FInputChord()
43 );
44
45 UI_COMMAND(
47 "Converts selected Speech node(s) to a Speech Sequence Node",
48 "Converts selected (compresses) linear Speech node(s) to a Speech Sequence Node",
49 EUserInterfaceActionType::Button, FInputChord()
50 );
51
52 UI_COMMAND(
54 "Save All Dialogues...",
55 "Saves all dialogues to the disk",
56 EUserInterfaceActionType::Button, FInputChord()
57 );
58
59 UI_COMMAND(
61 "Delete All Dialogues Text Files...",
62 "Delete all dialogues text files on the disk from all existing known text formats and from the Settings AdditionalTextFormatFileExtensionsToLookFor",
63 EUserInterfaceActionType::Button, FInputChord()
64 );
65
66 UI_COMMAND(
68 "Delete Current Dialogue Text Files...",
69 "Delete all text files of the CURRENT Dialogue on the disk from all existing known text formats and from the Settings AdditionalTextFormatFileExtensionsToLookFor",
70 EUserInterfaceActionType::Button, FInputChord()
71 );
72
73 UI_COMMAND(
75 "Not Yet: Plugins...",
76 "Navigates to the Not Yet Plugins page",
77 EUserInterfaceActionType::Button, FInputChord()
78 );
79
80 UI_COMMAND(
82 "Marketplace...",
83 "Navigates to the Dialogue Unreal Marketplace page",
84 EUserInterfaceActionType::Button, FInputChord()
85 );
86
87 UI_COMMAND(
89 "Wiki/Documentation...",
90 "Navigates to the Dialogue System Wiki/Documentation page",
91 EUserInterfaceActionType::Button, FInputChord()
92 );
93
94 UI_COMMAND(
96 "Discord...",
97 "Navigates to the Dialogue System Discord server",
98 EUserInterfaceActionType::Button, FInputChord()
99 );
100
101 UI_COMMAND(
102 OpenForum,
103 "Forum...",
104 "Navigates to the Dialogue System Forum",
105 EUserInterfaceActionType::Button, FInputChord()
106 );
107
108 UI_COMMAND(
110 "Find in All Dialogues",
111 "Find references to descriptions, events, condition and variables in ALL Dialogue",
112 EUserInterfaceActionType::Button,
113 FInputChord(EModifierKey::Control | EModifierKey::Shift, EKeys::F)
114 );
115
116 UI_COMMAND(
118 "Find",
119 "Find references to descriptions, events, condition and variables in the current Dialogue (use Ctrl+Shift+F to search in all Dialogues)",
120 EUserInterfaceActionType::Button,
121 FInputChord(EModifierKey::Control, EKeys::F)
122 );
123
124 UI_COMMAND(
125 HideNodes,
126 "HideNodes",
127 "Hide selected nodes",
128 EUserInterfaceActionType::Button,
129 FInputChord(EKeys::H)
130 );
131
132 UI_COMMAND(
134 "UnHideAllNodes",
135 "UnHide all nodes",
136 EUserInterfaceActionType::Button,
137 FInputChord(EModifierKey::Control, EKeys::H)
138 );
139}
140
141#undef LOCTEXT_NAMESPACE
TSharedPtr< FUICommandInfo > OpenWiki
TSharedPtr< FUICommandInfo > OpenMarketplace
TSharedPtr< FUICommandInfo > OpenNotYetPlugins
TSharedPtr< FUICommandInfo > UnHideAllNodes
TSharedPtr< FUICommandInfo > FindInDialogue
void RegisterCommands() override
TSharedPtr< FUICommandInfo > FindInAllDialogues
TSharedPtr< FUICommandInfo > DialogueReloadData
TSharedPtr< FUICommandInfo > DeleteCurrentDialogueTextFiles
TSharedPtr< FUICommandInfo > SaveAllDialogues
TSharedPtr< FUICommandInfo > ToggleDrawSecondaryEdges
TSharedPtr< FUICommandInfo > HideNodes
TSharedPtr< FUICommandInfo > ToggleShowPrimarySecondaryEdges
TSharedPtr< FUICommandInfo > OpenForum
TSharedPtr< FUICommandInfo > ToggleDrawPrimaryEdges
TSharedPtr< FUICommandInfo > OpenDiscord
TSharedPtr< FUICommandInfo > ConvertSpeechNodesToSpeechSequence
TSharedPtr< FUICommandInfo > ConvertSpeechSequenceNodeToSpeechNodes
TSharedPtr< FUICommandInfo > DeleteAllDialoguesTextFiles