Cogito, ergo sum

UE2:Console (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
U2XMP Object >> Console

Contents

Package: 
Engine
Known classes within Console:
ConsolePlugIn, TimeDemoPlugin
Direct subclasses:
DefaultConsole, UIConsole
This class in other games:
RTNP, U1, U2, UDK, UE2Runtime, UT, UT2003, UT2004, 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.

[edit] Properties

[edit] bNoDrawWorld

Type: bool


[edit] ExecListeners

Type: array<Object>

Modifiers: private

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

[edit] FrameX

Type: float


[edit] FrameY

Type: float


[edit] LevelLoadingPct

Type: float


[edit] PlugIn

Type: array<Object>

Modifiers: config

NEW: Must be a subclass of ConsolePlugIn

Default value: Class'Engine.TimeDemoPlugin'

[edit] Viewport

Type: Viewport


[edit] vtblOut

Type: int

Modifiers: private, const


[edit] Enums

See Console enums.

[edit] Functions

[edit] Exec functions

[edit] Talk

exec function Talk ()


[edit] TeamTalk

exec function TeamTalk ()


[edit] Type

exec function Type ()


[edit] Native functions

[edit] AddExecListener

native function AddExecListener (Object Listener)


[edit] ConsoleCommand

native function bool ConsoleCommand (coerce string S)


[edit] ConsoleCommandEx

native function string ConsoleCommandEx (coerce string S)


[edit] RemoveExecListener

native function RemoveExecListener (Object Listener)


[edit] TextSize

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


[edit] Events

[edit] ConnectFailure

event ConnectFailure (string FailCode, string URL)


[edit] KeyEvent

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


[edit] KeyType

event bool KeyType (EInputKey Key)


[edit] Message

event Message (coerce string Msg, float MsgLife)


[edit] NotifyLevelChange

event NotifyLevelChange ()


[edit] PostRender

event PostRender (Canvas C)


[edit] PreRender

event PreRender (Canvas C)


[edit] Tick

event Tick (float Delta)


[edit] VideoChange

event VideoChange ()


[edit] Other instance functions

[edit] AddString

function AddString (coerce string Msg)


[edit] ClearMessages

function ClearMessages ()


[edit] DisableDrawWorld

function DisableDrawWorld ()


[edit] EnableDrawWorld

function EnableDrawWorld ()


[edit] FormatFloat

final function string FormatFloat (float f)


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


Personal tools