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

Engine.OnlinePlayerInterfaceEx

Modifiers
dependson ( OnlineSubsystem )

This interface provides extended player functionality not supported by all platforms. The OnlineSubsystem will return NULL when requesting this interface on a platform where it is not supporeted.

Engine.OnlinePlayerInterfaceEx

Delegates Summary
delegate OnDeviceSelectionComplete (bool bWasSuccessful)
delegate OnProfileDataChanged ()
delegate OnUnlockAchievementComplete (bool bWasSuccessful)

Functions Summary
function AddDeviceSelectionDoneDelegate (byte LocalUserNum, elegate<OnDeviceSelectionComplete> DeviceDelegate)
function AddProfileDataChangedDelegate (byte LocalUserNum, elegate<OnProfileDataChanged> ProfileDataChangedDelegate)
function AddUnlockAchievementCompleteDelegate (byte LocalUserNum, elegate<OnUnlockAchievementComplete> UnlockAchievementCompleteDelegate)
function ClearDeviceSelectionDoneDelegate (byte LocalUserNum, elegate<OnDeviceSelectionComplete> DeviceDelegate)
function ClearProfileDataChangedDelegate (byte LocalUserNum, elegate<OnProfileDataChanged> ProfileDataChangedDelegate)
function ClearUnlockAchievementCompleteDelegate (byte LocalUserNum, elegate<OnUnlockAchievementComplete> UnlockAchievementCompleteDelegate)
functionint GetDeviceSelectionResults (byte LocalUserNum, ut string DeviceName)
functionbool IsAchievementUnlocked (int AchievementId)
functionbool IsDeviceValid (int DeviceId)
functionbool ShowAchievementsUI (byte LocalUserNum)
functionbool ShowContentMarketplaceUI (byte LocalUserNum)
functionbool ShowDeviceSelectionUI (byte LocalUserNum, nt SizeNeeded, ool bForceShowUI = false)
functionbool ShowFeedbackUI (byte LocalUserNum, niqueNetId PlayerId)
functionbool ShowFriendsInviteUI (byte LocalUserNum, niqueNetId PlayerId)
functionbool ShowGamerCardUI (byte LocalUserNum, niqueNetId PlayerId)
functionbool ShowInviteUI (byte LocalUserNum, ptional string InviteText)
functionbool ShowMembershipMarketplaceUI (byte LocalUserNum)
functionbool ShowMessagesUI (byte LocalUserNum)
functionbool ShowPlayersUI (byte LocalUserNum)
functionbool UnlockAchievement (byte LocalUserNum, nt AchievementId)
functionbool UnlockGamerPicture (byte LocalUserNum, nt PictureId)


Delegates Detail

OnDeviceSelectionComplete Source code

delegate OnDeviceSelectionComplete ( bool bWasSuccessful )
Delegate used when the device selection request has completed
@param bWasSuccessful true if the async action completed without error, false if there was an error

OnProfileDataChanged Source code

delegate OnProfileDataChanged ( )
Called when an external change to player profile data has occured

OnUnlockAchievementComplete Source code

delegate OnUnlockAchievementComplete ( bool bWasSuccessful )
Delegate used when the achievement unlocking has completed
@param bWasSuccessful true if the async action completed without error, false if there was an error


Functions Detail

AddDeviceSelectionDoneDelegate Source code

function AddDeviceSelectionDoneDelegate ( byte LocalUserNum,delegate<OnDeviceSelectionComplete> DeviceDelegate )
Adds the delegate used to notify the gameplay code that the user has completed their device selection
@param DeviceDelegate the delegate to use for notifications

AddProfileDataChangedDelegate Source code

function AddProfileDataChangedDelegate ( byte LocalUserNum,delegate<OnProfileDataChanged> ProfileDataChangedDelegate )
Sets the delegate used to notify the gameplay code that someone has changed their profile data externally
@param LocalUserNum the user the delegate is interested in
@param ProfileDataChangedDelegate the delegate to use for notifications

AddUnlockAchievementCompleteDelegate Source code

function AddUnlockAchievementCompleteDelegate ( byte LocalUserNum,delegate<OnUnlockAchievementComplete> UnlockAchievementCompleteDelegate )
Adds the delegate used to notify the gameplay code that the achievement unlocking has completed
@param LocalUserNum which user to watch for read complete notifications
@param UnlockAchievementCompleteDelegate the delegate to use for notifications

ClearDeviceSelectionDoneDelegate Source code

function ClearDeviceSelectionDoneDelegate ( byte LocalUserNum,delegate<OnDeviceSelectionComplete> DeviceDelegate )
Removes the specified delegate from the list of callbacks
@param DeviceDelegate the delegate to use for notifications

ClearProfileDataChangedDelegate Source code

function ClearProfileDataChangedDelegate ( byte LocalUserNum,delegate<OnProfileDataChanged> ProfileDataChangedDelegate )
Clears the delegate used to notify the gameplay code that someone has changed their profile data externally
@param LocalUserNum the user the delegate is interested in
@param ProfileDataChangedDelegate the delegate to use for notifications

ClearUnlockAchievementCompleteDelegate Source code

function ClearUnlockAchievementCompleteDelegate ( byte LocalUserNum,delegate<OnUnlockAchievementComplete> UnlockAchievementCompleteDelegate )
Clears the delegate used to notify the gameplay code that the achievement unlocking has completed
@param LocalUserNum which user to watch for read complete notifications
@param UnlockAchievementCompleteDelegate the delegate to use for notifications

GetDeviceSelectionResults Source code

function int GetDeviceSelectionResults ( byte LocalUserNum,out string DeviceName )
Fetches the results of the device selection
@param LocalUserNum the player to check the results for
@param DeviceName out param that gets a copy of the string
@return the ID of the device that was selected NOTE: Zero means the user hasn't selected one

IsAchievementUnlocked Source code

function bool IsAchievementUnlocked ( int AchievementId )
Returns whether or not an achievement has been unlocked
@return true if the achievement is already unlocked, false otherwise

IsDeviceValid Source code

function bool IsDeviceValid ( int DeviceId )
Checks the device id to determine if it is still valid (could be removed)
@param DeviceId the device to check
@return true if valid, false otherwise

ShowAchievementsUI Source code

function bool ShowAchievementsUI ( byte LocalUserNum )
Displays the achievements UI for a player
@param LocalUserNum the controller number of the associated user
@return TRUE if it was able to show the UI, FALSE if it failed

ShowContentMarketplaceUI Source code

function bool ShowContentMarketplaceUI ( byte LocalUserNum )
Displays the marketplace UI for content
@param LocalUserNum the local user viewing available content

ShowDeviceSelectionUI Source code

function bool ShowDeviceSelectionUI ( byte LocalUserNum,int SizeNeeded,bool bForceShowUI = false )
Displays the UI that allows the user to choose which device to save content to
@param LocalUserNum the controller number of the associated user
@param SizeNeeded the size of the data to be saved in bytes
@param bForceShowUI true to always show the UI, false to only show the UI if there are multiple valid choices
@return TRUE if it was able to show the UI, FALSE if it failed

ShowFeedbackUI Source code

function bool ShowFeedbackUI ( byte LocalUserNum,UniqueNetId PlayerId )
Displays the UI that allows a player to give feedback on another player
@param LocalUserNum the controller number of the associated user
@param PlayerId the id of the player having feedback given for
@return TRUE if it was able to show the UI, FALSE if it failed

ShowFriendsInviteUI Source code

function bool ShowFriendsInviteUI ( byte LocalUserNum,UniqueNetId PlayerId )
Displays the UI that shows a user's list of friends
@param LocalUserNum the controller number of the associated user
@param PlayerId the id of the player being invited
@return TRUE if it was able to show the UI, FALSE if it failed

ShowGamerCardUI Source code

function bool ShowGamerCardUI ( byte LocalUserNum,UniqueNetId PlayerId )
Displays the gamer card UI for the specified player
@param LocalUserNum the controller number of the associated user
@param PlayerId the id of the player to show the gamer card of
@return TRUE if it was able to show the UI, FALSE if it failed

ShowInviteUI Source code

function bool ShowInviteUI ( byte LocalUserNum,optional string InviteText )
Displays the invite ui
@param LocalUserNum the local user sending the invite
@param InviteText the string to prefill the UI with

ShowMembershipMarketplaceUI Source code

function bool ShowMembershipMarketplaceUI ( byte LocalUserNum )
Displays the marketplace UI for memberships
@param LocalUserNum the local user viewing available memberships

ShowMessagesUI Source code

function bool ShowMessagesUI ( byte LocalUserNum )
Displays the messages UI for a player
@param LocalUserNum the controller number of the associated user
@return TRUE if it was able to show the UI, FALSE if it failed

ShowPlayersUI Source code

function bool ShowPlayersUI ( byte LocalUserNum )
Displays the UI that shows the player list
@param LocalUserNum the controller number of the associated user
@return TRUE if it was able to show the UI, FALSE if it failed

UnlockAchievement Source code

function bool UnlockAchievement ( byte LocalUserNum,int AchievementId )
Unlocks the specified achievement for the specified user
@param LocalUserNum the controller number of the associated user
@param AchievementId the id of the achievement to unlock
@return TRUE if the call worked, FALSE otherwise

UnlockGamerPicture Source code

function bool UnlockGamerPicture ( byte LocalUserNum,int PictureId )
Unlocks a gamer picture for the local user
@param LocalUserNum the user to unlock the picture for
@param PictureId the id of the picture to unlock


Defaultproperties

defaultproperties
{
   Name="Default__OnlinePlayerInterfaceEx"
   ObjectArchetype=Interface'Core.Default__Interface'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:00:40.205 - Created with UnCodeX