UE2:GUIController functions (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site

;Other member categories for this class::

Functions

Static native functions

GetMainMenuClass

native static final function string GetMainMenuClass ()


Static events

Validate

static event Validate ()


Other static functions

GetInstantActionPage

static function string GetInstantActionPage ()


GetModPage

static function string GetModPage ()


GetMultiplayerPage

static function string GetMultiplayerPage ()


GetQuitPage

static function string GetQuitPage ()


GetServerBrowserPage

static function string GetServerBrowserPage ()


GetSettingsPage

static function string GetSettingsPage ()


GetSinglePlayerPage

static function string GetSinglePlayerPage ()


Native functions

GetMenuFont

native event GUIFont GetMenuFont (string FontName)


GetStyle

native event GUIStyles GetStyle (string StyleName, out GUI.eFontScale FontScale)


AuthroizeFirewall

native function bool AuthroizeFirewall ()


CheckFirewall

native function bool CheckFirewall ()


CheckForECE

native function bool CheckForECE ()


GetCurrentRes

native final function string GetCurrentRes ()


GetDEMHeader

native function bool GetDEMHeader (string DemoName, out string MapName, out string GameType, out int ScoreLimit, out int TimeLimit, out int ClientSide, out string RecordedBy, out string Timestamp, out string ReqPackages)


GetDEMList

native function GetDEMList (out array<stringDEMFiles)


GetMapList

native final function GetMapList (string Prefix, GUIList list, optional bool bDecoText)


GetOGGList

native final function GetOGGList (out array<stringOGGFiles)


GetOwnageList

native function GetOwnageList (out array<intRLevel, out array<stringMNames, out array<stringMDesc, out array<stringmURL)


GetProfileList

native final function GetProfileList (string Prefix, out array<stringProfileList)


GetWeaponList

native final function GetWeaponList (out array<class<Weapon> > WeaponClass, out array<stringWeaponDesc)


LaunchURL

native function LaunchURL (string URL)


PlayInterfaceSound

native final function PlayInterfaceSound (GUIComponent.EClickSound SoundType)


Profile

native function Profile (string ProfileName)


ResetDesigner

native private final function ResetDesigner ()


ResetInput

native final function ResetInput ()


ResetKeyboard

native final function ResetKeyboard ()


SaveOwnageList

native function SaveOwnageList (array<eOwnageMapMaps)


SetMoveControl

native final function SetMoveControl (GUIComponent C)


SetRenderDevice

native final function bool SetRenderDevice (string NewRenderDevice)


Native G15 functions

These functions are only available in the UT2004 v3372 "G15" patch.

bLCDAvailable

native function bool bLCDAvailable ()

LCDDrawTile

native function LCDDrawTile (Texture Tex, int X, int Y, int XL, int YL, int U, int V, int UL, int VL)

LCDDrawText

native function LCDDrawText (string Text, int X, int Y, Font Font)

LCDStrLen

native function LCDStrLen (string Text, Font Font, out int XL, out int YL)

LCDCls

native function LCDCls ()

LCDRepaint

native function LCDRepaint ()

Events

AddComponentClass

event class<GUIComponentAddComponentClass (string ClassName)


AutoLoadMenus

event AutoLoadMenus ()

Overrides: BaseGUIController.AutoLoadMenus


CanShowHints

event bool CanShowHints ()


ChangeFocus

event ChangeFocus (GUIComponent Who)


CloseAll

event CloseAll (bool bCancel, optional bool bForced)

Overrides: BaseGUIController.CloseAll


CloseMenu

event bool CloseMenu (optional bool bCancelled)

Overrides: BaseGUIController.CloseMenu


CreateMenu

event GUIPage CreateMenu (string NewMenuName)


FindMenuIndex

event int FindMenuIndex (GUIPage Menu)


FindMenuIndexByName

event int FindMenuIndexByName (string MenuClass)


FindPersistentMenuByName

event GUIPage FindPersistentMenuByName (string MenuClass)


FindPersistentMenuIndex

event int FindPersistentMenuIndex (GUIPage Menu)


InitializeController

event InitializeController ()

Overrides: BaseGUIController.InitializeController


MoveFocused

event MoveFocused (GUIComponent C, int bmLeft, int bmTop, int bmWidth, int bmHeight, float ClipX, float ClipY, float Val)


NeedsMenuResolution

event bool NeedsMenuResolution ()

Overrides: BaseGUIController.NeedsMenuResolution


NotifyLevelChange

event NotifyLevelChange ()

Overrides: Interaction.NotifyLevelChange


OpenMenu

event bool OpenMenu (string NewMenuName, optional string Param1, optional string Param2)

Overrides: BaseGUIController.OpenMenu


PopMenu

protected event PopMenu (int Index, GUIPage CurMenu, optional bool bCancelled)


PushMenu

protected event PushMenu (int Index, GUIPage NewMenu, optional string Param1, optional string Param2)


RemoveMenu

event bool RemoveMenu (GUIPage Menu, optional bool bCancelled)


ReplaceMenu

event bool ReplaceMenu (string NewMenuName, optional string Param1, optional string Param2, optional bool bCancelled)

Overrides: BaseGUIController.ReplaceMenu


SetRequiredGameResolution

event SetRequiredGameResolution (string GameRes)

Overrides: BaseGUIController.SetRequiredGameResolution


Other instance functions

CloseOverlays

function CloseOverlays ()


ConsolidateMenus

function ConsolidateMenus ()


Count

function int Count ()


FindMenuByClass

function GUIPage FindMenuByClass (class<GUIPagePageClass)


FindPersistentMenuByClass

function GUIPage FindPersistentMenuByClass (class<GUIPagePageClass)


GetAssignedKeys

final function bool GetAssignedKeys (string BindAlias, out array<stringBindKeyNames, out array<stringLocalizedBindKeyNames)


GetCurrentBind

final function bool GetCurrentBind (string BindKeyName, out string BindKeyValue)


GetTeamSymbolList

final function GetTeamSymbolList (out array<stringSymbolNames, optional bool bNoSinglePlayer)


HasMouseMoved

function bool HasMouseMoved (optional float ErrorMargin)


KeyNameFromIndex

final function bool KeyNameFromIndex (byte iKey, out string KeyName, out string LocalizedKeyName)


KeyPressed

final function bool KeyPressed (Interactions.EInputKey iKey)


LoadDecoText

function string LoadDecoText (string PackageName, string DecoTextName)


PerformRestore

function PerformRestore ()


PrecachePlayerRecords

function PrecachePlayerRecords ()


PurgeComponentClasses

function PurgeComponentClasses ()


PurgeObjectReferences

function PurgeObjectReferences ()


RegisterStyle

function bool RegisterStyle (class<GUIStylesStyleClass, optional bool bTemporary)


RemoveMenuAt

function bool RemoveMenuAt (int Index, optional bool bCancelled)


ResetFocus

function ResetFocus ()


SaveRestorePages

function SaveRestorePages ()


SearchBinds

final function bool SearchBinds (string BindAliasMask, out array<stringBindAliases)


SetControllerStatus

function SetControllerStatus (bool On)

Overrides: BaseGUIController.SetControllerStatus


SetKeyBind

final function bool SetKeyBind (string BindKeyName, string BindKeyValue)


ShowQuestionDialog

function GUIQuestionPage ShowQuestionDialog (string Question, optional byte Buttons, optional byte defButton)

show a Question menu, when the page succesfully opens it returns the handle to it. by default the btnOk is used

TopPage

function GUIPage TopPage ()


VerifyStack

function VerifyStack ()