UOperatingSystemTerminal
#include <OperatingSystemSimulator/Public/Programs/Terminal/OperatingSystemTerminal.h>class UOperatingSystemTerminalDefined in OperatingSystemTerminal.h:22
Inherits:
UOperatingSystemBaseProgram
Inheritance diagram
Section titled “Inheritance diagram”---
config:
class:
hideEmptyMembersBox: true
---
classDiagram
class UOperatingSystemTerminal["UOperatingSystemTerminal"]
class UOperatingSystemBaseProgram["UOperatingSystemBaseProgram"]
UOperatingSystemBaseProgram <|-- UOperatingSystemTerminal
Collaboration diagram
Section titled “Collaboration diagram”---
config:
class:
hideEmptyMembersBox: true
---
classDiagram
class UOperatingSystemTerminal["UOperatingSystemTerminal"]
class UOperatingSystemBaseProgram["UOperatingSystemBaseProgram"]
UOperatingSystemTerminal *-- UOperatingSystemBaseProgram
class UOperatingSystemTerminalCommand["UOperatingSystemTerminalCommand"]
UOperatingSystemTerminal *-- UOperatingSystemTerminalCommand
class IOperatingSystemExplorerInterface["IOperatingSystemExplorerInterface"]
UOperatingSystemTerminal *-- IOperatingSystemExplorerInterface
class FOperatingSystemUser["FOperatingSystemUser"]
UOperatingSystemTerminal *-- FOperatingSystemUser
class UOperatingSystemCmdCollection["UOperatingSystemCmdCollection"]
UOperatingSystemTerminal *-- UOperatingSystemCmdCollection
Class detail
Section titled “Class detail”---
config:
class:
hideEmptyMembersBox: true
---
classDiagram
class UOperatingSystemTerminal {
+UOperatingSystemTerminal()
+ProcessCommand(const FString &TestCommand, FGenericError & void()
+ChangeCurrentPath(const FString &TargetPath) bool()
+DestroyActiveCommand(const FGenericError &ErrorMessage) void()
+ChangeCurrentUser(const FOperatingSystemUser &NewUser) void()
+PromptRootPassword() void()
+PromptUserContinue() void()
+CheckRootPassword(const FText &TestPassword, const bool bCase bool()
+MessageReceivedFromCommand(const FText &CmdMsg, const EOperatingSystem void()
+VerifyUserPrompt(const bool bIsYes) const void()
+ClearHistory() void()
+HasRepository() const bool()
+GetNextCommandFromHistory(FString &OutCommand) const bool()
+GetPreviousCommandFromHistory(FString &OutCommand) const bool()
+IsTerminalBusy() const bool()
+ValidateFlags() const bool()
+GetCommandFlagPrefixes() const const()TSet()< FName() > &
+GetMultiCommandOperatorString() const FString()
+CommandCollection : TSoftObjectPtr()< UOperatingSystemCmdCol
+bSupportMultipleCommands : uint8()
+MultiCommandOperator : FName()
+CommandFlagPrefixes : TSet()< FName() >
+bValidateFlags : bool()
+OnValidate(FGenericError &OutError) const override void()
+OnStart(FGenericError &OutError) override void()
+GetCommand(const FString &TestCommand, FGenericError & UOperatingSystemTerminalCommand() *
+GetCurrentDirectoryPath(FString &OutPath) const bool()
+K2_CommandFinished(const FGenericError &ErrorMessage) void()
+K2_UserChanged() void()
+K2_PromptRootPassword() void()
+K2_PromptUserContinue() void()
+K2_MessageReceivedFromCommand(const FText &CmdMsg, const EOperatingSystem void()
+CachedAdditionalCommands : TSet()< TSoftClassPtr()< UOperatingSyste
+ActiveCommand : TObjectPtr()< UOperatingSystemTerminalCo
+CurrentExplorerInterface : TScriptInterface()< IOperatingSystemExpl
+QueuedCommands : TArray()< FString() >
+CurrentUser : FOperatingSystemUser()
+bIsRunningAsRoot : uint8()
+Internal_FindAdditionalCommands(TSet< TSoftClassPtr< UOperatingSystemTermin void()
}
The UOperatingSystemTerminal class is a subclass of UOperatingSystemBaseProgram and represents a terminal in the Operating System. It allows users to execute commands and interact with the operating system.
Public Methods
Section titled “Public Methods”| Return | Name | Description |
|---|---|---|
UOperatingSystemTerminal | ||
void | ProcessCommand | Process the given command in the Operating System terminal If the terminal is busy, it sets the output error indicating that the terminal is busy and cannot run new commands. If the command is empty, it destroys the active command and returns. If the command is not recognized, it sets the output error indicating that the command is not recognized. If the command supports multiple commands and contains a multi-command operator, it splits the command into multiple commands and processes them one by one. |
bool | ChangeCurrentPath | Changes the current path to the specified target path. |
void | DestroyActiveCommand | Destroys the active command and processes the next queued command (if any). |
void | ChangeCurrentUser | Changes the current user of the Operating System terminal. |
void | PromptRootPassword | Prompts the user for the root password. |
void | PromptUserContinue | Prompts the user to continue the execution in the operating system terminal. |
bool | CheckRootPassword const | This function checks if the provided password matches the password of the root user of the operating system. If the password matches, it will process the command as the root user. |
void | MessageReceivedFromCommand | Function to handle received messages from the command. This function is called when a message is received from the command. It can be used to handle and process the message in the operating system terminal. |
void | VerifyUserPrompt const | Verifies the user prompt and takes the appropriate action. It checks if the user prompt is “Yes” or “No” and performs the necessary action based on the value of bIsYes parameter. |
void | ClearHistory | Clears the history of the operating system terminal. |
bool | HasRepository const | Checks if the operating system terminal has a repository. |
bool | GetNextCommandFromHistory const | Retrieves the next command from the history of the operating system terminal. |
bool | GetPreviousCommandFromHistory const | Retrieves the previous command from the command history. |
bool | IsTerminalBusy const | Checks if the terminal is busy or not. A terminal is considered busy if there is an active command being executed. |
bool | ValidateFlags const inline | Gets the value of the bValidateFlags flag. |
constTSet< FName > & | GetCommandFlagPrefixes const inline | Returns the set of command flag prefixes. |
FString | GetMultiCommandOperatorString const inline | Returns the multi-command operator string. |
UOperatingSystemTerminal
Section titled “UOperatingSystemTerminal”UOperatingSystemTerminal()Defined in OperatingSystemTerminal.h:115
Section titled “Defined in OperatingSystemTerminal.h:115”ProcessCommand
Section titled “ProcessCommand”void ProcessCommand(constFString & TestCommand, FGenericError & OutError)Defined in OperatingSystemTerminal.h:130 Process the given command in the Operating System terminal If the terminal is busy, it sets the output error indicating that the terminal is busy and cannot run new commands. If the command is empty, it destroys the active command and returns. If the command is not recognized, it sets the output error indicating that the command is not recognized. If the command supports multiple commands and contains a multi-command operator, it splits the command into multiple commands and processes them one by one.
Parameters
Section titled “Parameters”-
TestCommandThe command to be processed. -
OutErrorThe output error if any error occurs during the command processing
Referenced by
Section titled “Referenced by”References
Section titled “References”ActiveCommandbSupportMultipleCommandsDestroyActiveCommandGetCommandGetMultiCommandOperatorStringGetSettingsIsTerminalBusyMAKE_ERRORQueuedCommands
ChangeCurrentPath
Section titled “ChangeCurrentPath”bool ChangeCurrentPath(constFString & TargetPath)Defined in OperatingSystemTerminal.h:139 Changes the current path to the specified target path.
Parameters
Section titled “Parameters”TargetPathThe target path to change to.
Returns
Section titled “Returns”True if the current path was successfully changed, false otherwise.
References
Section titled “References”DestroyActiveCommand
Section titled “DestroyActiveCommand”void DestroyActiveCommand(constFGenericError & ErrorMessage)Defined in OperatingSystemTerminal.h:152 Destroys the active command and processes the next queued command (if any).
This function is called to destroy the active command and process the next command in the queue, if any. If the active command is a blueprint command, it calls the K2_CommandFinished function to notify the blueprint. Then, it marks the active command as garbage and sets it to nullptr. If there is no error message and there is a next command in the queue, it removes the next command from the queue and calls the ProcessCommand function to process it.
Parameters
Section titled “Parameters”ErrorMessageThe error message to pass to the K2_CommandFinished function, if applicable
Referenced by
Section titled “Referenced by”References
Section titled “References”ChangeCurrentUser
Section titled “ChangeCurrentUser”void ChangeCurrentUser(constFOperatingSystemUser & NewUser)Defined in OperatingSystemTerminal.h:162 Changes the current user of the Operating System terminal.
This function changes the current user of the operating system terminal to the given user. If the given user is already the current user, the function returns without making any changes.
Parameters
Section titled “Parameters”NewUserThe new user to set as the current user.
References
Section titled “References”PromptRootPassword
Section titled “PromptRootPassword”void PromptRootPassword()Defined in OperatingSystemTerminal.h:170 Prompts the user for the root password.
References
Section titled “References”PromptUserContinue
Section titled “PromptUserContinue”void PromptUserContinue()Defined in OperatingSystemTerminal.h:177 Prompts the user to continue the execution in the operating system terminal.
References
Section titled “References”CheckRootPassword
Section titled “CheckRootPassword”const
bool CheckRootPassword(constFText & TestPassword, constbool bCaseSensitive = true) constDefined in OperatingSystemTerminal.h:194 This function checks if the provided password matches the password of the root user of the operating system. If the password matches, it will process the command as the root user.
Parameters
Section titled “Parameters”-
TestPasswordThe password to test against the root user’s password. -
bCaseSensitiveWhether the password comparison should be case-sensitive.
Returns
Section titled “Returns”True if the provided password matches the root user’s password and the command was processed as the root user, false otherwise.
See also: UOperatingSystemTerminal::GetOperatingSystem()
See also: FOperatingSystem::GetRootUser()
See also: UOperatingSystemTerminal::ActiveCommand
See also: FTerminalCommand::ProcessCommandAsRoot()
References
Section titled “References”MessageReceivedFromCommand
Section titled “MessageReceivedFromCommand”void MessageReceivedFromCommand(constFText & CmdMsg, constEOperatingSystemTerminalMessageType & CmdMsgType)Defined in OperatingSystemTerminal.h:203 Function to handle received messages from the command. This function is called when a message is received from the command. It can be used to handle and process the message in the operating system terminal.
Parameters
Section titled “Parameters”-
CmdMsgThe message received from the command. -
CmdMsgTypeThe type of the message received.
References
Section titled “References”VerifyUserPrompt
Section titled “VerifyUserPrompt”const
void VerifyUserPrompt(constbool bIsYes) constDefined in OperatingSystemTerminal.h:212 Verifies the user prompt and takes the appropriate action. It checks if the user prompt is “Yes” or “No” and performs the necessary action based on the value of bIsYes parameter.
Parameters
Section titled “Parameters”bIsYesA boolean indicating if the user prompt is “Yes” or “No”.
References
Section titled “References”ClearHistory
Section titled “ClearHistory”void ClearHistory()Defined in OperatingSystemTerminal.h:218 Clears the history of the operating system terminal.
References
Section titled “References”HasRepository
Section titled “HasRepository”const
bool HasRepository() constDefined in OperatingSystemTerminal.h:235 Checks if the operating system terminal has a repository.
It will return true if there is at least one valid repository class, otherwise it will return false.
It first checks if the operating system is Unix. If it is, it retrieves the repository classes from the Unix operating system object. It then iterates through each repository class and checks if it is null. If at least one repository class is not null, the function returns true. If all repository classes are null or the operating system is not Unix, the function returns false.
Returns
Section titled “Returns”True if the operating system terminal has at least one valid repository class, false otherwise.
References
Section titled “References”GetNextCommandFromHistory
Section titled “GetNextCommandFromHistory”const
bool GetNextCommandFromHistory(FString & OutCommand) constDefined in OperatingSystemTerminal.h:246 Retrieves the next command from the history of the operating system terminal.
Parameters
Section titled “Parameters”OutCommand[out] - The next command retrieved from the terminal history.
Returns
Section titled “Returns”True if the retrieval is successful, false otherwise.
See also: GetPreviousCommandFromHistory
References
Section titled “References”GetPreviousCommandFromHistory
Section titled “GetPreviousCommandFromHistory”const
bool GetPreviousCommandFromHistory(FString & OutCommand) constDefined in OperatingSystemTerminal.h:258 Retrieves the previous command from the command history.
Parameters
Section titled “Parameters”OutCommand[out] - The output parameter that will contain the previous command if it exists
Returns
Section titled “Returns”True if the previous command was successfully retrieved from the history, false otherwise.
See also: GetNextCommandFromHistory
References
Section titled “References”IsTerminalBusy
Section titled “IsTerminalBusy”const
bool IsTerminalBusy() constDefined in OperatingSystemTerminal.h:344 Checks if the terminal is busy or not. A terminal is considered busy if there is an active command being executed.
Returns
Section titled “Returns”true if the terminal is busy (there is an active command), false otherwise.
Referenced by
Section titled “Referenced by”References
Section titled “References”ValidateFlags
Section titled “ValidateFlags”const inline
inline bool ValidateFlags() constDefined in OperatingSystemTerminal.h:354 Gets the value of the bValidateFlags flag.
This method returns the value of the bValidateFlags flag. The bValidateFlags flag is used to determine whether the flags are being validated or not.
Returns
Section titled “Returns”True if the flags are being validated, false otherwise.
GetCommandFlagPrefixes
Section titled “GetCommandFlagPrefixes”const inline
inline constTSet< FName > & GetCommandFlagPrefixes() constDefined in OperatingSystemTerminal.h:364 Returns the set of command flag prefixes.
This method returns a reference to the set of command flag prefixes used in the operating system terminal. A command flag prefix is a character or string that is placed before a command parameter to indicate that it is a flag.
Returns
Section titled “Returns”A reference to the set of command flag prefixes.
GetMultiCommandOperatorString
Section titled “GetMultiCommandOperatorString”const inline
inline FString GetMultiCommandOperatorString() constDefined in OperatingSystemTerminal.h:377 Returns the multi-command operator string.
The GetMultiCommandOperatorString method returns the string representation of the multi-command operator. If the multi-command operator is set to None, the method returns the string ” && ”. Otherwise, it retrieves the string representation of the multi-command operator, removes any spaces, and formats it using the FString::Printf function with the format specifier “%s”. The formatted string is then returned.
Returns
Section titled “Returns”The multi-command operator string.
Referenced by
Section titled “Referenced by”Protected Attributes
Section titled “Protected Attributes”| Return | Name | Description |
|---|---|---|
TSoftObjectPtr< UOperatingSystemCmdCollection > | CommandCollection | Soft Object Pointer representing the UOperatingSystemCmdCollection for the operating system terminal. |
uint8 | bSupportMultipleCommands | Determines if the OperatingSystemTerminal supports multiple commands. |
FName | MultiCommandOperator | String to use for separating multiple commands. E.g: pwd && ls. NOTE: Does not support space so if you have space, it is automatically removed. |
TSet< FName > | CommandFlagPrefixes | List of prefixes that must be included when adding flags. |
bool | bValidateFlags | The flag to indicate whether to validate the operating system terminal. |
CommandCollection
Section titled “CommandCollection”TSoftObjectPtr< UOperatingSystemCmdCollection > CommandCollectionDefined in OperatingSystemTerminal.h:39 Soft Object Pointer representing the UOperatingSystemCmdCollection for the operating system terminal.
Referenced by
Section titled “Referenced by”bSupportMultipleCommands
Section titled “bSupportMultipleCommands”uint8 bSupportMultipleCommandsDefined in OperatingSystemTerminal.h:48 Determines if the OperatingSystemTerminal supports multiple commands.
If set to true, the OperatingSystemTerminal supports executing multiple commands at once. If set to false, the OperatingSystemTerminal only supports executing one command at a time.
Referenced by
Section titled “Referenced by”MultiCommandOperator
Section titled “MultiCommandOperator”FName MultiCommandOperatorDefined in OperatingSystemTerminal.h:54 String to use for separating multiple commands. E.g: pwd && ls. NOTE: Does not support space so if you have space, it is automatically removed.
Referenced by
Section titled “Referenced by”CommandFlagPrefixes
Section titled “CommandFlagPrefixes”TSet< FName > CommandFlagPrefixesDefined in OperatingSystemTerminal.h:58 List of prefixes that must be included when adding flags.
Referenced by
Section titled “Referenced by”bValidateFlags
Section titled “bValidateFlags”bool bValidateFlagsDefined in OperatingSystemTerminal.h:64 The flag to indicate whether to validate the operating system terminal.
Protected Methods
Section titled “Protected Methods”| Return | Name | Description |
|---|---|---|
void | OnValidate virtual const override | OnValidate method for validating program-specific logic. |
void | OnStart virtual override | Called when the program starts. It should be overridden in derived classes to provide the necessary functionality for the specific program. |
UOperatingSystemTerminalCommand * | GetCommand const | Retrieves the command associated with the given test command string. |
bool | GetCurrentDirectoryPath const | Retrieves the current directory path and stores it in the provided output parameter. |
void | K2_CommandFinished | A function that is called when a command finishes execution. |
void | K2_UserChanged | This function is called when the user is changed. It can be implemented in blueprints to handle the event of user change in the operating system terminal. |
void | K2_PromptRootPassword | Event triggered when the root password is prompted. |
void | K2_PromptUserContinue | Event triggered when user wants to continue. |
void | K2_MessageReceivedFromCommand | BlueprintImplementableEvent function for receiving messages from the operating system terminal. This function is tied to a blueprint and is called when a message is received from the operating system terminal. |
OnValidate
Section titled “OnValidate”virtual const override
virtual void OnValidate(FGenericError & OutError) const overrideDefined in OperatingSystemTerminal.h:262 OnValidate method for validating program-specific logic.
This method is a virtual function that can be overridden by derived classes to perform additional validation specific to the program’s requirements. The method takes an FGenericError& parameter, which can be used to report any validation errors encountered during the validation process.
Parameters
Section titled “Parameters”OutErrorThe error object used to report any validation errors.
See also: FGenericError
References
Section titled “References”bSupportMultipleCommandsCommandCollectionCommandFlagPrefixesGetSettingsMAKE_ERRORMultiCommandOperatorName
Reimplements
Section titled “Reimplements”OnStart
Section titled “OnStart”virtual override
virtual void OnStart(FGenericError & OutError) overrideDefined in OperatingSystemTerminal.h:263 Called when the program starts. It should be overridden in derived classes to provide the necessary functionality for the specific program.
Parameters
Section titled “Parameters”OutErrorA reference to the FGenericError object, used to report any errors that occur during startup.
See also: FGenericError
References
Section titled “References”CachedAdditionalCommandsCurrentExplorerInterfaceFindDirectoryByTagGetOperatingSystemGetOperatingSystemPartitionGetSettingsInternal_FindAdditionalCommandsMAKE_ERROR
Reimplements
Section titled “Reimplements”GetCommand
Section titled “GetCommand”const
UOperatingSystemTerminalCommand * GetCommand(constFString & TestCommand, FGenericError & OutError) constDefined in OperatingSystemTerminal.h:273 Retrieves the command associated with the given test command string.
Parameters
Section titled “Parameters”-
TestCommandThe test command string to match with a command. -
OutError[out] The error message if an error occurs.
Returns
Section titled “Returns”The command associated with the test command string, or nullptr if no command is found.
Referenced by
Section titled “Referenced by”References
Section titled “References”GetCurrentDirectoryPath
Section titled “GetCurrentDirectoryPath”const
bool GetCurrentDirectoryPath(FString & OutPath) constDefined in OperatingSystemTerminal.h:282 Retrieves the current directory path and stores it in the provided output parameter.
Parameters
Section titled “Parameters”OutPath[out] The output parameter to store the current directory path.
Returns
Section titled “Returns”True if the current directory path was successfully retrieved, false otherwise.
References
Section titled “References”K2_CommandFinished
Section titled “K2_CommandFinished”void K2_CommandFinished(constFGenericError & ErrorMessage)Defined in OperatingSystemTerminal.h:290 A function that is called when a command finishes execution.
Parameters
Section titled “Parameters”ErrorMessageThe error message generated during the command execution.
Referenced by
Section titled “Referenced by”K2_UserChanged
Section titled “K2_UserChanged”void K2_UserChanged()Defined in OperatingSystemTerminal.h:297 This function is called when the user is changed. It can be implemented in blueprints to handle the event of user change in the operating system terminal.
Referenced by
Section titled “Referenced by”K2_PromptRootPassword
Section titled “K2_PromptRootPassword”void K2_PromptRootPassword()Defined in OperatingSystemTerminal.h:303 Event triggered when the root password is prompted.
Referenced by
Section titled “Referenced by”K2_PromptUserContinue
Section titled “K2_PromptUserContinue”void K2_PromptUserContinue()Defined in OperatingSystemTerminal.h:309 Event triggered when user wants to continue.
Referenced by
Section titled “Referenced by”K2_MessageReceivedFromCommand
Section titled “K2_MessageReceivedFromCommand”void K2_MessageReceivedFromCommand(constFText & CmdMsg, constEOperatingSystemTerminalMessageType & CmdMsgType)Defined in OperatingSystemTerminal.h:320 BlueprintImplementableEvent function for receiving messages from the operating system terminal. This function is tied to a blueprint and is called when a message is received from the operating system terminal.
Parameters
Section titled “Parameters”-
CmdMsgThe received message from the operating system terminal as a FText object -
CmdMsgTypeThe type of the received message as an EOperatingSystemTerminalMessageType enumeration value
Referenced by
Section titled “Referenced by”Private Attributes
Section titled “Private Attributes”| Return | Name | Description |
|---|---|---|
TSet< TSoftClassPtr< UOperatingSystemTerminalCommand > > | CachedAdditionalCommands | Represents a set of soft class pointers to additional operating system terminal commands. The property is marked as Transient, meaning it is not saved when the object is serialized. |
TObjectPtr< UOperatingSystemTerminalCommand > | ActiveCommand | Property for the active command in the Operating System terminal. |
TScriptInterface< IOperatingSystemExplorerInterface > | CurrentExplorerInterface | Property for the current operating system explorer interface. |
TArray< FString > | QueuedCommands | QueuedCommands property is a TArray of FString objects, used to store a queue of commands. Transient specifier indicates that the value of this property will not be serialized and saved in-between play sessions. |
FOperatingSystemUser | CurrentUser | Represents the current user of this terminal. It is marked as transient meaning it will not be saved when serializing the object. |
uint8 | bIsRunningAsRoot | Flag indicating whether the application is running as root. |
CachedAdditionalCommands
Section titled “CachedAdditionalCommands”TSet< TSoftClassPtr< UOperatingSystemTerminalCommand > > CachedAdditionalCommandsDefined in OperatingSystemTerminal.h:31 Represents a set of soft class pointers to additional operating system terminal commands. The property is marked as Transient, meaning it is not saved when the object is serialized.
Referenced by
Section titled “Referenced by”ActiveCommand
Section titled “ActiveCommand”TObjectPtr< UOperatingSystemTerminalCommand > ActiveCommandDefined in OperatingSystemTerminal.h:74 Property for the active command in the Operating System terminal.
This property is transient, meaning it will not be saved or loaded when the object is serialized.
Referenced by
Section titled “Referenced by”CurrentExplorerInterface
Section titled “CurrentExplorerInterface”TScriptInterface< IOperatingSystemExplorerInterface > CurrentExplorerInterfaceDefined in OperatingSystemTerminal.h:80 Property for the current operating system explorer interface.
Referenced by
Section titled “Referenced by”QueuedCommands
Section titled “QueuedCommands”TArray< FString > QueuedCommandsDefined in OperatingSystemTerminal.h:87 QueuedCommands property is a TArray of FString objects, used to store a queue of commands. Transient specifier indicates that the value of this property will not be serialized and saved in-between play sessions.
Referenced by
Section titled “Referenced by”CurrentUser
Section titled “CurrentUser”FOperatingSystemUser CurrentUserDefined in OperatingSystemTerminal.h:94 Represents the current user of this terminal. It is marked as transient meaning it will not be saved when serializing the object.
Referenced by
Section titled “Referenced by”bIsRunningAsRoot
Section titled “bIsRunningAsRoot”uint8 bIsRunningAsRootDefined in OperatingSystemTerminal.h:103 Flag indicating whether the application is running as root.
This flag represents whether the application is currently running with root (superuser) privileges or not. It is used to determine if certain privileged operations can be performed by the application.
Referenced by
Section titled “Referenced by”Private Static Methods
Section titled “Private Static Methods”| Return | Name | Description |
|---|---|---|
void | Internal_FindAdditionalCommands static | Finds additional commands for the terminal. |
Internal_FindAdditionalCommands
Section titled “Internal_FindAdditionalCommands”static
static void Internal_FindAdditionalCommands(TSet< TSoftClassPtr< UOperatingSystemTerminalCommand > > & OutCommands)Defined in OperatingSystemTerminal.h:334 Finds additional commands for the terminal.
This method scans the specified asset paths for primary assets of type UOperatingSystemTerminalCommand. It populates the given OutCommands set with the found classes.
Parameters
Section titled “Parameters”OutCommandsThe set to populate with the found classes.
See also: UOperatingSystemTerminalCommand
See also: UOperatingSystemPluginSettings::GetAdditionalTerminalCommandsPath