Mostly Harmless

UE3:UIDataStore_StringAliasMap (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> UIRoot >> UIDataProvider >> UIDataStore >> UIDataStore_StringAliasMap
Package: 
Engine
Direct subclasses:
UTUIDataStore_StringAliasBindingsMap, UTUIDataStore_StringAliasMap
This class in other games:
UDK

This datastore allows games to map aliases to strings that may change based on the current platform or language setting.

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

Properties

MenuInputMapArray

Type: array<UIMenuInputMap>

Modifiers: config

Array of input string mappings for use in the front end.

MenuInputSets

Type: Object.Map_Mirror{TMap<FName, TMap<FName, INT> >}

Modifiers: const, private, native, transient

collection of list element provider instances that are associated with each ElementProviderType

PlayerIndex

Type: int

Modifiers: const, transient

The index [into the Engine.GamePlayers array] for the player that this data store provides settings for.

Default values

Property Value
Tag 'StringAliasMap'

Structs

UIMenuInputMap

Modifiers: native

Struct to store the field values and how they map to localized strings

name FieldName 
name Set 
string MappedText 

Native functions

FindMappingWithFieldName

native final function int FindMappingWithFieldName (optional string FieldName, optional string SetName)

Attempts to find a mapping index given a field name.

Parameters:

  • FieldName - Fieldname to search for.

Returns:

Returns the index of the mapping in the mapping array, otherwise INDEX_NONE if the mapping wasn't found.

GetPlayerOwner

native final function LocalPlayer GetPlayerOwner () const

Returns a reference to the ULocalPlayer that this PlayerSettingsProvdier provider settings data for

GetStringWithFieldName

native virtual function int GetStringWithFieldName (string FieldName, out string MappedString)

Set MappedString to be the localized string using the FieldName as a key Returns the index into the mapped string array of where it was found.