I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE3:UTUITabPage_InGameMsg (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> UIRoot >> UIScreenObject >> UIObject >> UIContainer >> UITabPage >> UTTabPage >> UTTabPage_MidGame >> UTUITabPage_InGameMsg
Package: 
UTGame
Implemented interfaces
UIDataStoreSubscriber

Copyright © 1998-2007 Epic Games, Inc. All Rights Reserved.

Properties[edit]

MessageBoxReference[edit]

Type: UTUIScene_MessageBox

Modifiers: transient

Reference to a message box scene.

MessageList[edit]

Type: UIList

Modifiers: transient


PlayerData[edit]

Type: UIDataStore_OnlinePlayerData

Modifiers: transient

Reference to the online player datastore.

PlayerInt[edit]

Type: OnlinePlayerInterface

Modifiers: transient

Reference to the online player interface.

PlayerMessages[edit]

Type: UIDataProvider_OnlineFriendMessages

Modifiers: transient

Reference to the player messages provider.

SendFriendRequestScene[edit]

Type: string

Modifiers: transient

Reference to the send friend request screen.

TargetPlayerName[edit]

Type: string

Modifiers: transient

Name of the player we are going to send a friend request to.

TargetPlayerNetId[edit]

Type: OnlineSubsystem.UniqueNetId

Modifiers: transient

Net ID of the player we are going to send a friend request to.

Subobjects[edit]

WidgetEventComponent[edit]

Class: Engine.UIComp_Event

Inherits from: UTTabPage_MidGame.WidgetEventComponent

No new values.

Functions[edit]

Events[edit]

PostInitialize[edit]

event PostInitialize ()

Overrides: UIScreenObject.PostInitialize

Post initialization event - Setup widget delegates.

Other instance functions[edit]

GetNetIdFromIndex[edit]

function OnlineSubsystem.UniqueNetId GetNetIdFromIndex (int MessageIdx)


HandleInputKey[edit]

function bool HandleInputKey (const out UIRoot.InputEventParameters EventParms)

Overrides: UTTabPage.HandleInputKey

Provides a hook for unrealscript to respond to input using actual input key names (i.e. Left, Tab, etc.)

Called when an input key event is received which this widget responds to and is in the correct state to process. The keys and states widgets receive input for is managed through the UI editor's key binding dialog (F8).

This delegate is called BEFORE kismet is given a chance to process the input.

Parameters:

  • EventParms - information about the input event.

Returns:

TRUE to indicate that this input key was processed; no further processing will occur on this input key event.

OnButtonBar_DeleteMessage[edit]

function bool OnButtonBar_DeleteMessage (UIScreenObject InButton, int PlayerIndex)


OnButtonBar_MarkAsUnread[edit]

function bool OnButtonBar_MarkAsUnread (UIScreenObject InButton, int PlayerIndex)


OnButtonBar_ViewMessage[edit]

function bool OnButtonBar_ViewMessage (UIScreenObject InButton, int PlayerIndex)

Buttonbar Callbacks

OnDeleteMessage[edit]

function OnDeleteMessage ()

Deletes the currently selected message.

OnDeleteMessage_Confirm[edit]

function OnDeleteMessage_Confirm (UTUIScene_MessageBox MessageBox, int SelectedItem, int PlayerIndex)

Confirmation for the delete message dialog.

OnFriendInvite_Confirm[edit]

function OnFriendInvite_Confirm (UTUIScene_MessageBox MessageBox, int SelectedItem, int PlayerIndex)

Confirmation for the accept friend invite dialog.

OnGameInvite_Confirm[edit]

function OnGameInvite_Confirm (UTUIScene_MessageBox MessageBox, int SelectedItem, int PlayerIndex)

Confirmation for the accept game invite dialog.

OnGameInviteAccepted[edit]

function OnGameInviteAccepted (OnlineGameSettings GameInviteSettings)

Callback for when the game invite accepted operation has completed.

OnMarkAsUnread[edit]

function OnMarkAsUnread ()

Marks the currently selected message as unread.

OnMessageListChanged[edit]

function OnMessageListChanged ()

Refreshes the message list.

OnMessagesList_SubmitSelection[edit]

function OnMessagesList_SubmitSelection (UIList Sender, optional int PlayerIndex)

Called when the user submits the current list index.

Parameters:

  • Sender - the list that is submitting the selection

OnMessagesList_ValueChanged[edit]

function OnMessagesList_ValueChanged (UIObject Sender, optional int PlayerIndex)

Callback for when the user changes the currently selected list item.

OnPasswordDialog_Closed[edit]

private function OnPasswordDialog_Closed (UTUIScene_MessageBox MessageBox, int SelectedOption, int PlayerIndex)

The user has made a selection of the choices available to them.

OnSendFriendRequest[edit]

function OnSendFriendRequest ()

Sends a friend request to the owner of this player card.

OnSendFriendRequest_Opened[edit]

function OnSendFriendRequest_Opened (UIScene OpenedScene, bool bInitialActivation)

Callback for when the send message scene has actually been opened. Sets the target player for the scene.

OnViewMessage[edit]

function OnViewMessage ()

Shows the currently message to the player.

ProcessFollow[edit]

private function ProcessFollow (int SelectedMessageItem)

Final function in the "join game invite" process - interacts with the online subsystem to initiate the join. At this point, we've made sure that all conditions for a successful join are met, including prompting the user for the password (if required).

ProcessGameInvite[edit]

function ProcessGameInvite (int SelectedMessageItem, optional string ServerPassword)

Wrapper function which displays a prompt dialog if the server we're about to join has a password.

Parameters:

  • SelectedMessageItem - the value of the index for the message corresponding to the game invite (i.e. MessageList.Items[MessageList.Index])
  • ServerPassword - the password to use when connecting to the game

PromptForServerPassword[edit]

private function PromptForServerPassword ()

Displays a dialog to the user which allows him to enter the password for the currently selected server.

SendFriendRequestIsDone[edit]

function SendFriendRequestIsDone (UIScene DeactivatedScene)


SetupButtonBar[edit]

function SetupButtonBar (UTUIButtonBar ButtonBar)

Overrides: UTTabPage.SetupButtonBar

Callback allowing the tabpage to setup the button bar for the current scene.