Always snap to grid
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[edit]
Achievements[edit]
Type: array<OnlineSubsystem.AchievementDetails>
Modifiers: transient
Functions[edit]
Native functions[edit]
GetMaxTotalGamerScore[edit]
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[edit]
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[edit]
OnRegister[edit]
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[edit]
Overrides: UIDataProvider_OnlinePlayerDataBase.OnUnregister
Clears our delegate for getting login change notifications
Other instance functions[edit]
GetAchievementDetails[edit]
Gets achievement details based on achievement id
Parameters:
- AchievementId - EGearAchievement for which to find details
- OutAchievementDetails - AchievementDetails struct to be populated
GetAchievementIconPathName[edit]
Wrapper for retrieving the path name of an achievement's icon.
OnLoginChange[edit]
Handlers for the player's login changed delegate. Refreshes the list of achievements.
Parameters:
- LocalUserNum - the player that logged in/out
OnPlayerAchievementsChanged[edit]
Called when the async achievements read has completed
Parameters:
- TitleId - the title id that the read was for (0 means current title)
OnPlayerAchievementUnlocked[edit]
Handler for online service's callback for the player unlocking an achievement.
PopulateAchievementIcons[edit]
Loads the achievement icons from the .ini and applies them to the list of achievements.
UpdateAchievements[edit]
Queries the online service for the player's list of achievements.