Navigation
API > API/Plugins > API/Plugins/SlateScriptingCommands
All the internal data related to a scripting command as well as methods to easily expose the command to the binding manager
| Name | FScriptingCommand |
| Type | struct |
| Header File | /Engine/Plugins/Slate/SlateScripting/Source/SlateScriptingCommands/Public/UICommandsScriptingSubsystem.h |
| Include Path | #include "UICommandsScriptingSubsystem.h" |
Syntax
USTRUCT ()
struct FScriptingCommand
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| UICommandsScriptingSubsystem.h | |||
FScriptingCommand
(
const FScriptingCommandInfo& InCommandInfo, |
UICommandsScriptingSubsystem.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CommandInfo | FScriptingCommandInfo | The command definition | UICommandsScriptingSubsystem.h | |
| OnCanExecuteAction | FCanExecuteAction | The delegate to call to check whether the command can be executed | UICommandsScriptingSubsystem.h | |
| OnExecuteAction | FExecuteAction | The delegate to call when executing the command | UICommandsScriptingSubsystem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FName GetFullName() |
Builds a full name in the format context.set.command_name to avoid conflicts with commands registered in different contexts/sets | UICommandsScriptingSubsystem.h | |
| Registers a new UICommandInfo in the associated context through the binding manager. | UICommandsScriptingSubsystem.h | ||
bool UnregisterUICommandInfo() |
Unregisters this command's UICommandInfo from its associated context through the binding manager | UICommandsScriptingSubsystem.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FScriptingCommand& Other |
UICommandsScriptingSubsystem.h | ||
bool operator!=
(
const FName OtherName |
UICommandsScriptingSubsystem.h | ||
bool operator==
(
const FScriptingCommand& Other |
UICommandsScriptingSubsystem.h | ||
bool operator==
(
const FName OtherName |
UICommandsScriptingSubsystem.h |