Gah - a solution with more questions. – EntropicLqd

UE3:UTUIDataStore_CustomChar (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> UIRoot >> UIDataProvider >> UIDataStore >> UTUIDataStore_CustomChar
Package: 
UTGame
Implemented interfaces
UIListElementProvider

Inherited version of the game resource datastore that exposes the various customizeable character parts to the UI.

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

Properties[edit]

ActiveBots[edit]

Type: array<int>

Set of currently active bots that the player is going to play against.

CurrentCharacter[edit]

Type: string

The currently selected character.

CurrentFaction[edit]

Type: string

The currently selected faction.

CurrentFamily[edit]

Type: string

The family of parts we are going to show the player.

PartProviders[edit]

Type: Object.MultiMap_Mirror{TMultiMap<FName, class UUIDataProvider*>}

Modifiers: const, private, native, transient

collection of providers per part type.

PartTags[edit]

Type: array<name>

Array of FNames for the parts map, this should map directly to the ECharPart enum.

Default value, index 0: 'Heads'

Default value, index 1: 'Helmets'

Default value, index 2: 'Facemasks'

Default value, index 3: 'Goggles'

Default value, index 4: 'Torsos'

Default value, index 5: 'ShoulderPads'

Default value, index 6: 'Arms'

Default value, index 7: 'Thighs'

Default value, index 8: 'Boots'

Default values[edit]

Property Value
Tag 'UTCustomChar'
WriteAccessType ACCESS_WriteAll

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.

GetProviderElementCount[edit]

native function int GetProviderElementCount (name ProviderFieldName)

Attempts to find the number of list elements given a provider field.

Returns:

Returns the number of elements.

GetProviderListElements[edit]

native function array<intGetProviderListElements (name ProviderFieldName)

Returns a set of filtered list element indices for the specified provider.

Returns:

An array of list elements.

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.