The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE3:UTUIFrontEnd_WeaponPreference (UT3)
Object >> UIRoot >> UIScreenObject >> UIScene >> UTUIScene >> UTUIFrontEnd >> UTUIFrontEnd_WeaponPreference |
Contents
- 1 Properties
- 2 Delegates
- 3 Functions
- 3.1 Native functions
- 3.2 Events
- 3.3 Other instance functions
- 3.3.1 HandleInputKey
- 3.3.2 InitializeWeaponList
- 3.3.3 OnAccept
- 3.3.4 OnBack
- 3.3.5 OnButtonBar_Accept
- 3.3.6 OnButtonBar_Back
- 3.3.7 OnButtonBar_ResetToDefaults
- 3.3.8 OnButtonBar_ShiftDown
- 3.3.9 OnButtonBar_ShiftUp
- 3.3.10 OnResetToDefaults
- 3.3.11 OnShiftWeapon
- 3.3.12 OnWeaponList_RawInputKey
- 3.3.13 OnWeaponList_ValueChanged
- 3.3.14 SetupButtonBar
- Package:
- UTGame
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
UI scene that allows the user to set their weapon preferences.
Properties
Property group 'UTUIFrontEnd_WeaponPreference'
BaseWeaponHeight
Type: float
Weapon scale factor to use in 1024x768
Default value: 256.0
Internal variables
DescriptionLabel
Type: UILabel
Modifiers: transient
Description of the currently selected weapon.
DescriptionScroller
Type: UIScrollFrame
Modifiers: transient
scrollframe which contains the description label - allows the player to read long descriptions
DetailsLabel
Type: UILabel
Modifiers: transient
Label with the name of the currently selected weapon.
MenuDataStore
Type: UTUIDataStore_MenuItems
Modifiers: transient
Reference to the menu datastore
OldPriorities
default weapon priorities when entering the scene.
ShiftDownButton
Type: UIButton
Modifiers: transient
ShiftDownLabel
Type: UILabel
Modifiers: transient
ShiftUpButton
Type: UIButton
Modifiers: transient
Reference to the shift up and down buttons.
ShiftUpLabel
Type: UILabel
Modifiers: transient
Shift up/down label callouts.
WeaponClasses
Modifiers: transient
Weapon classes.
WeaponList
Type: UIList
Modifiers: transient
List of weapons.
WeaponMesh
Type: UTUIMeshWidget
Modifiers: transient
Weapon mesh widget.
Subobjects
SceneEventComponent
Class: Engine.UIComp_Event
Inherits from: UTUIFrontEnd.SceneEventComponent
No new values.
Delegates
MarkDirty
Functions
Native functions
LoadINIDefaults
Loads the default weapon priorities from the INI file.
Events
GetWeaponClass
Gets a priority for a weapon given its classname.
PostInitialize
Overrides: UTUIFrontEnd.PostInitialize
Post initialize callback.
SceneActivated
Overrides: UTUIFrontEnd.SceneActivated
Called just after the scene is added to the ActiveScenes array, or when this scene has become the active scene as a result of closing another scene.
Parameters:
- bInitialActivation - TRUE if this is the first time this scene is being activated; FALSE if this scene has become active as a result of closing another scene or manually moving this scene in the stack.
Other instance functions
HandleInputKey
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.
InitializeWeaponList
Initializes the weapon list.
OnAccept
Callback for when the user has accepted their weapon preferences.
OnBack
Callback for when the user wants to back out of the scene.
OnButtonBar_Accept
OnButtonBar_Back
OnButtonBar_ResetToDefaults
OnButtonBar_ShiftDown
OnButtonBar_ShiftUp
Button bar callbacks.
OnResetToDefaults
Resets the weapon order to its defaults.
OnShiftWeapon
Shifts the currently selected weapon up or down in the weapon preference order.
OnWeaponList_RawInputKey
Callback for the mutator lists, captures the accept button before the mutators get to it.
OnWeaponList_ValueChanged
Updates the description and preview image for the currently selected weapon when the user changes the currently selected weapon.
SetupButtonBar
Overrides: UTUIFrontEnd.SetupButtonBar
Sets up the button bar for the parent scene.