A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
DialogueCommands.h
Go to the documentation of this file.
1
// Copyright Csaba Molnar, Daniel Butum. All Rights Reserved.
2
#pragma once
3
4
#include "Framework/Commands/Commands.h"
5
6
#include "
DialogueStyle.h
"
7
8
// Add menu commands and stuff, if you want to that is
9
class
FDialogueCommands
:
public
TCommands
<FDialogueCommands>
10
{
11
public
:
12
FDialogueCommands
()
13
:
TCommands
<
FDialogueCommands
>(
14
TEXT(
"DlgSystemEditor"
),
// Context name for fast lookup
15
NSLOCTEXT(
"Contexts"
,
"DlgSystemEditor"
,
"DlgSystem Editor"
),
// Localized context name for displaying
16
NAME_None,
// Parent
17
FDialogueStyle
::Get()->GetStyleSetName()
// Icon Style Set
18
)
19
{
20
}
21
22
//
23
// TCommand<> interface
24
//
25
void
RegisterCommands
()
override
;
26
27
public
:
28
// Reloads the dialogue data from the .dlg text file that match the name of this dialogue
29
TSharedPtr<FUICommandInfo>
DialogueReloadData
;
30
31
// Shows the primary/secondary edges
32
TSharedPtr<FUICommandInfo>
ToggleShowPrimarySecondaryEdges
;
33
34
// Draw the primary edges
35
TSharedPtr<FUICommandInfo>
ToggleDrawPrimaryEdges
;
36
37
// Draw the secondary edges
38
TSharedPtr<FUICommandInfo>
ToggleDrawSecondaryEdges
;
39
40
// Converts a speech sequence node to a list of speech node
41
TSharedPtr<FUICommandInfo>
ConvertSpeechSequenceNodeToSpeechNodes
;
42
43
// Converts a list of speech nodes a speech sequence node
44
TSharedPtr<FUICommandInfo>
ConvertSpeechNodesToSpeechSequence
;
45
46
// Saves all the dialogues
47
TSharedPtr<FUICommandInfo>
SaveAllDialogues
;
48
49
// Delete all the dialogues text files
50
TSharedPtr<FUICommandInfo>
DeleteAllDialoguesTextFiles
;
51
52
// Delete all the text files for the CURRENT Dialogue
53
TSharedPtr<FUICommandInfo>
DeleteCurrentDialogueTextFiles
;
54
55
// External links
56
TSharedPtr<FUICommandInfo>
OpenNotYetPlugins
;
57
TSharedPtr<FUICommandInfo>
OpenMarketplace
;
58
TSharedPtr<FUICommandInfo>
OpenWiki
;
59
TSharedPtr<FUICommandInfo>
OpenDiscord
;
60
TSharedPtr<FUICommandInfo>
OpenForum
;
61
62
// Open find in ALL Dialogues search window
63
TSharedPtr<FUICommandInfo>
FindInAllDialogues
;
64
65
// Open find in current Dialogue tab
66
TSharedPtr<FUICommandInfo>
FindInDialogue
;
67
68
// Hide Selected Node
69
TSharedPtr<FUICommandInfo>
HideNodes
;
70
71
// UnHide all nodes
72
TSharedPtr<FUICommandInfo>
UnHideAllNodes
;
73
};
DialogueStyle.h
FDialogueCommands
Definition
DialogueCommands.h:10
FDialogueCommands::OpenWiki
TSharedPtr< FUICommandInfo > OpenWiki
Definition
DialogueCommands.h:58
FDialogueCommands::FDialogueCommands
FDialogueCommands()
Definition
DialogueCommands.h:12
FDialogueCommands::OpenMarketplace
TSharedPtr< FUICommandInfo > OpenMarketplace
Definition
DialogueCommands.h:57
FDialogueCommands::OpenNotYetPlugins
TSharedPtr< FUICommandInfo > OpenNotYetPlugins
Definition
DialogueCommands.h:56
FDialogueCommands::UnHideAllNodes
TSharedPtr< FUICommandInfo > UnHideAllNodes
Definition
DialogueCommands.h:72
FDialogueCommands::FindInDialogue
TSharedPtr< FUICommandInfo > FindInDialogue
Definition
DialogueCommands.h:66
FDialogueCommands::RegisterCommands
void RegisterCommands() override
Definition
DialogueCommands.cpp:8
FDialogueCommands::FindInAllDialogues
TSharedPtr< FUICommandInfo > FindInAllDialogues
Definition
DialogueCommands.h:63
FDialogueCommands::DialogueReloadData
TSharedPtr< FUICommandInfo > DialogueReloadData
Definition
DialogueCommands.h:29
FDialogueCommands::DeleteCurrentDialogueTextFiles
TSharedPtr< FUICommandInfo > DeleteCurrentDialogueTextFiles
Definition
DialogueCommands.h:53
FDialogueCommands::SaveAllDialogues
TSharedPtr< FUICommandInfo > SaveAllDialogues
Definition
DialogueCommands.h:47
FDialogueCommands::ToggleDrawSecondaryEdges
TSharedPtr< FUICommandInfo > ToggleDrawSecondaryEdges
Definition
DialogueCommands.h:38
FDialogueCommands::HideNodes
TSharedPtr< FUICommandInfo > HideNodes
Definition
DialogueCommands.h:69
FDialogueCommands::ToggleShowPrimarySecondaryEdges
TSharedPtr< FUICommandInfo > ToggleShowPrimarySecondaryEdges
Definition
DialogueCommands.h:32
FDialogueCommands::OpenForum
TSharedPtr< FUICommandInfo > OpenForum
Definition
DialogueCommands.h:60
FDialogueCommands::ToggleDrawPrimaryEdges
TSharedPtr< FUICommandInfo > ToggleDrawPrimaryEdges
Definition
DialogueCommands.h:35
FDialogueCommands::OpenDiscord
TSharedPtr< FUICommandInfo > OpenDiscord
Definition
DialogueCommands.h:59
FDialogueCommands::ConvertSpeechNodesToSpeechSequence
TSharedPtr< FUICommandInfo > ConvertSpeechNodesToSpeechSequence
Definition
DialogueCommands.h:44
FDialogueCommands::ConvertSpeechSequenceNodeToSpeechNodes
TSharedPtr< FUICommandInfo > ConvertSpeechSequenceNodeToSpeechNodes
Definition
DialogueCommands.h:41
FDialogueCommands::DeleteAllDialoguesTextFiles
TSharedPtr< FUICommandInfo > DeleteAllDialoguesTextFiles
Definition
DialogueCommands.h:50
FDialogueStyle
Definition
DialogueStyle.h:8
TCommands
SDKDemo
Plugins
UnrealEngineSDK
VisualScripter
Source
DlgSystemEditor
Private
DialogueCommands.h
Generated
Wed Oct 9 2024 19:52:55
by Doxygen version
1.10.0