Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.UIDataStore_OnlinePlayerData

Extends
UIDataStore_Remote
Modifiers
native ( inherit ) implements ( UIListElementProvider ) config ( Engine ) transient

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

Core.Object
|   
+-- Engine.UIRoot
   |   
   +-- Engine.UIDataProvider
      |   
      +-- Engine.UIDataStore
         |   
         +-- Engine.UIDataStore_Remote
            |   
            +-- Engine.UIDataStore_OnlinePlayerData

Variables Summary
UIDataProvider_PlayerAchievementsAchievementsProvider
class<UIDataProvider_PlayerAchievements>AchievementsProviderClass
stringAchievementsProviderClassName
UIDataProvider_OnlineFriendMessagesFriendMessagesProvider
class<UIDataProvider_OnlineFriendMessages>FriendMessagesProviderClass
stringFriendMessagesProviderClassName
UIDataProvider_OnlineFriendsFriendsProvider
class<UIDataProvider_OnlineFriends>FriendsProviderClass
stringFriendsProviderClassName
UIDataProvider_OnlinePartyChatListPartyChatProvider
class<UIDataProvider_OnlinePartyChatList>PartyChatProviderClass
stringPartyChatProviderClassName
intPlayerControllerId
stringPlayerNick
class<OnlinePlayerStorage>PlayerStorageClass
stringPlayerStorageClassName
UIDataProvider_OnlineProfileSettingsProfileProvider
class<UIDataProvider_OnlineProfileSettings>ProfileProviderClass
stringProfileProviderClassName
class<OnlineProfileSettings>ProfileSettingsClass
stringProfileSettingsClassName
UIDataProvider_OnlinePlayerStorageStorageProvider
class<UIDataProvider_OnlinePlayerStorage>StorageProviderClass
stringStorageProviderClassName
Inherited Variables from Engine.UIDataStore
RefreshSubscriberNotifies, Tag

Functions Summary
function ClearDelegates ()))
eventOnlineProfileSettings GetCachedPlayerProfile (int ControllerId ))
eventOnlinePlayerStorage GetCachedPlayerStorage (int ControllerId ))
function OnLoginChange (byte LocalUserNum))
function OnPlayerDataChange ()))
event OnRegister (LocalPlayer InPlayer))
function OnSettingProviderChanged (UIDataProvider SourceProvider, optional name SettingsName)
event OnUnregister ()))
function RegisterDelegates ()))
Inherited Functions from Engine.UIDataStore
GetDataStoreClient, NotifyGameSessionEnded, OnCommit, RefreshSubscribers, Registered, SubscriberAttached, SubscriberDetached, Unregistered


Variables Detail

AchievementsProvider Source code

var UIDataProvider_PlayerAchievements AchievementsProvider;
Provides access to the list of achievements for this player

AchievementsProviderClass Source code

var class<UIDataProvider_PlayerAchievements> AchievementsProviderClass;
The class that should be created when a player is bound to this data store for providing achievements data to the UI

AchievementsProviderClassName Source code

var config string AchievementsProviderClassName;
The name of the data provider class to use as the default for enumerating achievements

FriendMessagesProvider Source code

var UIDataProvider_OnlineFriendMessages FriendMessagesProvider;
Provides access to any friend messages

FriendMessagesProviderClass Source code

var class<UIDataProvider_OnlineFriendMessages> FriendMessagesProviderClass;
The class that should be created when a player is bound to this data store

FriendMessagesProviderClassName Source code

var config string FriendMessagesProviderClassName;
The name of the data provider class to use as the default for messages

FriendsProvider Source code

var UIDataProvider_OnlineFriends FriendsProvider;
Provides access to the player's online friends list

FriendsProviderClass Source code

var class<UIDataProvider_OnlineFriends> FriendsProviderClass;
The class that should be created when a player is bound to this data store

FriendsProviderClassName Source code

var config string FriendsProviderClassName;
The name of the data provider class to use as the default for friends

PartyChatProvider Source code

var UIDataProvider_OnlinePartyChatList PartyChatProvider;
The provider instance for the party chat data

PartyChatProviderClass Source code

var class<UIDataProvider_OnlinePartyChatList> PartyChatProviderClass;
The class that should be created when a player is bound to this data store

PartyChatProviderClassName Source code

var config string PartyChatProviderClassName;
The name of the data provider class to use as the default for party chat members

PlayerControllerId Source code

var int PlayerControllerId;
Holds the player controller that this data store is associated with

PlayerNick Source code

var string PlayerNick;
The online nick name for the player

PlayerStorageClass Source code

var class<OnlinePlayerStorage> PlayerStorageClass;
The class that should be created when a player is bound to this data store

PlayerStorageClassName Source code

var config string PlayerStorageClassName;
The name of the OnlinePlayerStorage class to use as the default

ProfileProvider Source code

var UIDataProvider_OnlineProfileSettings ProfileProvider;
Provides access to the player's profile data

ProfileProviderClass Source code

var class<UIDataProvider_OnlineProfileSettings> ProfileProviderClass;
The class that should be created when a player is bound to this data store

ProfileProviderClassName Source code

var config string ProfileProviderClassName;
The name of the data provider class to use as the default for player storage data

ProfileSettingsClass Source code

var class<OnlineProfileSettings> ProfileSettingsClass;
The class that should be created when a player is bound to this data store

ProfileSettingsClassName Source code

var config string ProfileSettingsClassName;
The name of the OnlineProfileSettings class to use as the default

StorageProvider Source code

var UIDataProvider_OnlinePlayerStorage StorageProvider;
Provides access to the player's storage data

StorageProviderClass Source code

var class<UIDataProvider_OnlinePlayerStorage> StorageProviderClass;
The class that should be created when a player is bound to this data store

StorageProviderClassName Source code

var config string StorageProviderClassName;
The name of the data provider class to use as the default for player storage data


Functions Detail

ClearDelegates Source code

function ClearDelegates ( ) )

GetCachedPlayerProfile Source code

event OnlineProfileSettings GetCachedPlayerProfile ( int ControllerId ) )
Retrieves a player profile which has been cached by the online subsystem.
@param ControllerId the controller ID for the player to retrieve the profile for.
@return a player profile which was previously created and cached by the online subsystem for the specified controller id.

GetCachedPlayerStorage Source code

event OnlinePlayerStorage GetCachedPlayerStorage ( int ControllerId ) )
Retrieves a player storage which has been cached by the online subsystem.
@param ControllerId the controller ID for the player to retrieve the profile for.
@return a player storage which was previously created and cached by the online subsystem for the specified controller id.

OnLoginChange Source code

function OnLoginChange ( byte LocalUserNum) )
Refetches the player's nick name from the online subsystem
@param LocalUserNum the player that logged in/out

OnPlayerDataChange Source code

function OnPlayerDataChange ( ) )
Refetches the player's nick name from the online subsystem

OnRegister Source code

event OnRegister ( LocalPlayer InPlayer) )
Binds the player to this provider. Starts the async friends list gathering
@param InPlayer the player that we are retrieving friends for

OnSettingProviderChanged Source code

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.
@param SourceProvider the data provider that generated the notification
@param SettingsName the name of the setting that changed

OnUnregister Source code

event OnUnregister ( ) )
Clears our delegate for getting login change notifications

RegisterDelegates Source code

function RegisterDelegates ( ) )
Registers the delegates with the providers so we can know when async data changes


Defaultproperties

defaultproperties
{
	Tag=OnlinePlayerData
	
	PlayerNick="PlayerNickNameHere"
	PlayerControllerId=-1
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: ti 22-3-2011 19:56:58.824 - Created with UnCodeX