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

UE3:UTUIDataStore_CustomChar (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

ActiveBots

Type: array<int>

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

CurrentCharacter

Type: string

The currently selected character.

CurrentFaction

Type: string

The currently selected faction.

CurrentFamily

Type: string

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

PartProviders

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

Modifiers: const, private, native, transient

collection of providers per part type.

PartTags

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

Property Value
Tag 'UTCustomChar'
WriteAccessType ACCESS_WriteAll

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.

GetProviderElementCount

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

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

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.