I'm a doctor, not a mechanic
UE3:UTUIDataStore_StringList (UT3)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object >> UIRoot >> UIDataProvider >> UIDataStore >> UTUIDataStore_StringList |
Contents |
- Package:
- UTGame
- Implemented interfaces:
- UIListElementCellProvider, UIListElementProvider
- This class in other games:
- UDK
| This is an auto-generated page and may need human attention. Please remove this tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
[edit] Constants
[edit] INVALIDFIELD
Value: -1
[edit] Properties
[edit] StringData
Type: array<EStringListData>
Modifiers: config
Default value, index 0:
| Member | Value |
|---|---|
| ColumnHeaderText | "Match Type" |
| DefaultValueIndex | 1 |
| Strings |
|
| Tag | 'ServerType' |
Default value, index 1:
| Member | Value |
|---|---|
| ColumnHeaderText | "Match Type" |
| DefaultValueIndex | 1 |
| Strings |
|
| Tag | 'ServerType360' |
Default value, index 2:
| Member | Value |
|---|---|
| ColumnHeaderText | "Match Type" |
| DefaultValueIndex | 1 |
| Strings |
|
| Tag | 'MatchType' |
Default value, index 3:
| Member | Value |
|---|---|
| ColumnHeaderText | "Match Type" |
| DefaultValueIndex | 1 |
| Strings |
|
| Tag | 'MatchType360' |
Default value, index 4:
| Member | Value |
|---|---|
| ColumnHeaderText | "Bot Team" |
| Strings |
|
| Tag | 'BotTeams' |
Default value, index 5:
| Member | Value |
|---|---|
| ColumnHeaderText | "Demo Recording" |
| Strings |
|
| Tag | 'RecordDemo' |
Default value, index 6:
| Member | Value |
|---|---|
| ColumnHeaderText | "Fullscreen" |
| DefaultValueIndex | 1 |
| Strings |
|
| Tag | 'FullScreen' |
Default value, index 7:
| Member | Value |
|---|---|
| ColumnHeaderText | "Resolution" |
| Strings |
|
| Tag | 'ScreenResolution' |
Default value, index 8:
| Member | Value |
|---|---|
| ColumnHeaderText | "Button Preset" |
| Strings |
|
| Tag | 'PS3ButtonPresets' |
Default value, index 9:
| Member | Value |
|---|---|
| ColumnHeaderText | "Splitscreen" |
| Strings |
|
| Tag | 'Splitscreen' |
Default value, index 10:
| Member | Value |
|---|---|
| ColumnHeaderText | "Uniform" |
| Strings |
|
| Tag | 'CharacterParts' |
Default value, index 11:
| Member | Value |
|---|---|
| ColumnHeaderText | "Server Mode" |
| Strings |
|
| Tag | 'PlayerCardOptions' |
Default value, index 12:
| Member | Value |
|---|---|
| Strings |
|
| Tag | 'ComboTest' |
Default value, index 13:
| Member | Value |
|---|---|
| Strings | |
| Tag | 'MissionList' |
Default value, index 14:
| Member | Value |
|---|---|
| Tag | 'PlayerName' |
Default value, index 15:
| Member | Value |
|---|---|
| ColumnHeaderText | "Match Type" |
| Strings |
|
| Tag | 'MatchTypeCampaign' |
Default value, index 16:
| Member | Value |
|---|---|
| ColumnHeaderText | "Difficulty" |
| DefaultValueIndex | 1 |
| Strings |
|
| Tag | 'Difficulty' |
Default value, index 17:
| Member | Value |
|---|---|
| ColumnHeaderText | "Bot Combatants" |
| DefaultValueIndex | 1 |
| Strings |
|
| Tag | 'BotCombatants' |
Default value, index 18:
| Member | Value |
|---|---|
| ColumnHeaderText | "Bot Combatants" |
| DefaultValueIndex | 1 |
| Strings |
|
| Tag | 'BotCombatantsRatio' |
[edit] Default values
| Property | Value |
|---|---|
| Tag | 'UTStringList' |
| WriteAccessType | ACCESS_WriteAll |
[edit] Structs
[edit] EStringListData
Modifiers: native
- name Tag
- the tag used for binding this data to a list cell
- string ColumnHeaderText
- the string to use as the column header for cells bound to this field
- string CurrentValue
- the currently selected value from the Strings array
- int DefaultValueIndex
- the index into the Strings array for the element that should be selected by default
- array<string> Strings
- the available value choices
- UTUIDataProvider_StringArray DataProvider
- provider for the list of strings associated with this tag
[edit] Functions
[edit] Native functions
[edit] AddStr
Add a string to the list
Parameters:
- FieldName - The string list to work on
- NewString - The new string to add
- bBatchOp - if TRUE, doesn't call RefreshSubscribers()
[edit] Empty
Empty a string List
Parameters:
- FieldName - The string list to work on
- bBatchOp - if TRUE, doesn't call RefreshSubscribers()
[edit] FindStr
Finds a string in the list
Parameters:
- FieldName - The string list to add the new string to
- SearchStr - The string to find
Returns:
- the index in the list or INVALIDFIELD
[edit] GetFieldIndex
Parameters:
- FieldName - Name of the String List to find
Returns:
- the index of a string list
[edit] GetList
Get a list
Parameters:
- FieldName - The string list to add the new string to
Returns:
- a copy of the list
[edit] GetStr
Returns the a string by the index
Parameters:
- FieldName - The string list to add the new string to
- StrIndex - The index of the string to get
Returns:
- the string.
[edit] InsertStr
Insert a string in to the list at a given index
Parameters:
- FieldName - The string list to work on
- NewString - The new string to add
- InsertIndex - The index where you wish to insert the string
- bBatchOp - if TRUE, doesn't call RefreshSubscribers()
[edit] RemoveStr
Remove a string from the list
Parameters:
- FieldName - The string list to work on
- StringToRemove - The string to remove
- bBatchOp - if TRUE, doesn't call RefreshSubscribers()
[edit] RemoveStrByIndex
Remove a string (or multiple strings) by the index.
Parameters:
- FieldName - The string list to work on
- Index - The index to remove
- Count - Optional> # of strings to remove
- bBatchOp - if TRUE, doesn't call RefreshSubscribers()
[edit] Events
[edit] GetCurrentValue
Returns the current value of a field.
Parameters:
- FieldName - Field to search.
- out_Value - Variable to store the result string in.
Returns:
- TRUE if the field was found, FLASE otherwise.
[edit] GetCurrentValueIndex
Returns the current value index of a given field.
Parameters:
- FieldName - Field to search.
[edit] Num
Get the number of strings in a given list
Parameters:
- FieldName - The string list to work on
Returns:
- the # of strings or -1 if the list does not exist
[edit] Registered
Overrides: UIDataStore.Registered
Called when this data store is added to the data store manager's list of active data stores.
Parameters:
- PlayerOwner - the player that will be associated with this DataStore. Only relevant if this data store is associated with a particular player; NULL if this is a global data store.
[edit] SetCurrentValueIndex
Sets the current value index of a given field.
Parameters:
- FieldName - Field to change.
- int - NewValueIndex
