UE2:Console (U2XMP)

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

NEW: Implementation factored out to DefaultConsole.uc 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

NEW: PlugIns are automatically added as ExecListeners. Use AddExecListener to add additional components that require exec support.

FrameX

Type: float


FrameY

Type: float


LevelLoadingPct

Type: float


PlugIn

Type: array<Object>

Modifiers: config

NEW: Must be a subclass of ConsolePlugIn

Default value: Class'Engine.TimeDemoPlugin'

Viewport

Type: Viewport


vtblOut

Type: int

Modifiers: private, const


Enums

See Console enums.

Functions

Exec functions

Talk

exec function Talk ()


TeamTalk

exec function TeamTalk ()


Type

exec function Type ()


Native functions

AddExecListener

native function AddExecListener (Object Listener)


ConsoleCommand

native 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 bool bClearExisting, optional float WrapX, optional bool bReverseOrder)