UE3:UTUIDataProvider_AvailableContent (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to navigation Jump to search
UT3 Object >> UIRoot >> UIDataProvider >> UTUIDataProvider_SimpleElementProvider >> UTUIDataProvider_AvailableContent
Package: 
UTGame
Implemented interfaces
UIListElementCellProvider

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

string ContentName 
string ContentFriendlyName 
string ContentDescription 

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

int MutatorBit 
ID from PBD for mutator bit
string MutatorClassName 

VehicleMapping

Modifiers: native

int VehicleIndex 
ID from PBD for vehicle index
string VehicleName 

Functions

Native functions

GetElementCount

native function int GetElementCount ()

Overrides: UTUIDataProvider_SimpleElementProvider.GetElementCount

Returns:

Returns the number of elements(rows) provided.

ParseContentString

native function ParseContentString (string ContentStr)

Parses a string for downloadable content.

ToggleCollapse

native function ToggleCollapse (int CurrentIndex)

Recreate the data store given an index to collapse

Other instance functions

ConvertSecondsToString

function string ConvertSecondsToString (int NumSeconds)


CountBits

function int CountBits (int value)

Count the number of bits on a value *

GetByteValue

function int GetByteValue (int value, int index)

Return the byte value within a dword *

GetGameModeName

function bool GetGameModeName (out array<UTUIResourceDataProviderProviderList, string GameModeClassName, out string FriendlyName)


GetMapNameAndMarkup

function bool GetMapNameAndMarkup (out array<UTUIResourceDataProviderProviderList, string MapName, out string NewMapName, out string Markup)


GetMatchingProfileId

function int GetMatchingProfileId (UTProfileSettings Profile, int MatchingId)

GetMatchingProfileId

GetMutatorName

function bool GetMutatorName (out array<UTUIResourceDataProviderProviderList, string MutatorClassName, out string FriendlyName)


GetVehicleName

function GetVehicleName (string VehicleClassName, out string FriendlyName)


SetupAchievementList

function SetupAchievementList (UTPlayerController PC)

Setup the Achievement list that details the player's progress

Parameters:

  • PC - Current scene player controller