The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE3:UTUIDataProvider_AvailableContent (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
(Redirected from UE3:AchievementParent (UT3))
Jump to: navigation, search
UT3 Object >> UIRoot >> UIDataProvider >> UTUIDataProvider_SimpleElementProvider >> UTUIDataProvider_AvailableContent
Package: 
UTGame
Implemented interfaces
UIListElementCellProvider
This class in other games:
UDK

Dataprovider that returns a row for each available content package.

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

Properties[edit]

AllAchievements[edit]

Type: array<AchievementParent>

Modifiers: transient


CurrentAchievementView[edit]

Type: array<pointer{FAchievementUIInfo}>

Modifiers: transient


GameModeMappings[edit]

Type: array<GameModeMapping>

Modifiers: transient


MutatorMappings[edit]

Type: array<MutatorMapping>

Modifiers: transient


Packages[edit]

Type: array<AvailableContentPackage>

Modifiers: transient


VehicleMappings[edit]

Type: array<VehicleMapping>

Modifiers: transient


Structs[edit]

AchievementParent[edit]

Modifiers: native

AchievementUIInfo Achievement 
array<AchievementUIInfo> SubAchievements 

AchievementUIInfo[edit]

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[edit]

Modifiers: native

Struct that defines a content package

string ContentName 
string ContentFriendlyName 
string ContentDescription 

GameModeMapping[edit]

Modifiers: native

int GameModeID 
ID from PBD for gamemode/achievement map
string GameModeClassName 
Classname of game mode
string MarkupStr 
Markup for new icons

MutatorMapping[edit]

Modifiers: native

int MutatorBit 
ID from PBD for mutator bit
string MutatorClassName 

VehicleMapping[edit]

Modifiers: native

int VehicleIndex 
ID from PBD for vehicle index
string VehicleName 

Functions[edit]

Native functions[edit]

GetElementCount[edit]

native function int GetElementCount ()

Overrides: UTUIDataProvider_SimpleElementProvider.GetElementCount

Returns:

Returns the number of elements(rows) provided.

ParseContentString[edit]

native function ParseContentString (string ContentStr)

Parses a string for downloadable content.

ToggleCollapse[edit]

native function ToggleCollapse (int CurrentIndex)

Recreate the data store given an index to collapse

Other instance functions[edit]

ConvertSecondsToString[edit]

function string ConvertSecondsToString (int NumSeconds)


CountBits[edit]

function int CountBits (int value)

Count the number of bits on a value *

GetByteValue[edit]

function int GetByteValue (int value, int index)

Return the byte value within a dword *

GetGameModeName[edit]

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


GetMapNameAndMarkup[edit]

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


GetMatchingProfileId[edit]

function int GetMatchingProfileId (UTProfileSettings Profile, int MatchingId)

GetMatchingProfileId

GetMutatorName[edit]

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


GetVehicleName[edit]

function GetVehicleName (string VehicleClassName, out string FriendlyName)


SetupAchievementList[edit]

function SetupAchievementList (UTPlayerController PC)

Setup the Achievement list that details the player's progress

Parameters:

  • PC - Current scene player controller