engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
IConsoleCommand结构体 参考abstract

Interface for console commands 更多...

#include <IConsoleManager.h>

+ 类 IConsoleCommand 继承关系图:

Public 成员函数

virtual bool Execute (const TArray< FString > &Args, UWorld *InWorld, class FOutputDevice &OutputDevice)=0
 Executes this command (optionally, with arguments) 更多...
 
- Public 成员函数 继承自 IConsoleObject
virtual struct IConsoleCommand * AsCommand ()
 Casts this object to an IConsoleCommand, verifying first that it is safe to do so
 
virtual class IConsoleVariable * AsVariable ()
 Casts this object to an IConsoleVariable, returns 0 if it's not
 
void ClearFlags (const EConsoleVariableFlags Value)
 Removes the specified flags in the internal state.
 
virtual EConsoleVariableFlags GetFlags () const =0
 Get the internal state of the flags.
 
virtual const TCHAR * GetHelp () const =0
 
virtual void SetFlags (const EConsoleVariableFlags Value)=0
 Sets the internal flag state to the specified value.
 
virtual void SetHelp (const TCHAR *Value)=0
 
bool TestFlags (const EConsoleVariableFlags Value) const
 Test is any of the specified flags is set in the internal state.
 

详细描述

Interface for console commands

成员函数说明

◆ Execute()

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

Executes this command (optionally, with arguments)

参数
ArgsArgument list for this command
InWorldWorld context for this command
返回
True if the delegate for this command was executed successfully

该结构体的文档由以下文件生成: