I'm a doctor, not a mechanic
UE3:OnlinePlayerInterface functions (UDK)
OnlinePlayerInterface (functions) |
Contents
- 1 Functions
- 1.1 Instance functions
- 1.1.1 AcceptFriendInvite
- 1.1.2 AddAddFriendByNameCompleteDelegate
- 1.1.3 AddFriend
- 1.1.4 AddFriendByName
- 1.1.5 AddFriendInviteReceivedDelegate
- 1.1.6 AddFriendMessageReceivedDelegate
- 1.1.7 AddFriendsChangeDelegate
- 1.1.8 AddJoinFriendGameCompleteDelegate
- 1.1.9 AddKeyboardInputDoneDelegate
- 1.1.10 AddLoginCancelledDelegate
- 1.1.11 AddLoginChangeDelegate
- 1.1.12 AddLoginFailedDelegate
- 1.1.13 AddLoginStatusChangeDelegate
- 1.1.14 AddLogoutCompletedDelegate
- 1.1.15 AddMutingChangeDelegate
- 1.1.16 AddReadFriendsCompleteDelegate
- 1.1.17 AddReadPlayerStorageCompleteDelegate
- 1.1.18 AddReadPlayerStorageForNetIdCompleteDelegate
- 1.1.19 AddReadProfileSettingsCompleteDelegate
- 1.1.20 AddReceivedGameInviteDelegate
- 1.1.21 AddWritePlayerStorageCompleteDelegate
- 1.1.22 AddWriteProfileSettingsCompleteDelegate
- 1.1.23 AreAnyFriends
- 1.1.24 AutoLogin
- 1.1.25 CanCommunicate
- 1.1.26 CanDownloadUserContent
- 1.1.27 CanPlayOnline
- 1.1.28 CanPurchaseContent
- 1.1.29 CanShowPresenceInformation
- 1.1.30 CanViewPlayerProfiles
- 1.1.31 ClearAddFriendByNameCompleteDelegate
- 1.1.32 ClearFriendInviteReceivedDelegate
- 1.1.33 ClearFriendMessageReceivedDelegate
- 1.1.34 ClearFriendsChangeDelegate
- 1.1.35 ClearJoinFriendGameCompleteDelegate
- 1.1.36 ClearKeyboardInputDoneDelegate
- 1.1.37 ClearLoginCancelledDelegate
- 1.1.38 ClearLoginChangeDelegate
- 1.1.39 ClearLoginFailedDelegate
- 1.1.40 ClearLoginStatusChangeDelegate
- 1.1.41 ClearLogoutCompletedDelegate
- 1.1.42 ClearMutingChangeDelegate
- 1.1.43 ClearReadFriendsCompleteDelegate
- 1.1.44 ClearReadPlayerStorageCompleteDelegate
- 1.1.45 ClearReadPlayerStorageForNetIdCompleteDelegate
- 1.1.46 ClearReadProfileSettingsCompleteDelegate
- 1.1.47 ClearReceivedGameInviteDelegate
- 1.1.48 ClearWritePlayerStorageCompleteDelegate
- 1.1.49 ClearWriteProfileSettingsCompleteDelegate
- 1.1.50 DeleteMessage
- 1.1.51 DenyFriendInvite
- 1.1.52 GetFriendMessages
- 1.1.53 GetFriendsList
- 1.1.54 GetKeyboardInputResults
- 1.1.55 GetLoginStatus
- 1.1.56 GetPlayerNickname
- 1.1.57 GetPlayerStorage
- 1.1.58 GetProfileSettings
- 1.1.59 GetUniquePlayerId
- 1.1.60 IsFriend
- 1.1.61 IsGuestLogin
- 1.1.62 IsLocalLogin
- 1.1.63 IsMuted
- 1.1.64 JoinFriendGame
- 1.1.65 Login
- 1.1.66 Logout
- 1.1.67 ReadFriendsList
- 1.1.68 ReadPlayerStorage
- 1.1.69 ReadPlayerStorageForNetId
- 1.1.70 ReadProfileSettings
- 1.1.71 RemoveFriend
- 1.1.72 SendGameInviteToFriend
- 1.1.73 SendGameInviteToFriends
- 1.1.74 SendMessageToFriend
- 1.1.75 SetOnlineStatus
- 1.1.76 ShowFriendsUI
- 1.1.77 ShowKeyboardUI
- 1.1.78 ShowLoginUI
- 1.1.79 WritePlayerStorage
- 1.1.80 WriteProfileSettings
- 1.1 Instance functions
- OnlinePlayerInterface functions in other games:
- UT3
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. |
Functions
Instance functions
AcceptFriendInvite
Used to accept a friend invite sent to this player
Parameters:
- LocalUserNum - the user the invite is for
- RequestingPlayer - the player the invite is from
- true - if successful, false otherwise
AddAddFriendByNameCompleteDelegate
Adds the delegate used to notify the gameplay code that the user has received a friend invite
Parameters:
- LocalUserNum - the user associated with the notification
- FriendDelegate - the delegate to use for notifications
AddFriend
Sends a friend invite to the specified player
Parameters:
- LocalUserNum - the user that is sending the invite
- NewFriend - the player to send the friend request to
- Message - the message to display to the recipient
Returns:
- true if successful, false otherwise
AddFriendByName
Sends a friend invite to the specified player nick
Parameters:
- LocalUserNum - the user that is sending the invite
- FriendName - the name of the player to send the invite to
- Message - the message to display to the recipient
Returns:
- true if successful, false otherwise
AddFriendInviteReceivedDelegate
Adds the delegate used to notify the gameplay code that the user has received a friend invite
Parameters:
- LocalUserNum - the user associated with the notification
- InviteDelegate - the delegate to use for notifications
AddFriendMessageReceivedDelegate
Adds the delegate used to notify the gameplay code that the user has received a friend invite
Parameters:
- LocalUserNum - the user associated with the notification
- MessageDelegate - the delegate to use for notifications
AddFriendsChangeDelegate
Sets the delegate used to notify the gameplay code that a friends list changed
Parameters:
- LocalUserNum - the user to read the friends list of
- FriendsDelegate - the delegate to use for notifications
AddJoinFriendGameCompleteDelegate
Sets the delegate used to notify when the join friend is complete
Parameters:
- JoinFriendGameCompleteDelegate - the delegate to use for notifications
AddKeyboardInputDoneDelegate
Adds the delegate used to notify the gameplay code that the user has completed their keyboard input
Parameters:
- InputDelegate - the delegate to use for notifications
AddLoginCancelledDelegate
Adds a delegate to the list of delegates that are fired when a login is cancelled
Parameters:
- CancelledDelegate - the delegate to add to the list
AddLoginChangeDelegate
Sets the delegate used to notify the gameplay code that a login changed
Parameters:
- LoginDelegate - the delegate to use for notifications
AddLoginFailedDelegate
Sets the delegate used to notify the gameplay code that a login failed
Parameters:
- LocalUserNum - the controller number of the associated user
- LoginDelegate - the delegate to use for notifications
AddLoginStatusChangeDelegate
Sets the delegate used to notify the gameplay code that a login status has changed
Parameters:
- LoginDelegate - the delegate to use for notifications
- LocalUserNum - the player to watch login status changes for
AddLogoutCompletedDelegate
Sets the delegate used to notify the gameplay code that a logout completed
Parameters:
- LocalUserNum - the controller number of the associated user
- LogoutDelegate - the delegate to use for notifications
AddMutingChangeDelegate
Sets the delegate used to notify the gameplay code that a muting list changed
Parameters:
- MutingDelegate - the delegate to use for notifications
AddReadFriendsCompleteDelegate
Sets the delegate used to notify the gameplay code that the friends read request has completed
Parameters:
- LocalUserNum - the user to read the friends list of
- ReadFriendsCompleteDelegate - the delegate to use for notifications
AddReadPlayerStorageCompleteDelegate
Sets the delegate used to notify the gameplay code that the last read request has completed
Parameters:
- LocalUserNum - which user to watch for read complete notifications
- ReadPlayerStorageCompleteDelegate - the delegate to use for notifications
AddReadPlayerStorageForNetIdCompleteDelegate
Sets the delegate used to notify the gameplay code that the last read request has completed
Parameters:
- NetId - the net id for the user to watch for read complete notifications
- ReadPlayerStorageForNetIdCompleteDelegate - the delegate to use for notifications
AddReadProfileSettingsCompleteDelegate
Sets the delegate used to notify the gameplay code that the last read request has completed
Parameters:
- LocalUserNum - which user to watch for read complete notifications
- ReadProfileSettingsCompleteDelegate - the delegate to use for notifications
AddReceivedGameInviteDelegate
Adds the delegate used to notify the gameplay code that the user has received a game invite
Parameters:
- LocalUserNum - the user associated with the notification
- ReceivedGameInviteDelegate - the delegate to use for notifications
AddWritePlayerStorageCompleteDelegate
Sets the delegate used to notify the gameplay code that the last write request has completed
Parameters:
- LocalUserNum - which user to watch for write complete notifications
- WritePlayerStorageCompleteDelegate - the delegate to use for notifications
AddWriteProfileSettingsCompleteDelegate
Sets the delegate used to notify the gameplay code that the last write request has completed
Parameters:
- LocalUserNum - which user to watch for write complete notifications
- WriteProfileSettingsCompleteDelegate - the delegate to use for notifications
AreAnyFriends
Checks that whether a group of player ids are among the specified player's friends
Parameters:
- LocalUserNum - the controller number of the associated user
- Query - an array of players to check for being included on the friends list
Returns:
- TRUE if the call succeeded, FALSE otherwise
AutoLogin
Logs the player into the online service using parameters passed on the command line. Expects -Login=<UserName> -Password=<password>. If either are missing, the function returns false and doesn't start the login process
Returns:
- true if the async call started ok, false otherwise
CanCommunicate
Determines whether the player is allowed to use voice or text chat online
Parameters:
- LocalUserNum - the controller number of the associated user
Returns:
- the Privilege level that is enabled
CanDownloadUserContent
Determines whether the player is allowed to download user created content
Parameters:
- LocalUserNum - the controller number of the associated user
Returns:
- the Privilege level that is enabled
CanPlayOnline
Determines whether the player is allowed to play online
Parameters:
- LocalUserNum - the controller number of the associated user
Returns:
- the Privilege level that is enabled
CanPurchaseContent
Determines whether the player is allowed to buy content online
Parameters:
- LocalUserNum - the controller number of the associated user
Returns:
- the Privilege level that is enabled
CanShowPresenceInformation
Determines whether the player is allowed to have their online presence information shown to remote clients
Parameters:
- LocalUserNum - the controller number of the associated user
Returns:
- the Privilege level that is enabled
CanViewPlayerProfiles
Determines whether the player is allowed to view other people's player profile
Parameters:
- LocalUserNum - the controller number of the associated user
Returns:
- the Privilege level that is enabled
ClearAddFriendByNameCompleteDelegate
Removes the delegate specified from the list
Parameters:
- LocalUserNum - the user associated with the notification
- FriendDelegate - the delegate to use for notifications
ClearFriendInviteReceivedDelegate
Removes the delegate specified from the list
Parameters:
- LocalUserNum - the user associated with the notification
- InviteDelegate - the delegate to use for notifications
ClearFriendMessageReceivedDelegate
Removes the delegate specified from the list
Parameters:
- LocalUserNum - the user associated with the notification
- MessageDelegate - the delegate to use for notifications
ClearFriendsChangeDelegate
Sets the delegate used to notify the gameplay code that a friends list changed
Parameters:
- LocalUserNum - the user to read the friends list of
- FriendsDelegate - the delegate to use for notifications
ClearJoinFriendGameCompleteDelegate
Removes the delegate from the list of notifications
Parameters:
- JoinFriendGameCompleteDelegate - the delegate to use for notifications
ClearKeyboardInputDoneDelegate
Clears the delegate used to notify the gameplay code that the user has completed their keyboard input
Parameters:
- InputDelegate - the delegate to use for notifications
ClearLoginCancelledDelegate
Removes the specified delegate from the notification list
Parameters:
- CancelledDelegate - the delegate to remove fromt he list
ClearLoginChangeDelegate
Removes the specified delegate from the notification list
Parameters:
- LoginDelegate - the delegate to use for notifications
ClearLoginFailedDelegate
Removes the specified delegate from the notification list
Parameters:
- LocalUserNum - the controller number of the associated user
- LoginDelegate - the delegate to use for notifications
ClearLoginStatusChangeDelegate
Removes the specified delegate from the notification list
Parameters:
- LoginDelegate - the delegate to use for notifications
- LocalUserNum - the player to watch login status changes for
ClearLogoutCompletedDelegate
Removes the specified delegate from the notification list
Parameters:
- LocalUserNum - the controller number of the associated user
- LogoutDelegate - the delegate to use for notifications
ClearMutingChangeDelegate
Clears the delegate used to notify the gameplay code that a muting list changed
Parameters:
- MutingDelegate - the delegate to use for notifications
ClearReadFriendsCompleteDelegate
Clears the delegate used to notify the gameplay code that the friends read request has completed
Parameters:
- LocalUserNum - the user to read the friends list of
- ReadFriendsCompleteDelegate - the delegate to use for notifications
ClearReadPlayerStorageCompleteDelegate
Searches the existing set of delegates for the one specified and removes it from the list
Parameters:
- LocalUserNum - which user to watch for read complete notifications
- ReadPlayerStorageCompleteDelegate - the delegate to find and clear
ClearReadPlayerStorageForNetIdCompleteDelegate
Searches the existing set of delegates for the one specified and removes it from the list
Parameters:
- NetId - the net id for the user to watch for read complete notifications
- ReadPlayerStorageForNetIdCompleteDelegate - the delegate to find and clear
ClearReadProfileSettingsCompleteDelegate
Searches the existing set of delegates for the one specified and removes it from the list
Parameters:
- LocalUserNum - which user to watch for read complete notifications
- ReadProfileSettingsCompleteDelegate - the delegate to find and clear
ClearReceivedGameInviteDelegate
Removes the delegate specified from the list
Parameters:
- LocalUserNum - the user associated with the notification
- ReceivedGameInviteDelegate - the delegate to use for notifications
ClearWritePlayerStorageCompleteDelegate
Clears the delegate used to notify the gameplay code that the last write request has completed
Parameters:
- LocalUserNum - which user to watch for write complete notifications
- WritePlayerStorageCompleteDelegate - the delegate to use for notifications
ClearWriteProfileSettingsCompleteDelegate
Clears the delegate used to notify the gameplay code that the last write request has completed
Parameters:
- LocalUserNum - which user to watch for write complete notifications
- WriteProfileSettingsCompleteDelegate - the delegate to use for notifications
DeleteMessage
Deletes a message from the list of messages
Parameters:
- LocalUserNum - the user that is deleting the message
- MessageIndex - the index of the message to delete
Returns:
- true if the message was deleted, false otherwise
DenyFriendInvite
Used to deny a friend request sent to this player
Parameters:
- LocalUserNum - the user the invite is for
- RequestingPlayer - the player the invite is from
- true - if successful, false otherwise
GetFriendMessages
Returns the list of messages for the specified player
Parameters:
- LocalUserNum - the local player wanting to join
- FriendMessages - the set of messages cached locally for the player
GetFriendsList
Copies the list of friends for the player previously retrieved from the online service. The list can be retrieved in whole or in part.
Parameters:
- LocalUserNum - the user to read the friends list of
- Friends - the out array that receives the copied data
- Count - the number of friends to read or zero for all
- StartingAt - the index of the friends list to start at (for pulling partial lists)
Returns:
- OERS_Done if the read has completed, otherwise one of the other states
GetKeyboardInputResults
Fetches the results of the input
Parameters:
- bWasCanceled - whether the user cancelled the input or not
Returns:
- the string entered by the user. Note the string will be empty if it fails validation
GetLoginStatus
Fetches the login status for a given player
Parameters:
- LocalUserNum - the controller number of the associated user
Returns:
- the enum value of their status
GetPlayerNickname
Reads the player's nick name from the online service
Parameters:
- LocalUserNum - the controller number of the associated user
Returns:
- a string containing the players nick name
GetPlayerStorage
Returns the online player storage for a given local user
Parameters:
- LocalUserNum - the user that we are reading the data for
Returns:
- the player storage object
GetProfileSettings
Returns the online profile settings for a given user
Parameters:
- LocalUserNum - the user that we are reading the data for
Returns:
- the profile settings object
GetUniquePlayerId
Gets the platform specific unique id for the specified player
Parameters:
- LocalUserNum - the controller number of the associated user
- PlayerId - the byte array that will receive the id
Returns:
- TRUE if the call succeeded, FALSE otherwise
IsFriend
Checks that a unique player id is part of the specified user's friends list
Parameters:
- LocalUserNum - the controller number of the associated user
- PlayerId - the id of the player being checked
Returns:
- TRUE if a member of their friends list, FALSE otherwise
IsGuestLogin
Determines whether the specified user is a guest login or not
Parameters:
- LocalUserNum - the controller number of the associated user
Returns:
- true if a guest, false otherwise
IsLocalLogin
Determines whether the specified user is a local (non-online) login or not
Parameters:
- LocalUserNum - the controller number of the associated user
Returns:
- true if a local profile, false otherwise
IsMuted
Checks that a unique player id is on the specified user's mute list
Parameters:
- LocalUserNum - the controller number of the associated user
- PlayerId - the id of the player being checked
Returns:
- TRUE if the player should be muted, FALSE otherwise
JoinFriendGame
Allows the local player to follow a friend into a game
Parameters:
- LocalUserNum - the local player wanting to join
- Friend - the player that is being followed
Returns:
- true if the async call worked, false otherwise
Login
Logs the player into the online service. If this fails, it generates a OnLoginFailed notification
Parameters:
- LocalUserNum - the controller number of the associated user
- LoginName - the unique identifier for the player
- Password - the password for this account
- bWantsLocalOnly - whether the player wants to sign in locally only or not
Returns:
- true if the async call started ok, false otherwise
Logout
Signs the player out of the online service
Parameters:
- LocalUserNum - the controller number of the associated user
Returns:
- TRUE if the call succeeded, FALSE otherwise
ReadFriendsList
Starts an async task that retrieves the list of friends for the player from the online service. The list can be retrieved in whole or in part.
Parameters:
- LocalUserNum - the user to read the friends list of
- Count - the number of friends to read or zero for all
- StartingAt - the index of the friends list to start at (for pulling partial lists)
Returns:
- true if the read request was issued successfully, false otherwise
ReadPlayerStorage
Reads the online player storage data for a given local user
Parameters:
- LocalUserNum - the user that we are reading the data for
- PlayerStorage - the object to copy the results to and contains the list of items to read
Returns:
- true if the call succeeds, false otherwise
ReadPlayerStorageForNetId
Reads the online player storage data for a given net user
Parameters:
- NetId - the net user that we are reading the data for
- PlayerStorage - the object to copy the results to and contains the list of items to read
Returns:
- true if the call succeeds, false otherwise
ReadProfileSettings
Reads the online profile settings for a given user
Parameters:
- LocalUserNum - the user that we are reading the data for
- ProfileSettings - the object to copy the results to and contains the list of items to read
Returns:
- true if the call succeeds, false otherwise
RemoveFriend
Removes a friend from the player's friend list
Parameters:
- LocalUserNum - the user that is removing the friend
- FormerFriend - the player to remove from the friend list
Returns:
- true if successful, false otherwise
SendGameInviteToFriend
Sends an invitation to play in the player's current session
Parameters:
- LocalUserNum - the user that is sending the invite
- Friend - the player to send the invite to
- Text - the text of the message for the invite
Returns:
- true if successful, false otherwise
SendGameInviteToFriends
Sends invitations to play in the player's current session
Parameters:
- LocalUserNum - the user that is sending the invite
- Friends - the player to send the invite to
- Text - the text of the message for the invite
Returns:
- true if successful, false otherwise
SendMessageToFriend
Sends a message to a friend
Parameters:
- LocalUserNum - the user that is sending the message
- Friend - the player to send the message to
- Message - the message to display to the recipient
Returns:
- true if successful, false otherwise
SetOnlineStatus
Sets the online status information to use for the specified player. Used to tell other players what the player is doing (playing, menus, away, etc.)
Parameters:
- LocalUserNum - the controller number of the associated user
- StatusId - the status id to use (maps to strings where possible)
- LocalizedStringSettings - the list of localized string settings to set
- Properties - the list of properties to set
ShowFriendsUI
Displays the UI that shows a user's list of friends
Parameters:
- LocalUserNum - the controller number of the associated user
Returns:
- TRUE if it was able to show the UI, FALSE if it failed
ShowKeyboardUI
Displays the UI that shows the keyboard for inputing text
Parameters:
- LocalUserNum - the controller number of the associated user
- TitleText - the title to display to the user
- DescriptionText - the text telling the user what to input
- bIsPassword - whether the item being entered is a password or not
- bShouldValidate - whether to apply the string validation API after input or not
- DefaultText - the default string to display
- MaxResultLength - the maximum length string expected to be filled in
Returns:
- TRUE if it was able to show the UI, FALSE if it failed
ShowLoginUI
Displays the UI that prompts the user for their login credentials. Each platform handles the authentication of the user's data.
Parameters:
- bShowOnlineOnly - whether to only display online enabled profiles or not
Returns:
- TRUE if it was able to show the UI, FALSE if it failed
WritePlayerStorage
Writes the online player storage data for a given local user to the online data store
Parameters:
- LocalUserNum - the user that we are writing the data for
- PlayerStorage - the object that contains the list of items to write
Returns:
- true if the call succeeds, false otherwise
WriteProfileSettings
Writes the online profile settings for a given user to the online data store
Parameters:
- LocalUserNum - the user that we are writing the data for
- ProfileSettings - the list of settings to write out
Returns:
- true if the call succeeds, false otherwise