Mostly Harmless

UE1:Menu (UT)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT Object >> Actor >> Menu
Package: 
Engine
Direct subclass:
UnrealMenu
This class in other games:
RTNP, U1

Menu: An in-game menu. This is a built-in Unreal class and it shouldn't be modified.

Serves as a generic menu master class. Can be used with any style of menu implementation. Offers menu services such as reading input. Not dependent on any visual style.

Properties

Property group 'Menu'

CenterString

Type: string

Modifiers: localized


Default value: "Center"

DisabledString

Type: string

Modifiers: localized


Default value: "Disabled"

EnabledString

Type: string

Modifiers: localized


Default value: "Enabled"

HelpMessage

Type: string

Array size: 24

Modifiers: localized


Default value, index 1: "This menu has not yet been implemented."

LeftString

Type: string

Modifiers: localized


Default value: "Left"

MenuLength

Type: int


MenuList

Type: string

Array size: 24

Modifiers: localized


MenuTitle

Type: string

Modifiers: localized


NoString

Type: string

Modifiers: localized


Default value: "no"

RightString

Type: string

Modifiers: localized


Default value: "Right"

YesString

Type: string

Modifiers: localized


Default value: "yes"

Internal variables

bConfigChanged

Type: bool


bExitAllMenus

Type: bool


ParentMenu

Type: Menu


PlayerOwner

Type: PlayerPawn


Selection

Type: int


Default value: 1

Default values

Property Value
bHidden True

Instance functions

DrawMenu

function DrawMenu (Canvas Canvas)


ExitAllMenus

function ExitAllMenus ()


ExitMenu

function Menu ExitMenu ()


MenuInit

function MenuInit ()


MenuProcessInput

function MenuProcessInput (byte KeyNum, byte ActionNum)


MenuTick

function MenuTick (float DeltaTime)


PlayEnterSound

function PlayEnterSound ()


PlayModifySound

function PlayModifySound ()


PlaySelectSound

function PlaySelectSound ()


ProcessLeft

function bool ProcessLeft ()


ProcessMenuEscape

function ProcessMenuEscape ()


ProcessMenuInput

function ProcessMenuInput (coerce string InputString)


ProcessMenuKey

function ProcessMenuKey (int KeyNo, string KeyName)


ProcessMenuUpdate

function ProcessMenuUpdate (coerce string InputString)


ProcessNo

function bool ProcessNo ()


ProcessRight

function bool ProcessRight ()


ProcessSelection

function bool ProcessSelection ()


ProcessYes

function bool ProcessYes ()


SaveConfigs

function SaveConfigs ()


SetFontBrightness

function SetFontBrightness (Canvas Canvas, bool bBright)