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