UE3:UIDataProvider_PlayerAchievements (UDK)
Object >> UIRoot >> UIDataProvider >> UIDataProvider_OnlinePlayerDataBase >> UIDataProvider_PlayerAchievements |
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. |
This class is responsible for providing access to information about the achievements available to the player
Copyright 1998-2009 Epic Games, Inc. All Rights Reserved
Properties
Achievements
Type: array<OnlineSubsystem.AchievementDetails>
Modifiers: transient
Functions
Native functions
GetMaxTotalGamerScore
Returns the number of gamer points that can be acquired in this game across all achievements
Returns:
- The maximum number of gamer points allocated for each game.
GetTotalGamerScore
Returns the number of gamer points this profile has accumulated across all achievements
Returns:
- a number between 0 and the maximum number of gamer points allocated for each game (currently 1000), representing the total gamer points earned from all achievements for this profile.
Events
OnRegister
Overrides: UIDataProvider_OnlinePlayerDataBase.OnRegister
Binds the player to this provider. Starts the async friends list gathering
Parameters:
- InPlayer - the player that we are retrieving friends for
OnUnregister
Overrides: UIDataProvider_OnlinePlayerDataBase.OnUnregister
Clears our delegate for getting login change notifications
Other instance functions
GetAchievementDetails
Gets achievement details based on achievement id
Parameters:
- AchievementId - EGearAchievement for which to find details
- OutAchievementDetails - AchievementDetails struct to be populated
GetAchievementIconPathName
Wrapper for retrieving the path name of an achievement's icon.
OnLoginChange
Handlers for the player's login changed delegate. Refreshes the list of achievements.
Parameters:
- LocalUserNum - the player that logged in/out
OnPlayerAchievementsChanged
Called when the async achievements read has completed
Parameters:
- TitleId - the title id that the read was for (0 means current title)
OnPlayerAchievementUnlocked
Handler for online service's callback for the player unlocking an achievement.
PopulateAchievementIcons
Loads the achievement icons from the .ini and applies them to the list of achievements.
UpdateAchievements
Queries the online service for the player's list of achievements.