Cogito, ergo sum

UE3:UTUITabPage_FindQuickMatch (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 >> UIObject >> UIContainer >> UITabPage >> UTTabPage >> UTUITabPage_ServerBrowser >> UTUITabPage_FindQuickMatch
Package: 
UTGame
Implemented interfaces
UIDataStoreSubscriber

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

Tab page for finding a quick match.

Constants[edit]

QUICKMATCH_MAX_RESULTS[edit]

Value: 30


Subobjects[edit]

WidgetEventComponent[edit]

Class: Engine.UIComp_Event

Inherits from: UTUITabPage_ServerBrowser.WidgetEventComponent

No new values.

Delegates[edit]

OnSearchComplete[edit]

delegate OnSearchComplete (bool bWasSuccessful)

Delegate for when a search has completed.

Functions[edit]

Events[edit]

PostInitialize[edit]

event PostInitialize ()

Overrides: UTUITabPage_ServerBrowser.PostInitialize

PostInitialize event - Sets delegates for the page.

Other instance functions[edit]

FindBestServerIndexByRanking[edit]

function int FindBestServerIndexByRanking (int PlayerRanking)

Find the best available server for this player given their rating

Prefers a server with the smallest delta between ratings and then the server with the best ping
If no suitable server is found by rating, the best ping server is found
Failing that the first server in the list is returned as a fail safe

HandleInputKey[edit]

function bool HandleInputKey (const out UIRoot.InputEventParameters EventParms)

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

OnFindOnlineGamesComplete[edit]

function OnFindOnlineGamesComplete (bool bWasSuccessful)

Overrides: UTUITabPage_ServerBrowser.OnFindOnlineGamesComplete

Delegate fired when the search for an online game has completed

Parameters:

  • bWasSuccessful - true if the async action completed without error, false if there was an error

OnServerList_ValueChanged[edit]

function OnServerList_ValueChanged (UIObject Sender, int PlayerIndex)

Overrides: UTUITabPage_ServerBrowser.OnServerList_ValueChanged

Callback for when the server list value changed.

RefreshServerList[edit]

function RefreshServerList (int InPlayerIndex, optional int MaxResults)

Overrides: UTUITabPage_ServerBrowser.RefreshServerList

Refreshes the server list.

SetupButtonBar[edit]

function SetupButtonBar (UTUIButtonBar ButtonBar)

Overrides: UTUITabPage_ServerBrowser.SetupButtonBar

Sets buttons for the scene.