Mostly Harmless

Difference between revisions of "UE3:UTUIDataStore MenuItems (UT3)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
m (1 revision)
m (updated defaults)
 
(One intermediate revision by the same user not shown)
Line 24: Line 24:
  
 
Current game mode to filter by.
 
Current game mode to filter by.
 +
 +
'''Default value:''' 2
  
 
====MapCycle====
 
====MapCycle====

Latest revision as of 06:03, 16 August 2009

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

EnabledMutators[edit]

Type: array<int>

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

GameModeFilter[edit]

Type: int

Current game mode to filter by.

Default value: 2

MapCycle[edit]

Type: array<int>

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

WeaponPriority[edit]

Type: array<int>

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

Default values[edit]

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

Static native functions[edit]

GetAllResourceDataProviders[edit]

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

FindValueInProviderSet[edit]

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

native function int GetProviderCount (name FieldName)

Returns:

Returns the number of providers for a given field name.

GetProviderSet[edit]

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

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

native function bool IsProviderFiltered (name FieldName, int ProviderIdx)

Returns:

Whether or not the specified provider is filtered or not.