Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

GUI2K4.UT2K4QuickPlay

Extends
LargeWindow

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPage
            |   
            +-- XInterface.UT2K4GUIPage
               |   
               +-- GUI2K4.PopupPageBase
                  |   
                  +-- GUI2K4.FloatingWindow
                     |   
                     +-- GUI2K4.LargeWindow
                        |   
                        +-- GUI2K4.UT2K4QuickPlay

Variables Summary
stringAuthFailedText
stringBeginningSearchText
boolbPendingSearch
GUIButtonb_lClose
GUIButtonb_QuickConnect
stringCancelHint
stringCancelText
stringConnectHint
stringConnectionFailedText
stringConnectText
moComboBoxco_Difficulty
moComboBoxco_Game
array<string>DifficultyOptions
GUIImagei_Border
GUILabell_ServerCount
GUILabell_Status
intMaxWaitSeconds
MasterServerClientMSC
stringNoServersReceivedText
stringNoValidText
array<int>PingQueue
stringPlayText
intQuickConnectSeconds
stringReadyText
stringSearchCancelledText
stringSearchingText
stringServerCountText
array<GameInfo.ServerResponseLine>Servers
intThreadCount
stringTimedOutText
Inherited Variables from GUI2K4.FloatingWindow
BLSizing, bMoveAllowed, bMoving, bResizeHeightAllowed, bResizeWidthAllowed, bResizing, BRSizing, BtSizing, b_ExitButton, DefaultHeight, DefaultLeft, DefaultTop, DefaultWidth, HeaderMouseCursorIndex, LSizing, MaxPageHeight, MaxPageWidth, MinPageHeight, MinPageWidth, RSizing, TLSizing, TRSizing, TSizing, t_WindowTitle, WindowName

Delegates Summary
delegate OnCloseConnection ()
delegate OnOpenConnection ()

Functions Summary
function AddQueryTerm (coerce string Key, coerce string Value, MasterServerClient.EQueryType QueryType))
function AddServerToPingQueue (int ServerIndex))
function CancelQuickPlay ()))
function ChangeQuickPlayStatus (bool bIsSearching))
event Closed (GUIComponent Sender, bool bCancelled))
function CloseMSConnection ()))
function CreateQuickPlayQuery (string GameType, int Index ))
event Free ()))
function HandleObject (Object Obj, optional Object OptionalObj_1, optional Object OptionalObj_2 ))
function InitComponent (GUIController MyController, GUIComponent MyComponent))
functionbool InternalOnClick (GUIComponent Sender))
functionbool NotifyLevelChange ()))
event Opened (GUIComponent Sender))
function PingingComplete ()))
function PingServer (int QueueIndex))
function QueryComplete (MasterServerClient.EResponseInfo ResponseInfo, int Info ))
functionbool QuickConnectPending ()))
function ReceivedNewServer (GameInfo.ServerResponseLine NewServer ))
function ReceivedPingInfo (int ServerIndex, ServerQueryClient.EPingCause PingCause, GameInfo.ServerResponseLine ServerInfo ))
function ReceivedPingTimeout (int ServerIndex, ServerQueryClient.EPingCause PingCause ))
function ResetQueryClient (ServerQueryClient Client))
function SetStatusCaption (string StatusMessage))
function StatusTimer (GUIComponent Sender))
event Timer ()))
function UpdateQueue ()))
function UpdateServerCount ()))
Inherited Functions from GUI2K4.FloatingWindow
AddSystemMenu, AlignFrame, CheckBounds, FloatingHover, FloatingMousePressed, FloatingMouseRelease, FloatingPreDraw, FloatingRendered, HoveringBottomBorder, HoveringBottomLeft, HoveringLeftBorder, HoveringRightBorder, HoveringTopBorder, HoveringTopLeft, InitComponent, InternalOnCreateComponent, ResizeAllowed, ResizedBoth, ResizedHeight, ResizedWidth, ResolutionChanged, SaveCurrentPosition, SetDefaultPosition, SetFocus, SetMouseCursorIndex, SetPanelPosition, SystemMenuPreDraw, XButtonClicked


Variables Detail

AuthFailedText Source code

var localized string AuthFailedText;

BeginningSearchText Source code

var localized string BeginningSearchText;

bPendingSearch Source code

var bool bPendingSearch;

b_lClose Source code

var automated GUIButton b_lClose;

b_QuickConnect Source code

var automated GUIButton b_QuickConnect;

CancelHint Source code

var localized string CancelHint;

CancelText Source code

var localized string CancelText;

ConnectHint Source code

var localized string ConnectHint;

ConnectionFailedText Source code

var localized string ConnectionFailedText;

ConnectText Source code

var localized string ConnectText;

co_Difficulty Source code

var automated moComboBox co_Difficulty;

co_Game Source code

var automated moComboBox co_Game;

DifficultyOptions Source code

var localized array<string> DifficultyOptions;

i_Border Source code

var automated GUIImage i_Border;

l_ServerCount Source code

var automated GUILabel l_ServerCount;

l_Status Source code

var automated GUILabel l_Status;

MaxWaitSeconds Source code

var config int MaxWaitSeconds;

MSC Source code

var MasterServerClient MSC;

NoServersReceivedText Source code

var localized string NoServersReceivedText;

NoValidText Source code

var localized string NoValidText;

PingQueue Source code

var array<int> PingQueue;

PlayText Source code

var localized string PlayText;

QuickConnectSeconds Source code

var int QuickConnectSeconds;

ReadyText Source code

var localized string ReadyText;

SearchCancelledText Source code

var localized string SearchCancelledText;

SearchingText Source code

var localized string SearchingText;

ServerCountText Source code

var localized string ServerCountText;

Servers Source code

var array<GameInfo.ServerResponseLine> Servers;

ThreadCount Source code

var int ThreadCount;

TimedOutText Source code

var localized string TimedOutText;


Delegates Detail

OnCloseConnection Source code

delegate OnCloseConnection ( )

OnOpenConnection Source code

delegate OnOpenConnection ( )


Functions Detail

AddQueryTerm Source code

function AddQueryTerm ( coerce string Key, coerce string Value, MasterServerClient.EQueryType QueryType) )

AddServerToPingQueue Source code

function AddServerToPingQueue ( int ServerIndex) )

CancelQuickPlay Source code

function CancelQuickPlay ( ) )

ChangeQuickPlayStatus Source code

function ChangeQuickPlayStatus ( bool bIsSearching) )

Closed Source code

event Closed ( GUIComponent Sender, bool bCancelled) )

CloseMSConnection Source code

function CloseMSConnection ( ) )

CreateQuickPlayQuery Source code

function CreateQuickPlayQuery ( string GameType, int Index ) )

Free Source code

event Free ( ) )

HandleObject Source code

function HandleObject ( Object Obj, optional Object OptionalObj_1, optional Object OptionalObj_2 ) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyComponent) )

InternalOnClick Source code

function bool InternalOnClick ( GUIComponent Sender) )

NotifyLevelChange Source code

function bool NotifyLevelChange ( ) )

Opened Source code

event Opened ( GUIComponent Sender) )

PingingComplete Source code

function PingingComplete ( ) )

PingServer Source code

function PingServer ( int QueueIndex) )

QueryComplete Source code

function QueryComplete ( MasterServerClient.EResponseInfo ResponseInfo, int Info ) )

QuickConnectPending Source code

function bool QuickConnectPending ( ) )

ReceivedNewServer Source code

function ReceivedNewServer ( GameInfo.ServerResponseLine NewServer ) )

ReceivedPingInfo Source code

function ReceivedPingInfo ( int ServerIndex, ServerQueryClient.EPingCause PingCause, GameInfo.ServerResponseLine ServerInfo ) )

ReceivedPingTimeout Source code

function ReceivedPingTimeout ( int ServerIndex, ServerQueryClient.EPingCause PingCause ) )

ResetQueryClient Source code

function ResetQueryClient ( ServerQueryClient Client) )

SetStatusCaption Source code

function SetStatusCaption ( string StatusMessage) )

StatusTimer Source code

function StatusTimer ( GUIComponent Sender) )

Timer Source code

event Timer ( ) )

UpdateQueue Source code

function UpdateQueue ( ) )

UpdateServerCount Source code

function UpdateServerCount ( ) )


Defaultproperties

defaultproperties
{
	WinWidth=1.000000
	WinHeight=0.370059
	WinLeft=0.000000
	WinTop=0.250000


	Begin Object Class=GUILabel Name=ConnectionStatus
		WinWidth=0.849415
		WinHeight=0.411678
		WinLeft=0.073594
		WinTop=0.323438
		TextAlign=TXTA_Center
		FontScale=FNS_Medium
		bBoundToParent=True
		bScaleToParent=True
		RenderWeight=0.1
		OnTimer=StatusTimer
		StyleName="TextLabel"
	End Object


	Begin Object Class=GUILabel Name=ServerCount
		WinWidth=0.761916
		WinHeight=0.130428
		WinLeft=0.120469
		WinTop=0.604924
		TextAlign=TXTA_Center
		FontScale=FNS_Small
		StyleName="TextLabel"
		bBoundToParent=True
		bScaleToParent=True
		RenderWeight=0.1
	End Object


	Begin Object Class=moComboBox Name=GameType
		WinWidth=0.488417
		WinHeight=0.087720
		WinLeft=0.059751
		WinTop=0.204219
		Caption="Game Type"
		Hint="Select the game type you would like to play."
		CaptionWidth=0.3
		ComponentWidth=-1
		TabOrder=0
		bAutoSizeCaption=True
		bReadOnly=True
		bBoundToParent=True
		bScaleToParent=True
		bStandardized=true
	End Object


	Begin Object Class=moComboBox Name=DifficultyLevel
		WinWidth=0.367167
		WinHeight=0.087720
		WinLeft=0.571664
		WinTop=0.200564
		Caption="Difficulty"
		Hint="Select the desired game difficulty level to search for.  If you are new to UT2004, it is recommended that you choose the \"Beginner\" setting."
		CaptionWidth=0.3
		ComponentWidth=-1
		TabOrder=1
		bAutoSizeCaption=True
		bReadOnly=True
		bBoundToParent=True
		bScaleToParent=True
		bStandardized=true
	End Object


	ConnectText="SEARCH"
	ConnectHint="Once you've selected a gametype and difficulty level, click \"Search\" to begin searching for a server in the category that has the lowest ping"
	CancelText="CANCEL"
	CancelHint="Cancel the current \"Quick Join\" search"


	Begin Object Class=GUIButton Name=QuickPlaySearch
		WinWidth=0.120347
		WinHeight=0.109137
		WinLeft=0.307992
		WinTop=0.767551
		TabOrder=2
		OnClick=InternalOnClick
		bScaleToParent=True
		bBoundToParent=True

		bStandardized=true
	End Object



	Begin Object Class=GUIButton Name=QuickPlayClose
		Caption="CLOSE"
		WinWidth=0.125690
		WinHeight=0.109137
		WinLeft=0.600883
		WinTop=0.767551
		TabOrder=4
		Hint="Close this window"
		OnClick=InternalOnClick
		bScaleToParent=True
		bBoundToParent=True
		bStandardized=true
	End Object


    Begin Object class=GUIImage name=IBorder
		WinWidth=0.878815
		WinHeight=0.460699
		WinLeft=0.060258
		WinTop=0.300283
		RenderWeight=0.001
		ImageStyle=ISTY_Stretched
		Image=material'2K4Menus.NewControls.Display99'
		bScaleToParent=True
		bBoundToParent=True
	End Object
	I_Border=iBorder


	MaxWaitSeconds=20
	b_QuickConnect=QuickPlaySearch
	b_lClose=QuickPlayClose
	co_Difficulty=DifficultyLevel
	co_Game=GameType
	l_ServerCount=ServerCount
	l_Status=ConnectionStatus


	DifficultyOptions(0)="Beginner"
	DifficultyOptions(1)="Experienced"
	DifficultyOptions(2)="Expert"


	bCaptureInput=True


	SearchingText="SEARCHING..."


	ReadyText="Ready"
	BeginningSearchText="Please wait...requesting servers for gametype:"
	AuthFailedText="Authentication failed!  Please try again later..."
	ConnectionFailedText="Connection failed - unable to contact the master server.  Please check your network connection and try again!"
	TimedOutText="Master server took too long to respond to query.  Please try again later."
	SearchCancelledText="Search cancelled!"
	NoServersReceivedText="Sorry, no valid servers found for this gametype!"
	NoValidText="Unknown error encountered while pinging servers! Please retry query..."
	ServerCountText="Received/Total - %NumReceived%/%TotalServers%"
	WindowName="Quick Play"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Do 14.8.2014 09:58:27.202 - Created with UnCodeX