| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/Console.h |
Include |
#include "Engine/Console.h" |
class UConsole :
public UObject,
public FOutputDevice
A basic command line console that accepts most commands.
Name | Description | ||
---|---|---|---|
|
AutoComplete |
Current list of matching commands for auto-complete, |
|
|
AutoCompleteCursor |
-1: auto complete cursor is not visible, >=0 |
|
|
AutoCompleteIndex |
Currently selected auto complete index |
|
|
AutoCompleteList |
Full list of auto-complete commands and info |
|
|
AutoCompleteTree |
||
|
uint32: 1 |
bAutoCompleteLocked |
Is the current auto-complete selection locked |
|
uint32: 1 |
bCaptureKeyInput |
Indicates that InputChar events should be captured to prevent them from being passed on to other interactions. |
|
uint32: 1 |
bCtrl |
True while a control key is pressed. |
|
uint32: 1 |
bIsRuntimeAutoCompleteUpToDate |
Do we need to rebuild auto complete? |
|
uint32: 1 |
bShift |
True while a shift key is pressed. |
|
ConsoleState |
NAME_Typing, NAME_Open or NAME_None. |
|
|
ULocalPlayer &#... |
ConsoleTargetPlayer |
The player which the next console command should be executed in the context of. |
|
UTexture2D *... |
DefaultTexture_Black |
|
|
UTexture2D *... |
DefaultTexture_White |
|
|
HistoryBuffer |
Holds the history buffer, order is old to new |
|
|
LastAutoCompletedCommand |
The most recent input that was autocompleted during this open console session. |
|
|
PrecompletedInputLine |
The command the user would get if they autocompleted their current input. |
|
|
SBHead |
Where in the scrollback buffer are we |
|
|
SBPos |
||
|
Scrollback |
Holds the scrollback buffer |
|
|
TypedStr |
The command the user is currently typing. |
|
|
TypedStrPos |
Name | Description | |
---|---|---|
|
UConsole ( |
Name | Description | |
---|---|---|
|
~UConsole() |
Name | Description | ||
---|---|---|---|
|
AppendInputText ( |
Appends the specified text to the string of typed text |
|
|
AugmentRuntimeAutoCompleteList ( |
Virtual function to allow subclasses of UConsole to add additional commands |
|
|
BeginState_Open ( |
Perform actions on transition to the Open state |
|
|
BeginState_Typing ( |
Perform actions on transition to Typing state |
|
|
BuildRuntimeAutoCompleteList ( |
Build the list of auto complete console commands |
|
|
ClearOutput() |
Clears the console output buffer. |
|
|
ConsoleActive() |
||
|
ConsoleCommand ( |
Executes a console command. |
|
|
EndState_Open ( |
Perform actions on transition from Open state |
|
|
EndState_Typing ( |
Perform actions on transition from Typing state |
|
|
FakeGotoState ( |
Controls state transitions for the console |
|
|
FlushPlayerInput() |
Clears out all pressed keys from the player's input object. |
|
|
InputAxis |
||
|
InputChar |
||
|
InputChar_Open |
This state is used when the console is open. |
|
|
InputChar_Typing |
Process a character input event (typing) routed through unrealscript from another object. |
|
|
InputKey ( |
||
|
InputKey_Open ( |
Process an input key event routed through unrealscript from another object. |
|
|
InputTouch |
||
|
OutputText ( |
Prints a (potentially multi-line) FString of text to the console. |
|
|
PostRender_Console ( |
Render to the canvas based on the console state |
|
|
PostRender_Console_Open ( |
Perform rendering of the console on the canvas |
|
|
PostRender_Console_Typing ( |
Perform rendering of the console on the canvas |
|
|
ProcessControlKey ( |
Looks for Control key presses and the copy/paste combination that apply to both the console bar and the full open console |
|
|
ProcessShiftKey ( |
Looks for Shift key presses |
|
|
SetCursorPos ( |
Set cursor position for typing text |
|
|
SetInputText ( |
Set the input to text |
|
|
StartTyping ( |
Opens the typing bar with text already entered. |
|
|
UpdateCompleteIndices() |
Update the auto complete indices from the typed string |
Name | Description | ||
---|---|---|---|
|
PostInitProperties() |
Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |
Name |
Description |
---|---|
FOnConsoleActivationStateChanged |
Deletate for when the console is activated or deactivated |
FRegisterConsoleAutoCompleteEntries |
Delegate for registering hot-reloaded classes that have been added |
Name |
Description |
---|---|
MAX_HISTORY_ENTRIES |
Max number of command history entries |
OnConsoleActivationStateChanged |
|
RegisterConsoleAutoCompleteEntries |