Navigation
API > API/Plugins > API/Plugins/SlateScriptingCommands
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- USubsystem
- UDynamicSubsystem
- UEngineSubsystem
- UUICommandsScriptingSubsystem
References
Module | SlateScriptingCommands |
Header | /Engine/Plugins/Slate/SlateScripting/Source/SlateScriptingCommands/Public/UICommandsScriptingSubsystem.h |
Include | #include "UICommandsScriptingSubsystem.h" |
Syntax
UCLASS&40;&41;
class UUICommandsScriptingSubsystem : public UEngineSubsystem
Remarks
UEditorInputSubsystem Subsystem for dynamically registering editor commands through scripting
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() ![]() |
bool | Checks whether commands registered in the subsystem can be executed | |
![]() ![]() ![]() ![]() |
bool | CanSetExecuteCommands
(
const FName SetName |
Checks whether commands in the given set can be executed. |
![]() ![]() ![]() ![]() |
TArray< FName > | Retrieves the list of names for all contexts currently registered in the subsystem. | |
![]() ![]() ![]() |
int | GetBindingCountForContext
(
FName ContextName |
Retrieves the number of UI Command Lists registered within this context through the subsystem. |
![]() ![]() ![]() ![]() |
TArray< FScriptingCommandInfo > | Retrieves the list of command info for all commands currently registered in the subsystem | |
![]() ![]() ![]() ![]() |
bool | IsCommandRegistered
(
FScriptingCommandInfo CommandInfo, |
Checks whether the given command is registered within the subsystem. |
![]() ![]() ![]() ![]() |
bool | IsCommandSetRegistered
(
FName SetName |
Checks whether the given set is currently registered in the subsystem |
![]() ![]() ![]() ![]() |
bool | IsContextRegistered
(
FName ContextName |
Checks whether the context with the given name is currently registered in the subsystem This does not check whether the context is bound to any UI Command List. |
![]() ![]() ![]() ![]() |
bool | IsInputChordMapped
(
FName ContextName, |
Checks whether the given input chord is already mapped to a command in the given context. |
![]() ![]() ![]() |
bool | RegisterCommand
(
FScriptingCommandInfo CommandInfo, |
Registers a command within the given context and set. The set must be registered beforehand. |
![]() ![]() ![]() |
bool | RegisterCommandChecked
(
FScriptingCommandInfo CommandInfo, |
Registers a command within the given context and set. The set must be registered beforehand. |
![]() |
void | RegisterCommandListForContext
(
const FName ContextName, |
Registers a command list in the given context. |
![]() ![]() ![]() |
bool | RegisterCommandSet
(
FName SetName |
Registers a new command set |
![]() ![]() ![]() |
void | SetCanExecuteCommands
(
bool bShouldExecuteCommands |
Sets whether commands registered in the subsystem can be executed |
![]() ![]() ![]() |
void | SetCanSetExecuteCommands
(
FName SetName, |
Enables or disables execution of commands registered within the given set |
![]() ![]() ![]() |
void | Unregisters all commands dynamically registered within all contexts and sets. | |
![]() ![]() ![]() |
bool | UnregisterCommand
(
FScriptingCommandInfo CommandInfo |
Unregisters a command previously registered. |
![]() |
void | UnregisterCommandListForContext
(
const FName ContextName, |
Unregisters a command list from the given context. |
![]() ![]() ![]() |
bool | UnregisterCommandSet
(
FName SetName |
Unregisters the corresponding command set with all commands registered within it |
![]() |
bool | UnregisterContext
(
const FName ContextName |
Unregisters all command lists from the given context. |
Overridden from USubsystem
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Deinitialize () |
USubsystem Interface: handles deinitialization of instances of the system |
![]() ![]() |
void | Initialize
(
FSubsystemCollectionBase& Collection |
USubsystem Interface: handles initialization of instances of the system This is where the subsystem binds to the CommandListRegistered delegate of the InputBindingManager |