UE2:Console (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
U2 Object >> Console
Package:
Engine
Known classes within Console:
ConsolePlugIn
Direct subclass:
UIConsole
This class in other games:

Console: A player console, associated with a viewport. This is a built-in Unreal class and it shouldn't be modified.

Properties

bNoDrawWorld

Type: bool


ExecListeners

Type: array<Object>

Modifiers: private


FrameX

Type: float


FrameY

Type: float


PlugIn

Type: array<Object>

Modifiers: config

Must be a subclass of ConsolePlugIn

Viewport

Type: Viewport


vtblOut

Type: int

Modifiers: private, const


Enums

See Console enums.

Functions

Static functions

ShowStatusMessage

static function ShowStatusMessage (PlayerController P, coerce string Msg, optional float Time, optional Font Font, optional Object.Color Color, optional Sound Sound, optional float Volume, optional float Pitch, optional string Holder, optional string Label, optional bool bClearExisting, optional float WrapX, optional bool bReverseOrder)


Native functions

AddExecListener

native function AddExecListener (Object Listener)


ConsoleCommand

native interface function bool ConsoleCommand (coerce string S)


ConsoleCommandEx

native function string ConsoleCommandEx (coerce string S)


RemoveExecListener

native function RemoveExecListener (Object Listener)


TextSize

native final function TextSize (Font Font, coerce string String, out float XL, out float YL)


Events

ConnectFailure

event ConnectFailure (string FailCode, string URL)


KeyEvent

event bool KeyEvent (EInputKey Key, EInputAction Action, float Delta)


KeyType

event bool KeyType (EInputKey Key)


Message

event Message (coerce string Msg, float MsgLife)


NotifyLevelChange

event NotifyLevelChange ()


PostRender

event PostRender (Canvas C)


PreRender

event PreRender (Canvas C)


Tick

event Tick (float Delta)


VideoChange

event VideoChange ()


Other instance functions

AddString

function AddString (coerce string Msg)


ClearMessages

function ClearMessages ()


DisableDrawWorld

function DisableDrawWorld ()


EnableDrawWorld

function EnableDrawWorld ()


FormatFloat

final function string FormatFloat (float f)


TimedMessage

function TimedMessage (coerce string Msg, optional float Duration, optional Font Font, optional Object.Color Color, optional string Holder, optional string Label, optional bool bClearExisting, optional float WrapX, optional bool bReverseOrder)