Worst-case scenario: the UEd Goblin wipes the map and burns down your house.
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
AccountLabel
Type: UILabel
Modifiers: transient
Reference to the label that displays the account name
bWasAbleToJoin
Type: bool
Modifiers: transient
Whether or not we were able to join a friend's game in progress.
CurrentOptions
Type: array<PlayerCardOptions>
Modifiers: transient
Current array of options visible to the player.
DescLinks
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
Type: OnlinePlayerInterface
Modifiers: transient
Reference to the online player interface.
PlayerName
Type: string
Modifiers: transient
Name of the player we are showing the card for.
PlayerNameLabel
Type: UILabel
Modifiers: transient
Reference to a label that displays the name of the player that this card belongs to.
PlayerNetId
Type: OnlineSubsystem.UniqueNetId
Modifiers: transient
Net ID of the player we are showing the card for.
SendFriendRequestScene
Type: string
Modifiers: transient
Reference to the send friend request screen.
SendOnlineMessageScene
Type: string
Modifiers: transient
Reference to the send online message screen.
StringListDataStore
Type: UTUIDataStore_StringList
Modifiers: transient
Reference to the string list datastore.
Subobjects
SceneEventComponent
Class: Engine.UIComp_Event
Inherits from: UTUIFrontEnd_BasicMenu.SceneEventComponent
No new values.
Enums
PlayerCardOptions
- PCO_SendFriendRequest
- PCO_SendMessage
- PCO_InviteToGame
- PCO_Follow
- PCO_Kick
- PCO_Ban
Functions
Static functions
FollowRequiresPassword
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
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
PostInitialize
Overrides: UTUIFrontEnd_BasicMenu.PostInitialize
Post initialize callback.
Other instance functions
BanSelection
GenerateOptions
Generates the options for the player card menu based on the users's current relationship to the player in question.
KickSelection
OnBan
OnFollow
Tries to follow the player that owns this playercard by joining their current game.
OnFollowComplete
Called once the join task has completed
Parameters:
- bWasSuccessful - the session was found and is joinable, false otherwise
OnInviteToGame
Invites the owner of this player card to the local player's game.
OnJoiningMessage_Closed
Callback for when the joining messagebox has closed.
OnKick
OnMenu_ValueChanged
Overrides: UTUIFrontEnd_BasicMenu.OnMenu_ValueChanged
Called when the user changes the currently selected list item.
OnPasswordDialog_Closed
The user has made a selection of the choices available to them.
OnSelectItem
Overrides: UTUIFrontEnd_BasicMenu.OnSelectItem
Executes a action based on the currently selected menu item.
OnSendFriendRequest
Sends a friend request to the owner of this player card.
OnSendFriendRequest_Opened
Callback for when the send message scene has actually been opened. Sets the target player for the scene.
OnSendMessage
Displays the send online message scene for the owner of this card.
OnSendMessageScene_Opened
Callback for when the send message scene has actually been opened. Sets the target player for the scene.
ProcessFollow
PromptForServerPassword
Displays a dialog to the user which allows him to enter the password for the currently selected server.
SetPlayer
Sets the current player for this player card.
SetupButtonBar
Overrides: UTUIFrontEnd_BasicMenu.SetupButtonBar
Setup the scene's buttonbar.