Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
IConsoleCommand Struct Referenceabstract

#include <IConsoleManager.h>

+ Inheritance diagram for IConsoleCommand:
+ Collaboration diagram for IConsoleCommand:

Public Member Functions

virtual bool Execute (const TArray< FString > &Args, UWorld *InWorld, class FOutputDevice &OutputDevice)=0
 
- Public Member Functions inherited from IConsoleObject
 IConsoleObject ()
 
virtual ~IConsoleObject ()
 
virtual const TCHAR * GetHelp () const =0
 
virtual void SetHelp (const TCHAR *Value)=0
 
virtual EConsoleVariableFlags GetFlags () const =0
 
virtual void SetFlags (const EConsoleVariableFlags Value)=0
 
void ClearFlags (const EConsoleVariableFlags Value)
 
bool TestFlags (const EConsoleVariableFlags Value) const
 
virtual class IConsoleVariableAsVariable ()
 
virtual bool IsVariableBool () const
 
virtual bool IsVariableInt () const
 
virtual bool IsVariableFloat () const
 
virtual bool IsVariableString () const
 
virtual class TConsoleVariableData< bool > * AsVariableBool ()
 
virtual class TConsoleVariableData< int32 > * AsVariableInt ()
 
virtual class TConsoleVariableData< float > * AsVariableFloat ()
 
virtual class TConsoleVariableData< FString > * AsVariableString ()
 
virtual struct IConsoleCommandAsCommand ()
 

Detailed Description

Interface for console commands

Definition at line 557 of file IConsoleManager.h.

Member Function Documentation

◆ Execute()

virtual bool IConsoleCommand::Execute ( const TArray< FString > & Args,
UWorld * InWorld,
class FOutputDevice & OutputDevice )
pure virtual

Executes this command (optionally, with arguments)

Parameters
ArgsArgument list for this command
InWorldWorld context for this command
Returns
True if the delegate for this command was executed successfully

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