Navigation
API > API/Plugins > API/Plugins/SlateScriptingCommands > API/Plugins/SlateScriptingCommands/UUICommandsScriptingSubsystem
References
| Module | SlateScriptingCommands |
| Header | /Engine/Plugins/Slate/SlateScripting/Source/SlateScriptingCommands/Public/UICommandsScriptingSubsystem.h |
| Include | #include "UICommandsScriptingSubsystem.h" |
| Source | /Engine/Plugins/Slate/SlateScripting/Source/SlateScriptingCommands/Private/UICommandsScriptingSubsystem.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"Editor Scripting &124; Commands &124;"&41;
bool RegisterCommandChecked
&40;
FScriptingCommandInfo CommandInfo,
FExecuteCommand OnExecuteCommand,
FCanExecuteCommand OnCanExecuteCommand,
bool bOverrideExisting
&41;
Remarks
Registers a command within the given context and set. The set must be registered beforehand. Whether the command was successfully registered
Parameters
| Name | Description |
|---|---|
| CommandInfo | The command infos such as name, label, description and input chord. |
| OnExecuteCommand | The delegate to be executed for handling this command. |
| OnCanExecuteCommand | The delegate to be executed for checking if this command can be executed. |
| bOverrideExisting | Whether existing command with matching context, set and name should be overriden |