Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE3:UIDataStore_OnlinePlayerData (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> UIRoot >> UIDataProvider >> UIDataStore >> UIDataStore_Remote >> UIDataStore_OnlinePlayerData
Package: 
Engine
Implemented interfaces
UIListElementProvider
This class in other games:
UDK

This class is responsible for retrieving the friends list from the online subsystem and populating the UI with that data.

Properties[edit]

bIsRankingQueryInProgress[edit]

Type: bool

Are we in the middle of a query to get the player ranking

ClanMatesProvider[edit]

Type: UIDataProvider_OnlineClanMates

Provides access to the player's clan members list

ClanMatesProviderClass[edit]

Type: class<UIDataProvider_OnlineClanMates>

The class that should be created when a player is bound to this data store

Default value: Class'Engine.UIDataProvider_OnlineClanMates'

ClanMatesProviderClassName[edit]

Type: string

Modifiers: config

The name of the data provider class to use as the default for clan mates

CurrentRankingQuery[edit]

Type: OnlineStatsRead

An instance of the ranking query OnlineStatsRead class

FriendMessagesProvider[edit]

Type: UIDataProvider_OnlineFriendMessages

Provides access to any friend messages

FriendMessagesProviderClass[edit]

Type: class<UIDataProvider_OnlineFriendMessages>

The class that should be created when a player is bound to this data store

Default value: Class'UTGame.UTUIDataProvider_OnlineFriendMessages'

FriendMessagesProviderClassName[edit]

Type: string

Modifiers: config

The name of the data provider class to use as the default for messages

Default value: "UTGame.UTUIDataProvider_OnlineFriendMessages"

FriendsProvider[edit]

Type: UIDataProvider_OnlineFriends

Provides access to the player's online friends list

FriendsProviderClass[edit]

Type: class<UIDataProvider_OnlineFriends>

The class that should be created when a player is bound to this data store

Default value: Class'UTGame.UTUIDataProvider_OnlineFriends'

FriendsProviderClassName[edit]

Type: string

Modifiers: config

The name of the data provider class to use as the default for friends

Default value: "UTGame.UTUIDataProvider_OnlineFriends"

NumNewDownloads[edit]

Type: int

The number of new downloads for this player

NumTotalDownloads[edit]

Type: int

The total number of downloads for this player

Player[edit]

Type: LocalPlayer

Holds the player that this provider is getting friends for

PlayerNick[edit]

Type: string

The online nick name for the player

Default value: "PlayerNickNameHere"

PlayerRanking[edit]

Type: int

The ranking value of the logged in player

PlayerRankingLastQueryTime[edit]

Type: float

The timestamp (sec) when the PlayerRanking was last successfully recorded

PlayerRankingQueryClass[edit]

Type: class<OnlineStatsRead>

Class used to create an OnlineStatsRead object for the ranking query

Default value: Class'UTGame.UTStatReadPlayerRatingPure'

PlayerRankingQueryClassName[edit]

Type: string

Modifiers: config

The OnlineStatsRead class that will retrieve the ranking value

Default value: "UTGame.UTStatReadPlayerRatingPure"

PlayersProvider[edit]

Type: UIDataProvider_OnlinePlayers

Provides access to the player's recent online players list

PlayersProviderClass[edit]

Type: class<UIDataProvider_OnlinePlayers>

The class that should be created when a player is bound to this data store

Default value: Class'Engine.UIDataProvider_OnlinePlayers'

PlayersProviderClassName[edit]

Type: string

Modifiers: config

The name of the data provider class to use as the default for recent players list

ProfileProvider[edit]

Type: UIDataProvider_OnlineProfileSettings

Provides access to the player's profile data

ProfileSettingsClass[edit]

Type: class<OnlineProfileSettings>

The class that should be created when a player is bound to this data store

Default value: Class'UTGame.UTProfileSettings'

ProfileSettingsClassName[edit]

Type: string

Modifiers: config

The name of the OnlineProfileSettings class to use as the default

Default value: "UTGame.UTProfileSettings"

Default values[edit]

Property Value
Tag 'OnlinePlayerData'

Functions[edit]

Native functions[edit]

StorePlayerRankingQueryValue[edit]

native function StorePlayerRankingQueryValue (OnlineStatsRead RankingQuery)

Stores the player rating stored in the OnlineStatsRead *

Events[edit]

OnRegister[edit]

event OnRegister (LocalPlayer InPlayer)

Binds the player to this provider. Starts the async friends list gathering

Parameters:

  • InPlayer - the player that we are retrieving friends for

OnUnregister[edit]

event OnUnregister ()

Clears our delegate for getting login change notifications

RegisterDelegates[edit]

event RegisterDelegates ()

Registers the delegates with the providers so we can know when async data changes

SaveProfileData[edit]

event bool SaveProfileData ()

Forwards the call to the provider

Other instance functions[edit]

OnDownloadableContentQueryDone[edit]

function OnDownloadableContentQueryDone (bool bWasSuccessful)

Caches the downloadable content info for the player we're bound to

Parameters:

  • bWasSuccessful - true if the async action completed without error, false if there was an error

OnLoginChange[edit]

function OnLoginChange ()

Refetches the player's nick name from the online subsystem

OnPlayerDataChange[edit]

function OnPlayerDataChange ()

Refetches the player's nick name from the online subsystem

OnProviderChanged[edit]

function OnProviderChanged (UIDataProvider SourceProvider, optional name PropTag)

Handles notification that one of our providers has changed and in turn notifies the UI system

Parameters:

  • SourceProvider - the data provider that generated the notification
  • PropTag - the property that changed

OnReadOnlinePlayerRankingComplete[edit]

function OnReadOnlinePlayerRankingComplete (bool bWasSuccessful)

Delegate called when a player rating stats read has completed

QueryLoggedInPlayerRanking[edit]

function bool QueryLoggedInPlayerRanking ()

Queries the online system for this player's rating (1000 is new player)