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

Difference between revisions of "UE3:UTUIFrontEnd Mutators (UT3)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
m (1 revision)
m (added missing members)
 
(One intermediate revision by the same user not shown)
Line 55: Line 55:
  
 
Mutators that were enabled when we entered the scene.
 
Mutators that were enabled when we entered the scene.
 +
 +
====SettingsDataStore====
 +
'''Type:''' {{cl|UIDataStore_OnlineGameSettings}}
 +
 +
'''[[Variables#Modifiers|Modifiers]]:''' transient
 +
 +
Reference to the settings datastore which will persistently store mutator settings
  
 
====ShiftLeftImage====
 
====ShiftLeftImage====

Latest revision as of 07:16, 16 August 2009

UT3 Object >> UIRoot >> UIScreenObject >> UIScene >> UTUIScene >> UTUIFrontEnd >> UTUIFrontEnd_Mutators
Package: 
UTGame
This class in other games:
UDK

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

Scene to let user's select which mutators to use.

Properties[edit]

AvailableList[edit]

Type: UIList

Modifiers: transient

List of available mutators.

DescriptionLabel[edit]

Type: UILabel

Modifiers: transient

Label describing the currently selected mutator.

EnabledList[edit]

Type: UIList

Modifiers: transient

List of enabled mutators.

LastFocusedList[edit]

Type: UIList

Modifiers: transient

The last list that was focused.

MenuDataStore[edit]

Type: UTUIDataStore_MenuItems

Modifiers: transient

Reference to the menu datastore

OldEnabledMutators[edit]

Type: array<int>

Modifiers: transient

Mutators that were enabled when we entered the scene.

SettingsDataStore[edit]

Type: UIDataStore_OnlineGameSettings

Modifiers: transient

Reference to the settings datastore which will persistently store mutator settings

ShiftLeftImage[edit]

Type: UIImage

Modifiers: transient


ShiftRightImage[edit]

Type: UIImage

Modifiers: transient

Arrow images.

Subobjects[edit]

SceneEventComponent[edit]

Class: Engine.UIComp_Event

Inherits from: UTUIFrontEnd.SceneEventComponent

No new values.

Functions[edit]

Static functions[edit]

ApplyGameModeFilter[edit]

static function ApplyGameModeFilter ()

Applies the game mode filter to the enabled and available mutator lists.

GetClassNameFromIndex[edit]

static function name GetClassNameFromIndex (int MutatorIndex)


GetEnabledMutators[edit]

static function string GetEnabledMutators ()

Returns:

Returns the current list of enabled mutators, separated by commas.

Events[edit]

PostInitialize[edit]

event PostInitialize ()

Overrides: UTUIFrontEnd.PostInitialize

Post initialization event - Setup widget delegates.

Other instance functions[edit]

AddMutatorAndFilterList[edit]

function AddMutatorAndFilterList (int NewMutator)

Attempts to filter the mutator list to ensure that there are no duplicate groups or mutators enabled that can not be enabled.

HandleInputKey[edit]

function bool HandleInputKey (const out UIRoot.InputEventParameters EventParms)

Overrides: UTUIFrontEnd.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.

IsCurrentMutatorConfigurable[edit]

function bool IsCurrentMutatorConfigurable ()

Returns:

Returns whether or not the current mutator is configurable.

OnAvailableList_NotifyActiveStateChanged[edit]

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

Callback for when the object's active state changes.

OnAvailableList_SubmitSelection[edit]

function OnAvailableList_SubmitSelection (UIList Sender, optional int PlayerIndex)

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

OnAvailableList_ValueChanged[edit]

function OnAvailableList_ValueChanged (UIObject Sender, int PlayerIndex)

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

OnButtonBar_AddMutator[edit]

function bool OnButtonBar_AddMutator (UIScreenObject InButton, int PlayerIndex)


OnButtonBar_Cancel[edit]

function bool OnButtonBar_Cancel (UIScreenObject InButton, int PlayerIndex)


OnButtonBar_ClearMutators[edit]

function bool OnButtonBar_ClearMutators (UIScreenObject InButton, int PlayerIndex)


OnButtonBar_ConfigureMutator[edit]

function bool OnButtonBar_ConfigureMutator (UIScreenObject InButton, int PlayerIndex)

Buttonbar Callbacks.

OnButtonBar_Next[edit]

function bool OnButtonBar_Next (UIScreenObject InButton, int PlayerIndex)


OnButtonBar_RemoveMutator[edit]

function bool OnButtonBar_RemoveMutator (UIScreenObject InButton, int PlayerIndex)


OnCancel[edit]

function OnCancel ()

The user has finished setting up their mutators and wants to continue on.

OnClearMutators[edit]

function OnClearMutators ()

Clears the enabled mutator list.

OnConfigureMutator[edit]

function OnConfigureMutator ()

Loads the configuration scene for the currently selected mutator.

OnEnabledList_NotifyActiveStateChanged[edit]

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

Callback for when the object's active state changes.

OnEnabledList_SubmitSelection[edit]

function OnEnabledList_SubmitSelection (UIList Sender, optional int PlayerIndex)

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

OnEnabledList_ValueChanged[edit]

function OnEnabledList_ValueChanged (UIObject Sender, int PlayerIndex)

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

OnMoveMutator[edit]

function OnMoveMutator (bool bAddMutator)

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

OnMutatorList_RawInputKey[edit]

function bool OnMutatorList_RawInputKey (const out UIRoot.InputEventParameters EventParms)

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

OnMutatorListChanged[edit]

function OnMutatorListChanged ()

Repopulate the lists; called whenever items are added or removed to one of the lists.

OnNext[edit]

function OnNext ()

The user has finished setting up their mutators and wants to continue on.

OnSelectedMutatorChanged[edit]

function OnSelectedMutatorChanged ()

Updates widgets when the currently selected mutator changes.

SetMutatorEnabled[edit]

function SetMutatorEnabled (int MutatorId, bool bEnabled)

Modifies the enabled mutator array to enable/disable a mutator.

SetupButtonBar[edit]

function SetupButtonBar ()

Overrides: UTUIFrontEnd.SetupButtonBar

Sets up the button bar for the parent scene.

UpdateDescriptionLabel[edit]

function UpdateDescriptionLabel ()

Updates the description label.