Cogito, ergo sum
UE3:OnlinePlayerInterface functions (UT3)
From Unreal Wiki, The Unreal Engine Documentation Site
| OnlinePlayerInterface (functions) |
- OnlinePlayerInterface functions in other games:
- UDK
| This is an auto-generated page and may need human attention. Please remove this tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
[edit] Functions
[edit] Instance functions
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] AddJoinFriendGameCompleteDelegate
Sets the delegate used to notify when the join friend is complete
Parameters:
- JoinFriendGameCompleteDelegate - the delegate to use for notifications
[edit] 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
[edit] 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
[edit] AddLoginChangeDelegate
Sets the delegate used to notify the gameplay code that a login changed
Parameters:
- LoginDelegate - the delegate to use for notifications
- LocalUserNum - whether to watch for changes on a specific slot or all slots
[edit] 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
[edit] 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
[edit] AddMutingChangeDelegate
Sets the delegate used to notify the gameplay code that a muting list changed
Parameters:
- MutingDelegate - the delegate to use for notifications
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] ClearAddFriendByNameCompleteDelegate
Removes the delegate specified from the list
Parameters:
- LocalUserNum - the user associated with the notification
- FriendDelegate - the delegate to use for notifications
[edit] ClearFriendInviteReceivedDelegate
Removes the delegate specified from the list
Parameters:
- LocalUserNum - the user associated with the notification
- InviteDelegate - the delegate to use for notifications
[edit] ClearFriendMessageReceivedDelegate
Removes the delegate specified from the list
Parameters:
- LocalUserNum - the user associated with the notification
- MessageDelegate - the delegate to use for notifications
[edit] 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
[edit] ClearJoinFriendGameCompleteDelegate
Removes the delegate from the list of notifications
Parameters:
- JoinFriendGameCompleteDelegate - the delegate to use for notifications
[edit] 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
[edit] ClearLoginCancelledDelegate
Removes the specified delegate from the notification list
Parameters:
- CancelledDelegate - the delegate to remove fromt he list
[edit] ClearLoginChangeDelegate
Removes the specified delegate from the notification list
Parameters:
- LoginDelegate - the delegate to use for notifications
- LocalUserNum - whether to watch for changes on a specific slot or all slots
[edit] 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
[edit] 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
[edit] ClearMutingChangeDelegate
Clears the delegate used to notify the gameplay code that a muting list changed
Parameters:
- MutingDelegate - the delegate to use for notifications
[edit] 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
[edit] 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
[edit] ClearReceivedGameInviteDelegate
Removes the delegate specified from the list
Parameters:
- LocalUserNum - the user associated with the notification
- ReceivedGameInviteDelegate - the delegate to use for notifications
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
[edit] 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
