Always snap to grid

UE3:UIDataStore_OnlinePlayerData (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 06:50, 17 January 2010 by Wormbo (Talk | contribs) (1 revision: class descriptions for UDK January update (part 6))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UDK Object >> UIRoot >> UIDataProvider >> UIDataStore >> UIDataStore_Remote >> UIDataStore_OnlinePlayerData
Package: 
Engine
Implemented interfaces
UIListElementProvider
This class in other games:
UT3

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

Properties[edit]

AchievementsProvider[edit]

Type: UIDataProvider_PlayerAchievements

Provides access to the list of achievements for this player

AchievementsProviderClass[edit]

Type: class<UIDataProvider_PlayerAchievements>

The class that should be created when a player is bound to this data store for providing achievements data to the UI

Default value: Class'Engine.UIDataProvider_PlayerAchievements'

AchievementsProviderClassName[edit]

Type: string

Modifiers: config

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

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

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

PartyChatProvider[edit]

Type: UIDataProvider_OnlinePartyChatList

The provider instance for the party chat data

PartyChatProviderClass[edit]

Type: class<UIDataProvider_OnlinePartyChatList>

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

Default value: Class'Engine.UIDataProvider_OnlinePartyChatList'

PartyChatProviderClassName[edit]

Type: string

Modifiers: config

The name of the data provider class to use as the default for party chat members

Default value: "Engine.UIDataProvider_OnlinePartyChatList"

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"

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

PlayerStorageClass[edit]

Type: class<OnlinePlayerStorage>

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

PlayerStorageClassName[edit]

Type: string

Modifiers: config

The name of the OnlinePlayerStorage class to use as the default

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"

StorageProvider[edit]

Type: UIDataProvider_OnlinePlayerStorage

Provides access to the player's storage data

Default values[edit]

Property Value
Tag 'OnlinePlayerData'

Functions[edit]

Static events[edit]

GetCachedPlayerProfile[edit]

static event OnlineProfileSettings GetCachedPlayerProfile (int ControllerId)

Retrieves a player profile which has been cached by the online subsystem.

Parameters:

  • ControllerId - the controller ID for the player to retrieve the profile for.

Returns:

a player profile which was previously created and cached by the online subsystem for the specified controller id.

GetCachedPlayerStorage[edit]

static event OnlinePlayerStorage GetCachedPlayerStorage (int ControllerId)

Retrieves a player storage which has been cached by the online subsystem.

Parameters:

  • ControllerId - the controller ID for the player to retrieve the profile for.

Returns:

a player storage which was previously created and cached by the online subsystem for the specified controller id.

Native functions[edit]

OnSettingProviderChanged[edit]

native final function OnSettingProviderChanged (UIDataProvider SourceProvider, optional name SettingsName)

Handler for this data store internal settings data providers OnDataProviderPropertyChange delegate. When the setting associated with that provider is updated, issues a refresh notification which causes e.g. widgets to refresh their values.

Parameters:

  • SourceProvider - the data provider that generated the notification
  • SettingsName - the name of the setting that changed

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

SaveProfileData[edit]

event bool SaveProfileData ()

Forwards the call to the provider

Other instance functions[edit]

ClearDelegates[edit]

function ClearDelegates ()


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 (byte LocalUserNum)

Refetches the player's nick name from the online subsystem

Parameters:

  • LocalUserNum - the player that logged in/out

OnPlayerDataChange[edit]

function OnPlayerDataChange ()

Refetches the player's nick name from the online subsystem

RegisterDelegates[edit]

function RegisterDelegates ()

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