Cogito, ergo sum
UE3:UTUIScene_PlayerCard (UT3)
Object >> UIRoot >> UIScreenObject >> UIScene >> UTUIScene >> UTUIFrontEnd >> UTUIFrontEnd_BasicMenu >> UTUIScene_PlayerCard |
Contents
- 1 Properties
- 2 Enums
- 3 Functions
- 3.1 Static functions
- 3.2 Events
- 3.3 Other instance functions
- 3.3.1 BanSelection
- 3.3.2 GenerateOptions
- 3.3.3 KickSelection
- 3.3.4 OnBan
- 3.3.5 OnFollow
- 3.3.6 OnFollowComplete
- 3.3.7 OnInviteToGame
- 3.3.8 OnJoiningMessage_Closed
- 3.3.9 OnKick
- 3.3.10 OnMenu_ValueChanged
- 3.3.11 OnPasswordDialog_Closed
- 3.3.12 OnSelectItem
- 3.3.13 OnSendFriendRequest
- 3.3.14 OnSendFriendRequest_Opened
- 3.3.15 OnSendMessage
- 3.3.16 OnSendMessageScene_Opened
- 3.3.17 ProcessFollow
- 3.3.18 PromptForServerPassword
- 3.3.19 SetPlayer
- 3.3.20 SetupButtonBar
- Package:
- UTGame
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. |
Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
Player card scene for UT3, allows players to add friends, invite to games, etc.
Properties[edit]
AccountLabel[edit]
Type: UILabel
Modifiers: transient
Reference to the label that displays the account name
bWasAbleToJoin[edit]
Type: bool
Modifiers: transient
Whether or not we were able to join a friend's game in progress.
CurrentOptions[edit]
Type: array<PlayerCardOptions>
Modifiers: transient
Current array of options visible to the player.
DescLinks[edit]
Type: string
Array size: 6
Default value, index 0: "SendFriendRequest_Desc"
Default value, index 1: "SendMessage_Desc"
Default value, index 2: "InviteToGame_Desc"
Default value, index 3: "Follow_Desc"
Default value, index 4: "Kick_Desc"
Default value, index 5: "Ban_Desc"
PlayerInt[edit]
Type: OnlinePlayerInterface
Modifiers: transient
Reference to the online player interface.
PlayerName[edit]
Type: string
Modifiers: transient
Name of the player we are showing the card for.
PlayerNameLabel[edit]
Type: UILabel
Modifiers: transient
Reference to a label that displays the name of the player that this card belongs to.
PlayerNetId[edit]
Type: OnlineSubsystem.UniqueNetId
Modifiers: transient
Net ID of the player we are showing the card for.
SendFriendRequestScene[edit]
Type: string
Modifiers: transient
Reference to the send friend request screen.
SendOnlineMessageScene[edit]
Type: string
Modifiers: transient
Reference to the send online message screen.
StringListDataStore[edit]
Type: UTUIDataStore_StringList
Modifiers: transient
Reference to the string list datastore.
Subobjects[edit]
SceneEventComponent[edit]
Class: Engine.UIComp_Event
Inherits from: UTUIFrontEnd_BasicMenu.SceneEventComponent
No new values.
Enums[edit]
PlayerCardOptions[edit]
- PCO_SendFriendRequest
- PCO_SendMessage
- PCO_InviteToGame
- PCO_Follow
- PCO_Kick
- PCO_Ban
Functions[edit]
Static functions[edit]
FollowRequiresPassword[edit]
Determines whether we need to supply a password in order to join this friend's match.
Returns:
- TRUE if the friend's server is password-protected; FALSE otherwise.
GetOnlineFriendData[edit]
Gets the OnlineFriend struct for the player we're displaying this player card for.
Parameters:
- OwnerPC - the player controller associated with the player to get friend info from (i.e. the local player)
- FriendNetId - the unique network id associated with the friend to get info for (i.e. the friend)
- out_FriendData - receives the online friend data
Returns:
- FALSE if this player isn't one of our friends or the OnlineFriend data couldn't be found.
Events[edit]
PostInitialize[edit]
Overrides: UTUIFrontEnd_BasicMenu.PostInitialize
Post initialize callback.
Other instance functions[edit]
BanSelection[edit]
GenerateOptions[edit]
Generates the options for the player card menu based on the users's current relationship to the player in question.
KickSelection[edit]
OnBan[edit]
OnFollow[edit]
Tries to follow the player that owns this playercard by joining their current game.
OnFollowComplete[edit]
Called once the join task has completed
Parameters:
- bWasSuccessful - the session was found and is joinable, false otherwise
OnInviteToGame[edit]
Invites the owner of this player card to the local player's game.
OnJoiningMessage_Closed[edit]
Callback for when the joining messagebox has closed.
OnKick[edit]
OnMenu_ValueChanged[edit]
Overrides: UTUIFrontEnd_BasicMenu.OnMenu_ValueChanged
Called when the user changes the currently selected list item.
OnPasswordDialog_Closed[edit]
The user has made a selection of the choices available to them.
OnSelectItem[edit]
Overrides: UTUIFrontEnd_BasicMenu.OnSelectItem
Executes a action based on the currently selected menu item.
OnSendFriendRequest[edit]
Sends a friend request to the owner of this player card.
OnSendFriendRequest_Opened[edit]
Callback for when the send message scene has actually been opened. Sets the target player for the scene.
OnSendMessage[edit]
Displays the send online message scene for the owner of this card.
OnSendMessageScene_Opened[edit]
Callback for when the send message scene has actually been opened. Sets the target player for the scene.
ProcessFollow[edit]
PromptForServerPassword[edit]
Displays a dialog to the user which allows him to enter the password for the currently selected server.
SetPlayer[edit]
Sets the current player for this player card.
SetupButtonBar[edit]
Overrides: UTUIFrontEnd_BasicMenu.SetupButtonBar
Setup the scene's buttonbar.