UE3:UTUIDynamicOptionList (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
(Redirected from UE3:DynamicMenuOption (UT3))
UT3 Object >> UIRoot >> UIScreenObject >> UIObject >> UTUI_Widget >> UTDrawPanel >> UTUIOptionList >> UTUIDynamicOptionList
Package:
UTGame
Implemented interfaces:
UIDataStoreSubscriber

Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.

Version of UTUIOptionList which allows you to add options at runtime, but which doesn't use data providers

Properties

DynamicOptionTemplates

Type: array<DynamicMenuOption>


Subobjects

WidgetEventComponent

Class: Engine.UIComp_Event

Inherits from: UTUIOptionList.WidgetEventComponent

No new values.

Structs

DynamicMenuOption

Modifiers: native

name OptionName
The name used to identify the menu option
UTUIDataProvider_MenuOption.EUTOptionType OptionType
Name of the option set that this option belongs to
name RequiredGameMode
Game mode required for this option to appear
string FriendlyName
Friendly name which is displayed to the player (should be localized before assigment)
string Description
Description of the option (should also be localized)
bool bEditableCombo
Whether or not the options presented to the user are the only options they can choose from
bool bNumericCombo
Whether or not the combobox is numeric
int EditBoxMaxLength
Maximum length of the editbox property
UIEditBox.EEditBoxCharacterSet EditboxAllowedChars
The allowed character set for editboxes
UIRoot.UIRangeData RangeData
Range data for the option, only used if its a slider type
bool bKeyboardOrMouseOption
Whether the option is a keyboard or mouse option
bool bOnlineOnly
Whether the option is an online only option or not
bool bOfflineOnly
Whether the option is an offline only option or not

Delegates

OnSetupOptionBindings

delegate OnSetupOptionBindings ()


Functions

Events

SetupOptionBindings

event SetupOptionBindings ()

Overrides: UTUIOptionList.SetupOptionBindings

Sets up the option bindings.

Other instance functions

GetDynamicOptionIndexByName

function int GetDynamicOptionIndexByName (name InName)


GetDynamicOptionIndexByObject

function int GetDynamicOptionIndexByObject (UIObject InObject)


RefreshAllOptions

function RefreshAllOptions ()

Overrides: UTUIOptionList.RefreshAllOptions

Refreshes the value of all of the options by having them pull their options from the datastore again.