I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE3:UTUIDynamicOptionList (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
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[edit]

DynamicOptionTemplates[edit]

Type: array<DynamicMenuOption>


Subobjects[edit]

WidgetEventComponent[edit]

Class: Engine.UIComp_Event

Inherits from: UTUIOptionList.WidgetEventComponent

No new values.

Structs[edit]

DynamicMenuOption[edit]

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[edit]

OnSetupOptionBindings[edit]

delegate OnSetupOptionBindings ()


Functions[edit]

Events[edit]

SetupOptionBindings[edit]

event SetupOptionBindings ()

Overrides: UTUIOptionList.SetupOptionBindings

Sets up the option bindings.

Other instance functions[edit]

GetDynamicOptionIndexByName[edit]

function int GetDynamicOptionIndexByName (name InName)


GetDynamicOptionIndexByObject[edit]

function int GetDynamicOptionIndexByObject (UIObject InObject)


RefreshAllOptions[edit]

function RefreshAllOptions ()

Overrides: UTUIOptionList.RefreshAllOptions

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