Always snap to grid

UE2:UIConsole (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
U2XMP Object >> Console >> UIConsole

Contents

Package: 
UI
This class in other games:
U2

$Author: Aleiby $ $Date: 2/25/03 10:40a $ $Revision: 21 $ Name: UIConsole.uc Author: Aaron R Leiby Date: 21 September 2000 Description: Notes:

Our Root component will automatically get deleted when we are destroyed.

(This is performed in UUIConsole.cpp)

How to use this class:

[edit] Properties

[edit] Property group 'UIConsole'

[edit] bAlt

Type: bool

Modifiers: public


[edit] bCtrl

Type: bool

Modifiers: public


[edit] bHideUI

Type: bool

Modifiers: public


[edit] bShift

Type: bool

Modifiers: public


[edit] Filename

Type: string

Modifiers: public, config


Default value: "UI"

[edit] OffsetX

Type: float

Modifiers: public, config


[edit] OffsetY

Type: float

Modifiers: public, config


[edit] ScaleX

Type: float

Modifiers: public, config


Default value: 1.0

[edit] ScaleY

Type: float

Modifiers: public, config


Default value: 1.0

[edit] Internal variables

[edit] ActionTickListeners

Type: array<int>

Modifiers: private, const, native, noexport

TArray<ActionEvent*>

[edit] Assets

Type: array<Object>

Assets we are using -- keep a pointer around so they don't get garbage collected.

[edit] bEchoToHUD

Type: bool


[edit] bRendering

Type: bool


[edit] FrameIndex

Type: int

useful for caching things on a per-tick basis (like keyframe calculations). updated once per frame regardless of pausing. be wary of wrapping.

[edit] Helpers

Type: array<UIHelper>


[edit] HelperTickListeners

Type: array<int>

Modifiers: private, const, native, noexport

TArray<UUIHelper*>

[edit] Incinerator

Type: array<int>

Modifiers: private, const, native, noexport

TArray<UComponent*>

[edit] InputActionListenerTable

Type: int

Modifiers: private, const, native, noexport

TMap< EInputAction, TArray<NotifyInfo>* >*

[edit] KeyEventListeners

Type: array<int>

Modifiers: private, const, native, noexport

TArray<ActionEvent*>

[edit] KeyListeners

Type: array<int>

Modifiers: private, const, native, noexport

TArray<ActionEvent*>

[edit] LastLevelAction

Type: string


[edit] MessageAreas

Type: array<int>

Modifiers: private, const, native, noexport


[edit] Root

Type: Object.ComponentHandle


[edit] TickListeners

Type: array<int>

Modifiers: private, const, native, noexport

TArray<UComponent*>

[edit] Functions

[edit] Static native functions

[edit] AddComponent

static native function AddComponent (Object.ComponentHandle Component, optional Object.ComponentHandle Container)


[edit] AddKeyEventListener

static native function int AddKeyEventListener (Object Target, string TargetFunc)


[edit] AddKeyListener

static native function int AddKeyListener (Object Target, string TargetFunc)


[edit] AddWatch

static native function AddWatch (name ObjName, name VarName, optional int ArrayIndex)


[edit] DestroyComponent

static native function Object.ComponentHandle DestroyComponent (Object.ComponentHandle Component)


[edit] FindLooseComponent

static native function Object.ComponentHandle FindLooseComponent (string Name, optional Object.ComponentHandle Root)


[edit] GetClient

static native function client GetClient ()


[edit] GetComponent

static native function Object.ComponentHandle GetComponent (string Name, optional Object.ComponentHandle Root)


[edit] GetComponentSize

static native function Object.Dimension GetComponentSize (Object.ComponentHandle Root)


[edit] GetConsole

static native function Console GetConsole ()


[edit] GetInstance

native static function UIConsole GetInstance ()


[edit] GetLooseComponents

static native function GetLooseComponents (string Name, out array<Object.ComponentHandleComponents, optional Object.ComponentHandle Root)


[edit] GetPlayerOwner

static native function PlayerController GetPlayerOwner ()


[edit] GetTimeSeconds

static native function float GetTimeSeconds ()


[edit] GetUIConsole

static native function UIConsole GetUIConsole ()


[edit] LoadComponent

static native exec function Object.ComponentHandle LoadComponent (string Filename, optional string Component)


[edit] RegisterRenderListener

static native function RegisterRenderListener (Object TargetObj, string TargetFunc)


[edit] RemoveKeyEventListener

static native function RemoveKeyEventListener (int MagicKey)


[edit] RemoveKeyListener

static native function RemoveKeyListener (int MagicKey)


[edit] SendEvent

static native function SendEvent (string EventName, optional Object.ComponentHandle Target)


[edit] SetOwner

static native function SetOwner (Object.ComponentHandle Component, Object Owner)


[edit] UnRegisterRenderListener

static native function UnRegisterRenderListener (Object TargetObj, string TargetFunc)


[edit] Other static functions

[edit] BroadcastStatusMessage

static function BroadcastStatusMessage (Actor ContextActor, 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 bool bClearExisting, optional float WrapX, optional bool bReverseOrder)


[edit] ClearProgressMessages

static function ClearProgressMessages (PlayerController P)


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


[edit] Exec functions

[edit] ToggleEchoToHUD

exec function ToggleEchoToHUD ()


[edit] Native functions

[edit] AddTickListener

public native function AddTickListener (Object A)


[edit] DispatchMessage

public native function DispatchMessage (coerce string Msg)


[edit] RemoveTickListener

public native function RemoveTickListener (Object A)


[edit] TimedMessage

native 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)

Overrides: Console.TimedMessage


[edit] Events

[edit] Message

event Message (coerce string Msg, float MsgLife)

Overrides: Console.Message


[edit] Other instance functions

[edit] GetLevelAction

function string GetLevelAction ()