Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
IConsoleCommandExecutor Class Referenceabstract

#include <IConsoleManager.h>

+ Inheritance diagram for IConsoleCommandExecutor:
+ Collaboration diagram for IConsoleCommandExecutor:

Public Member Functions

virtual ~IConsoleCommandExecutor ()=default
 
virtual FName GetName () const =0
 
virtual FText GetDisplayName () const =0
 
virtual FText GetDescription () const =0
 
virtual FText GetHintText () const =0
 
virtual void GetAutoCompleteSuggestions (const TCHAR *Input, TArray< FString > &Out)=0
 
virtual void GetExecHistory (TArray< FString > &Out)=0
 
virtual bool Exec (const TCHAR *Input)=0
 
virtual bool AllowHotKeyClose () const =0
 
virtual bool AllowMultiLine () const =0
 
virtual struct FInputChord GetHotKey () const =0
 
virtual struct FInputChord GetIterateExecutorHotKey () const =0
 

Static Public Member Functions

static FName ModularFeatureName ()
 

Detailed Description

Handles executing console commands

Definition at line 625 of file IConsoleManager.h.

Constructor & Destructor Documentation

◆ ~IConsoleCommandExecutor()

virtual IConsoleCommandExecutor::~IConsoleCommandExecutor ( )
virtualdefault

Member Function Documentation

◆ AllowHotKeyClose()

virtual bool IConsoleCommandExecutor::AllowHotKeyClose ( ) const
pure virtual

True if we allow the console to be closed using the "open console" hot-key.

Note
Some scripting languages use the default "open console" hot-key (~) in their code, so these should return false.

◆ AllowMultiLine()

virtual bool IConsoleCommandExecutor::AllowMultiLine ( ) const
pure virtual

True if we allow the console to create multi-line commands.

◆ Exec()

virtual bool IConsoleCommandExecutor::Exec ( const TCHAR * Input)
pure virtual

Execute the given command using this executor.

Returns
true if the command was recognized.

◆ GetAutoCompleteSuggestions()

virtual void IConsoleCommandExecutor::GetAutoCompleteSuggestions ( const TCHAR * Input,
TArray< FString > & Out )
pure virtual

Get the list of auto-complete suggestions for the given command.

◆ GetDescription()

virtual FText IConsoleCommandExecutor::GetDescription ( ) const
pure virtual

Get the description of this executor.

◆ GetDisplayName()

virtual FText IConsoleCommandExecutor::GetDisplayName ( ) const
pure virtual

Get the display name of this executor.

◆ GetExecHistory()

virtual void IConsoleCommandExecutor::GetExecHistory ( TArray< FString > & Out)
pure virtual

Get the list of commands that this executor has recently processed.

◆ GetHintText()

virtual FText IConsoleCommandExecutor::GetHintText ( ) const
pure virtual

Get the hint text of this executor.

◆ GetHotKey()

virtual struct FInputChord IConsoleCommandExecutor::GetHotKey ( ) const
pure virtual

Returns the hotkey for this executor

◆ GetIterateExecutorHotKey()

virtual struct FInputChord IConsoleCommandExecutor::GetIterateExecutorHotKey ( ) const
pure virtual

Returns the hotkey to switch to the next executor. This is usually the same hotkey as GetHotKey but with a modifier, such as "`" turning into "Ctrl + `".

◆ GetName()

virtual FName IConsoleCommandExecutor::GetName ( ) const
pure virtual

Get the name of this executor.

◆ ModularFeatureName()

static FName IConsoleCommandExecutor::ModularFeatureName ( )
inlinestatic

Get the name identifying this modular feature set.

Definition at line 633 of file IConsoleManager.h.


The documentation for this class was generated from the following file: