There is no spoon

UE2:Console (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Console
Package: 
Engine
Known classes within Console:
ConsolePlugIn, TimeDemoPlugin
Direct subclasses:
DefaultConsole, UIConsole
This class in other games:
RTNP, U1, UT, U2, UE2Runtime, UT2003, UT2004, UDK, UT3

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[edit]

bNoDrawWorld[edit]

Type: bool


ExecListeners[edit]

Type: array<Object>

Modifiers: private

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

FrameX[edit]

Type: float


FrameY[edit]

Type: float


LevelLoadingPct[edit]

Type: float


PlugIn[edit]

Type: array<Object>

Modifiers: config

NEW: Must be a subclass of ConsolePlugIn

Default value: Class'Engine.TimeDemoPlugin'

Viewport[edit]

Type: Viewport


vtblOut[edit]

Type: int

Modifiers: private, const


Enums[edit]

See Console enums.

Functions[edit]

Exec functions[edit]

Talk[edit]

exec function Talk ()


TeamTalk[edit]

exec function TeamTalk ()


Type[edit]

exec function Type ()


Native functions[edit]

AddExecListener[edit]

native function AddExecListener (Object Listener)


ConsoleCommand[edit]

native function bool ConsoleCommand (coerce string S)


ConsoleCommandEx[edit]

native function string ConsoleCommandEx (coerce string S)


RemoveExecListener[edit]

native function RemoveExecListener (Object Listener)


TextSize[edit]

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


Events[edit]

ConnectFailure[edit]

event ConnectFailure (string FailCode, string URL)


KeyEvent[edit]

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


KeyType[edit]

event bool KeyType (EInputKey Key)


Message[edit]

event Message (coerce string Msg, float MsgLife)


NotifyLevelChange[edit]

event NotifyLevelChange ()


PostRender[edit]

event PostRender (Canvas C)


PreRender[edit]

event PreRender (Canvas C)


Tick[edit]

event Tick (float Delta)


VideoChange[edit]

event VideoChange ()


Other instance functions[edit]

AddString[edit]

function AddString (coerce string Msg)


ClearMessages[edit]

function ClearMessages ()


DisableDrawWorld[edit]

function DisableDrawWorld ()


EnableDrawWorld[edit]

function EnableDrawWorld ()


FormatFloat[edit]

final function string FormatFloat (float f)


TimedMessage[edit]

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)