I don't need to test my programs. I have an error-correcting modem.

UE3:UTUIDataStore_MenuItems (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 06:03, 16 August 2009 by Wormbo (Talk | contribs) (updated defaults)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT3 Object >> UIRoot >> UIDataProvider >> UIDataStore >> UIDataStore_GameResource >> UTUIDataStore_MenuItems
Package: 
UTGame
Implemented interfaces
UIListElementCellProvider, UIListElementProvider
This class in other games:
UDK

Inherited version of the game resource datastore that has UT specific dataproviders.

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

Properties

EnabledMutators

Type: array<int>

Array of enabled mutators, the available mutators list will not contain any of these mutators.

GameModeFilter

Type: int

Current game mode to filter by.

Default value: 2

MapCycle

Type: array<int>

Array of maps, the available maps list will not contain any of these maps.

WeaponPriority

Type: array<int>

Priority listing of the weapons, index 0 being highest priority.

Default values

Property Value
ElementProviderTypes[0]
Member Value
ProviderClassName "UTGame.UTUIDataProvider_MainMenuItems"
ProviderTag 'MainMenu'
ElementProviderTypes[1]
Member Value
ProviderClassName "UTGame.UTUIDataProvider_SettingsMenuItem"
ProviderTag 'Settings'
ElementProviderTypes[2]
Member Value
ProviderClassName "UTGame.UTUIDataProvider_MultiplayerMenuItem"
ProviderTag 'MultiplayerMenu'
ElementProviderTypes[3]
Member Value
ProviderClassName "UTGame.UTUIDataProvider_CommunityMenuItem"
ProviderTag 'CommunityMenu'
ElementProviderTypes[4]
Member Value
ProviderClassName "UTGame.UTUIDataProvider_SettingsMenuItem"
ProviderTag 'SettingsMenu'
ElementProviderTypes[5]
Member Value
ProviderClassName "UTGame.UTUIDataProvider_GameModeInfo"
ProviderTag 'GameModes'
ElementProviderTypes[6]
Member Value
ProviderClassName "UTGame.UTUIDataProvider_MapInfo"
ProviderTag 'Maps'
ElementProviderTypes[7]
Member Value
ProviderClassName "UTGame.UTUIDataProvider_MidGameMenu"
ProviderTag 'MidGameMenu'
ElementProviderTypes[8]
Member Value
ProviderClassName "UTGame.UTUIDataProvider_Mutator"
ProviderTag 'Mutators'
ElementProviderTypes[9]
Member Value
ProviderClassName "UTGame.UTUIDataProvider_Weapon"
ProviderTag 'Weapons'
ElementProviderTypes[10]
Member Value
ProviderClassName "UTGame.UTUIDataProvider_Weapon"
ProviderTag 'DropDownWeapons'
ElementProviderTypes[11]
Member Value
ProviderClassName "UTGame.UTUIDataProvider_DemoFile"
ProviderTag 'DemoFiles'
Tag 'UTMenuItems'
WriteAccessType ACCESS_WriteAll

Functions

Static native functions

GetAllResourceDataProviders

native static final function GetAllResourceDataProviders (class<UTUIResourceDataProviderProviderClass, out array<UTUIResourceDataProviderProviders)

finds all UIResourceDataProvider objects defined in all .ini files in the game's config directory static and script exposed to allow access to map/mutator/gametype/weapon lists outside of the menus

Native functions

FindValueInProviderSet

native function int FindValueInProviderSet (name ProviderFieldName, name SearchTag, string SearchValue)

Attempts to find the index of a provider given a provider field name, a search tag, and a value to match.

Returns:

Returns the index of the provider or INDEX_NONE if the provider wasn't found.

GetProviderCount

native function int GetProviderCount (name FieldName)

Returns:

Returns the number of providers for a given field name.

GetProviderSet

native function bool GetProviderSet (name ProviderFieldName, out array<UTUIResourceDataProviderOutProviders)

Attempts to retrieve all providers with the specified provider field name.

Parameters:

  • ProviderFieldName - Name of the provider set to search for
  • OutProviders - A set of providers with the given name

Returns:

TRUE if the set was found, FALSE otherwise.

GetValueFromProviderSet

native function bool GetValueFromProviderSet (name ProviderFieldName, name SearchTag, int ListIndex, out string OutValue)

Attempts to find the value of a provider given a provider cell field.

Returns:

Returns true if the value was found, false otherwise.

IsProviderFiltered

native function bool IsProviderFiltered (name FieldName, int ProviderIdx)

Returns:

Whether or not the specified provider is filtered or not.