The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:DefaultConsole (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Console >> DefaultConsole
Package: 
Engine
  1. if 1 //NEW: Diff with Console.uc

DefaultConsole: Default implementation for Unreal's console. This is a built-in Unreal class and it shouldn't be modified.

Constants

MaxBorder

Value: 6


MaxLines

Value: 64


MaxHistory

Value: 16


TextMsgSize

Value: 128


Properties

Property group 'DefaultConsole'

ConsoleFont

Type: Font


Internal variables

bEchoToHUD

Type: bool


bNoStuff

Type: bool


Border

Type: Texture


Default value: Texture'Engine.Border'

BorderLines

Type: int


BorderPixels

Type: int


BorderSize

Type: int


bTyping

Type: bool


ConBackground

Type: Texture


Default value: Texture'Engine.ConsoleBack'

ConnectingMessage

Type: string

Modifiers: localized


Default value: "CONNECTING"

ConsoleDest

Type: float


ConsoleLines

Type: int


ConsolePos

Type: float


History

Type: string

Array size: 16


HistoryBot

Type: int


HistoryCur

Type: int


HistoryTop

Type: int


LoadingMessage

Type: string

Modifiers: localized


Default value: "LOADING"

MsgPlayer

Type: PlayerReplicationInfo

Array size: 64


MsgText

Type: string

Array size: 64


MsgTick

Type: float

Array size: 64


MsgTickTime

Type: float


MsgTime

Type: float


MsgType

Type: name

Array size: 64


NumLines

Type: int


PausedMessage

Type: string

Modifiers: localized


Default value: "PAUSED"

PrecachingMessage

Type: string

Modifiers: localized


Default value: "PRECACHING"

SavingMessage

Type: string

Modifiers: localized


Default value: "SAVING"

Scrollback

Type: int


TextLines

Type: int


TopLine

Type: int


TypedStr

Type: string


Functions

Exec functions

Talk

exec function Talk ()

Overrides: Console.Talk


TeamTalk

exec function TeamTalk ()

Overrides: Console.TeamTalk


ToggleEchoToHUD

exec function ToggleEchoToHUD ()


Type

exec function Type ()

Overrides: Console.Type


ViewDown

exec function ViewDown ()


ViewUp

exec function ViewUp ()


Events

KeyEvent

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

Overrides: Console.KeyEvent


Message

event Message (coerce string Msg, float MsgLife)

Overrides: Console.Message


NotifyLevelChange

event NotifyLevelChange ()

Overrides: Console.NotifyLevelChange


PostRender

event PostRender (Canvas C)

Overrides: Console.PostRender


Tick

event Tick (float Delta)

Overrides: Console.Tick


Other instance functions

ClearMessages

function ClearMessages ()

Overrides: Console.ClearMessages


DrawConsoleView

simulated function DrawConsoleView (Canvas C)


DrawLevelAction

function DrawLevelAction (Canvas C)


DrawSingleView

simulated function DrawSingleView (Canvas C)


GetMsgPlayer

function PlayerReplicationInfo GetMsgPlayer (int Index)


GetMsgText

function string GetMsgText (int Index)


GetMsgTick

function float GetMsgTick (int Index)


GetMsgType

function name GetMsgType (int Index)


GetShortMessage

function string GetShortMessage (int Index)


PrintActionMessage

function PrintActionMessage (Canvas C, string BigMessage)


SetMsgPlayer

function SetMsgPlayer (int Index, PlayerReplicationInfo NewMsgPlayer)


SetMsgText

function SetMsgText (int Index, string NewMsgText)


SetMsgTick

function SetMsgTick (int Index, int NewMsgTick)


SetMsgType

function SetMsgType (int Index, name NewMsgType)


States

Typing

Typing.BeginState

event BeginState ()

Overrides: Object.BeginState (global)


Typing.EndState

event EndState ()

Overrides: Object.EndState (global)


Typing.KeyEvent

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

Overrides: KeyEvent (global)


Typing.KeyType

event bool KeyType (Console.EInputKey Key)

Overrides: Console.KeyType (global)


Typing.Type

exec function Type ()

Overrides: Type (global)