UE3:UTUIDataProvider AvailableContent (UT3): Difference between revisions
Auto-generated page |
m added missing members |
||
Line 10: | Line 10: | ||
Dataprovider that returns a row for each available content package. | Dataprovider that returns a row for each available content package. | ||
Copyright 1998- | Copyright 1998-2008 Epic Games, Inc. All Rights Reserved. | ||
==Properties== | ==Properties== | ||
====AllAchievements==== | |||
'''Type:''' [[array]]<{{tl|AchievementParent}}> | |||
'''[[Variables#Modifiers|Modifiers]]:''' transient | |||
<!-- enter variable description --> | |||
====CurrentAchievementView==== | |||
'''Type:''' [[array]]<[[pointer]]''{FAchievementUIInfo}''> | |||
'''[[Variables#Modifiers|Modifiers]]:''' transient | |||
<!-- enter variable description --> | |||
====GameModeMappings==== | |||
'''Type:''' [[array]]<{{tl|GameModeMapping}}> | |||
'''[[Variables#Modifiers|Modifiers]]:''' transient | |||
<!-- enter variable description --> | |||
====MutatorMappings==== | |||
'''Type:''' [[array]]<{{tl|MutatorMapping}}> | |||
'''[[Variables#Modifiers|Modifiers]]:''' transient | |||
<!-- enter variable description --> | |||
====Packages==== | ====Packages==== | ||
'''Type:''' [[array]]<{{tl|AvailableContentPackage}}> | '''Type:''' [[array]]<{{tl|AvailableContentPackage}}> | ||
'''[[Variables#Modifiers|Modifiers]]:''' transient | |||
<!-- enter variable description --> | |||
====VehicleMappings==== | |||
'''Type:''' [[array]]<{{tl|VehicleMapping}}> | |||
'''[[Variables#Modifiers|Modifiers]]:''' transient | '''[[Variables#Modifiers|Modifiers]]:''' transient | ||
Line 21: | Line 56: | ||
==Structs== | ==Structs== | ||
===AchievementParent=== | |||
'''[[Structs#Modifiers|Modifiers]]:''' native | |||
<!-- enter struct description --> | |||
; {{tl|AchievementUIInfo}} Achievement : <!-- enter variable description --> | |||
; [[array]]<{{tl|AchievementUIInfo}}> SubAchievements : <!-- enter variable description --> | |||
===AchievementUIInfo=== | |||
'''[[Structs#Modifiers|Modifiers]]:''' native | |||
all of the achievements possible * | |||
; [[int]] ID : <!-- enter variable description --> | |||
; [[bool]] bIsCollapsable : <!-- enter variable description --> | |||
; [[bool]] bIsExpanded : can this be expanded/collapsed * | |||
; [[string]] Name : <!-- enter variable description --> | |||
; [[string]] HowTo : <!-- enter variable description --> | |||
; [[string]] ProgressStr : markup for how to complete the award * | |||
; [[string]] IconStr : markup for progress text * | |||
; {{tl|TextureCoordinates|UIRoot|structs}} IconCoordinates : markup for award icon * | |||
===AvailableContentPackage=== | ===AvailableContentPackage=== | ||
'''[[Structs#Modifiers|Modifiers]]:''' native | '''[[Structs#Modifiers|Modifiers]]:''' native | ||
Line 29: | Line 84: | ||
; [[string]] ContentDescription : <!-- enter variable description --> | ; [[string]] ContentDescription : <!-- enter variable description --> | ||
==Native functions== | ===GameModeMapping=== | ||
'''[[Structs#Modifiers|Modifiers]]:''' native | |||
<!-- enter struct description --> | |||
; [[int]] GameModeID : ID from PBD for gamemode/achievement map | |||
; [[string]] GameModeClassName : Classname of game mode | |||
; [[string]] MarkupStr : Markup for new icons | |||
===MutatorMapping=== | |||
'''[[Structs#Modifiers|Modifiers]]:''' native | |||
<!-- enter struct description --> | |||
; [[int]] MutatorBit : ID from PBD for mutator bit | |||
; [[string]] MutatorClassName : <!-- enter variable description --> | |||
===VehicleMapping=== | |||
'''[[Structs#Modifiers|Modifiers]]:''' native | |||
<!-- enter struct description --> | |||
; [[int]] VehicleIndex : ID from PBD for vehicle index | |||
; [[string]] VehicleName : <!-- enter variable description --> | |||
==Functions== | |||
===Native functions=== | |||
====GetElementCount==== | ====GetElementCount==== | ||
{{code|native function [[int]] '''GetElementCount''' ()}} | {{code|native function [[int]] '''GetElementCount''' ()}} | ||
Line 42: | Line 120: | ||
Parses a string for downloadable content. | Parses a string for downloadable content. | ||
====ToggleCollapse==== | |||
{{code|native function '''ToggleCollapse''' ([[int]] '''CurrentIndex''')}} | |||
Recreate the data store given an index to collapse | |||
===Other instance functions=== | |||
====ConvertSecondsToString==== | |||
{{code|function [[string]] '''ConvertSecondsToString''' ([[int]] '''NumSeconds''')}} | |||
<!-- enter function description --> | |||
====CountBits==== | |||
{{code|function [[int]] '''CountBits''' ([[int]] '''value''')}} | |||
Count the number of bits on a value * | |||
====GetByteValue==== | |||
{{code|function [[int]] '''GetByteValue''' ([[int]] '''value''', [[int]] '''index''')}} | |||
Return the byte value within a dword * | |||
====GetGameModeName==== | |||
{{code|function [[bool]] '''GetGameModeName''' (out [[array]]<{{cl|UTUIResourceDataProvider}}> '''ProviderList''', [[string]] '''GameModeClassName''', out [[string]] '''FriendlyName''')}} | |||
<!-- enter function description --> | |||
====GetMapNameAndMarkup==== | |||
{{code|function [[bool]] '''GetMapNameAndMarkup''' (out [[array]]<{{cl|UTUIResourceDataProvider}}> '''ProviderList''', [[string]] '''MapName''', out [[string]] '''NewMapName''', out [[string]] '''Markup''')}} | |||
<!-- enter function description --> | |||
====GetMatchingProfileId==== | |||
{{code|function [[int]] '''GetMatchingProfileId''' ({{cl|UTProfileSettings}} '''Profile''', [[int]] '''MatchingId''')}} | |||
GetMatchingProfileId | |||
====GetMutatorName==== | |||
{{code|function [[bool]] '''GetMutatorName''' (out [[array]]<{{cl|UTUIResourceDataProvider}}> '''ProviderList''', [[string]] '''MutatorClassName''', out [[string]] '''FriendlyName''')}} | |||
<!-- enter function description --> | |||
====GetVehicleName==== | |||
{{code|function '''GetVehicleName''' ([[string]] '''VehicleClassName''', out [[string]] '''FriendlyName''')}} | |||
<!-- enter function description --> | |||
====SetupAchievementList==== | |||
{{code|function '''SetupAchievementList''' ({{cl|UTPlayerController}} '''PC''')}} | |||
Setup the Achievement list that details the player's progress | |||
'''Parameters:''' | |||
* ''PC'' - Current scene player controller |
Latest revision as of 06:01, 16 August 2009
![]() |
Object >> UIRoot >> UIDataProvider >> UTUIDataProvider_SimpleElementProvider >> UTUIDataProvider_AvailableContent |
- Package:
- UTGame
- Implemented interfaces:
- UIListElementCellProvider
- This class in other games:
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Dataprovider that returns a row for each available content package.
Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
Properties
AllAchievements
Type: array<AchievementParent>
Modifiers: transient
CurrentAchievementView
Type: array<pointer{FAchievementUIInfo}>
Modifiers: transient
GameModeMappings
Type: array<GameModeMapping>
Modifiers: transient
MutatorMappings
Type: array<MutatorMapping>
Modifiers: transient
Packages
Type: array<AvailableContentPackage>
Modifiers: transient
VehicleMappings
Type: array<VehicleMapping>
Modifiers: transient
Structs
AchievementParent
Modifiers: native
- AchievementUIInfo Achievement
- array<AchievementUIInfo> SubAchievements
AchievementUIInfo
Modifiers: native
all of the achievements possible *
- int ID
- bool bIsCollapsable
- bool bIsExpanded
- can this be expanded/collapsed *
- string Name
- string HowTo
- string ProgressStr
- markup for how to complete the award *
- string IconStr
- markup for progress text *
- UIRoot.TextureCoordinates IconCoordinates
- markup for award icon *
AvailableContentPackage
Modifiers: native
Struct that defines a content package
GameModeMapping
Modifiers: native
- int GameModeID
- ID from PBD for gamemode/achievement map
- string GameModeClassName
- Classname of game mode
- string MarkupStr
- Markup for new icons
MutatorMapping
Modifiers: native
VehicleMapping
Modifiers: native
Functions
Native functions
GetElementCount
Overrides: UTUIDataProvider_SimpleElementProvider.GetElementCount
Returns:
- Returns the number of elements(rows) provided.
ParseContentString
Parses a string for downloadable content.
ToggleCollapse
Recreate the data store given an index to collapse
Other instance functions
ConvertSecondsToString
CountBits
Count the number of bits on a value *
GetByteValue
Return the byte value within a dword *
GetGameModeName
GetMapNameAndMarkup
GetMatchingProfileId
GetMatchingProfileId
GetMutatorName
GetVehicleName
SetupAchievementList
Setup the Achievement list that details the player's progress
Parameters:
- PC - Current scene player controller