I love the smell of UnrealEd crashing in the morning. – tarquin

UE3:UTUIPanel_MapCycle instance functions (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> UIRoot >> UIScreenObject >> UIObject >> UIContainer >> UITabPage >> UTTabPage >> UTUIPanel_MapCycle (instance functions)

Instance functions

GenerateMapCycleList

function GenerateMapCycleList (out UTGame.GameMapCycle Cycle)

Converts the current map cycle to a string map names and stores them in the config saved array.

GenerateMapCycleListNew

function GenerateMapCycleListNew (out UTMapList MLObj)

Added for maplist objects.

GetCurrentGameMode

function name GetCurrentGameMode ()


GetCurrentGameModeFull

function name GetCurrentGameModeFull ()


GetSelectedMap

function string GetSelectedMap ()

Returns:

Returns the first currently selected map.

GrabOptions

function string GrabOptions (string InURL)


HandleInputKey

function bool HandleInputKey (const out UIRoot.InputEventParameters EventParms)

Overrides: UTTabPage.HandleInputKey

Provides a hook for unrealscript to respond to input using actual input key names (i.e. Left, Tab, etc.)

Called when an input key event is received which this widget responds to and is in the correct state to process. The keys and states widgets receive input for is managed through the UI editor's key binding dialog (F8).

This delegate is called BEFORE kismet is given a chance to process the input.

Parameters:

  • EventParms - information about the input event.

Returns:

TRUE to indicate that this input key was processed; no further processing will occur on this input key event.

HandleRefreshSubscriberValue

function bool HandleRefreshSubscriberValue (UIObject Sender, int BindingIndex)

Called when this widget receives a call to RefreshSubscriberValue.

Parameters:

  • BindingIndex - optional parameter for indicating which data store binding is being refreshed, for those objects which have multiple data store bindings. How this parameter is used is up to the class which implements this interface, but typically the "primary" data store will be index 0, while values greater than FIRST_DEFAULT_DATABINDING_INDEX correspond to tooltips and context menus.

Returns:

TRUE to indicate that this widget is going to refresh its value manually.

LoadMapCycle

function LoadMapCycle ()

Loads the map cycle for the current game mode and sets up the datastore's lists.

OnAccept

function OnAccept ()

The user has finished setting up their cycle and wants to save changes.

OnAvailableList_SubmitSelection

function OnAvailableList_SubmitSelection (UIList Sender, optional int PlayerIndex)

Callback for when the user submits the selection on the available list.

OnAvailableList_ValueChanged

function OnAvailableList_ValueChanged (UIObject Sender, int PlayerIndex)

Callback for when the user selects a new item in the available list.

OnButtonBar_Accept

function bool OnButtonBar_Accept (UIScreenObject InButton, int PlayerIndex)

Buttonbar Callbacks.

OnButtonBar_ClearMaps

function bool OnButtonBar_ClearMaps (UIScreenObject InButton, int PlayerIndex)


OnButtonBar_MoveMap

function bool OnButtonBar_MoveMap (UIScreenObject InButton, int PlayerIndex)


OnButtonBar_ShiftDown

function bool OnButtonBar_ShiftDown (UIScreenObject InButton, int PlayerIndex)


OnButtonBar_ShiftUp

function bool OnButtonBar_ShiftUp (UIScreenObject InButton, int PlayerIndex)


OnClearMaps

function OnClearMaps ()

Clears the enabled map list.

OnEnabledList_SubmitSelection

function OnEnabledList_SubmitSelection (UIList Sender, optional int PlayerIndex)

Callback for when the user submits the selection on the enabled list.

OnEnabledList_ValueChanged

function OnEnabledList_ValueChanged (UIObject Sender, int PlayerIndex)

Callback for when the user selects a new item in the enabled list.

OnList_NotifyActiveStateChanged

function OnList_NotifyActiveStateChanged (UIScreenObject Sender, int PlayerIndex, UIState NewlyActiveState, optional UIState PreviouslyActiveState)

Callback for when the object's active state changes.

OnMapList_RawInputKey

function bool OnMapList_RawInputKey (const out UIRoot.InputEventParameters EventParms)

Callback for the map lists, captures the accept button before the lists get to it.

OnMapListChanged

function OnMapListChanged ()

Called whenever one of the map lists changes.

OnMoveMap

function OnMoveMap ()

Callback for when the user tries to move a map from one list to another.

OnSelectedMapChanged

function OnSelectedMapChanged ()

Updates widgets when the currently selected map changes.

OnShiftMap

function OnShiftMap (bool bShiftUp)

Shifts maps up and down in the map cycle.

SaveMapCycle

function SaveMapCycle ()

Transfers the current map cycle in the menu datastore to our array of config saved map cycles for each gamemode.

SelectBestList

function SelectBestList ()

Selects the best list depending on which list has currently available maps.

SetupButtonBar

function SetupButtonBar (UTUIButtonBar ButtonBar)

Overrides: UTTabPage.SetupButtonBar

Sets up the button bar for the parent scene.

StripOptions

function string StripOptions (coerce string InURL)


UpdateDescriptionLabel

function UpdateDescriptionLabel ()

Updates the description label.