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

UE3:UTUIScene_SendFriendRequest (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT3 Object >> UIRoot >> UIScreenObject >> UIScene >> UTUIScene >> UTUIFrontEnd >> UTUIFrontEnd_CustomScreen >> UTUIScene_SendFriendRequest
Package: 
UTGame

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

Friend request scene for UT3, allows the player to send a friend request.

Properties[edit]

MessageEditBox[edit]

Type: UIEditBox

Modifiers: transient


TargetPlayerName[edit]

Type: string

Modifiers: transient

Person to send the friend invite to.

TargetPlayerNetId[edit]

Type: OnlineSubsystem.UniqueNetId

Modifiers: transient


UserNameEditBox[edit]

Type: UIEditBox

Modifiers: transient

References to the editboxes on the screen.

Subobjects[edit]

SceneEventComponent[edit]

Class: Engine.UIComp_Event

Inherits from: UTUIFrontEnd_CustomScreen.SceneEventComponent

No new values.

Functions[edit]

Events[edit]

PostInitialize[edit]

event PostInitialize ()

Overrides: UTUIFrontEnd_CustomScreen.PostInitialize

PostInitialize event - Sets delegates for the scene.

Other instance functions[edit]

HandleInputKey[edit]

function bool HandleInputKey (const out UIRoot.InputEventParameters EventParms)

Overrides: UTUIFrontEnd.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.

OnAddFriendByNameComplete[edit]

function OnAddFriendByNameComplete (bool bWasSuccessful)

Called when a friend invite arrives for a local player

Parameters:

  • bWasSuccessful - true if successfully added, false if not found or failed

OnButtonBar_Cancel[edit]

function bool OnButtonBar_Cancel (UIScreenObject InButton, int InPlayerIndex)

Buttonbar Callbacks.

OnButtonBar_SendFriendRequest[edit]

function bool OnButtonBar_SendFriendRequest (UIScreenObject InButton, int InPlayerIndex)


OnButtonBar_ShowKeyboard[edit]

function bool OnButtonBar_ShowKeyboard (UIScreenObject InButton, int InPlayerIndex)


OnCancel[edit]

function OnCancel ()

Callback for when the user wants to back out of this screen.

OnRequestSentMessageClosed[edit]

function OnRequestSentMessageClosed ()

Called when the user has closed the request sent box.

OnSendFriendRequest[edit]

function OnSendFriendRequest ()

Sends the actual friend request.

OnShowKeyboard[edit]

function OnShowKeyboard ()

Shows the online keyboard.

OnSubmitText[edit]

function bool OnSubmitText (UIEditBox Sender, int PlayerIndex)

Called when the user presses enter (or any other action bound to UIKey_SubmitText) while this editbox has focus.

Parameters:

  • Sender - the editbox that is submitting text
  • PlayerIndex - the index of the player that generated the call to SetValue; used as the PlayerIndex when activating UIEvents; if not specified, the value of GetBestPlayerIndex() is used instead.

Returns:

if TRUE, the editbox will clear the existing value of its textbox.

SetTargetPlayer[edit]

function SetTargetPlayer (OnlineSubsystem.UniqueNetId InTargetPlayerNetId, string InTargetPlayerName)

Sets who the message should be sent to.

SetupButtonBar[edit]

function SetupButtonBar ()

Overrides: UTUIFrontEnd.SetupButtonBar

Sets up the scene's button bar.