Navigation
API > API/Plugins > API/Plugins/SlateScriptingCommands > API/Plugins/SlateScriptingCommands/UUICommandsScriptingSubsystem
Description
Registers a command list in the given context. Optionally registering the context itself if it does not exist Note the context should already be existing and registered through the binding manager.
This should be called by modules and tools looking to expose their command lists to the subsystem.
| Name | RegisterCommandListForContext |
| Type | function |
| Header File | /Engine/Plugins/Slate/SlateScripting/Source/SlateScriptingCommands/Public/UICommandsScriptingSubsystem.h |
| Include Path | #include "UICommandsScriptingSubsystem.h" |
| Source | /Engine/Plugins/Slate/SlateScripting/Source/SlateScriptingCommands/Private/UICommandsScriptingSubsystem.cpp |
void RegisterCommandListForContext
(
const FName ContextName,
TSharedRef < FUICommandList > CommandList
)
Parameters
| Name | Remarks |
|---|---|
| ContextName | The context name as defined in the binding manager |
| CommandList | The command list to register in this context |