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
{
     Begin Object Class=GUIImage Name=IBorder
         Image=Texture'2K4Menus.NewControls.Display99'
         ImageStyle=ISTY_Stretched
         WinTop=0.300283
         WinLeft=0.060258
         WinWidth=0.878815
         WinHeight=0.460699
         RenderWeight=0.001000
         bBoundToParent=True
         bScaleToParent=True
     End Object
     i_Border=GUIImage'GUI2K4.UT2K4QuickPlay.IBorder'


     Begin Object Class=GUILabel Name=ConnectionStatus
         TextAlign=TXTA_Center
         StyleName="TextLabel"
         WinTop=0.323438
         WinLeft=0.073594
         WinWidth=0.849415
         WinHeight=0.411678
         RenderWeight=0.100000
         bBoundToParent=True
         bScaleToParent=True
         OnTimer=UT2K4QuickPlay.StatusTimer
     End Object
     l_Status=GUILabel'GUI2K4.UT2K4QuickPlay.ConnectionStatus'


     Begin Object Class=GUILabel Name=ServerCount
         TextAlign=TXTA_Center
         FontScale=FNS_Small
         StyleName="TextLabel"
         WinTop=0.604924
         WinLeft=0.120469
         WinWidth=0.761916
         WinHeight=0.130428
         RenderWeight=0.100000
         bBoundToParent=True
         bScaleToParent=True
     End Object
     l_ServerCount=GUILabel'GUI2K4.UT2K4QuickPlay.ServerCount'


     Begin Object Class=moComboBox Name=GameType
         bReadOnly=True
         CaptionWidth=0.300000
         Caption="Game Type"
         OnCreateComponent=GameType.InternalOnCreateComponent
         Hint="Select the game type you would like to play."
         WinTop=0.204219
         WinLeft=0.059751
         WinWidth=0.488417
         WinHeight=0.087720
         TabOrder=0
         bBoundToParent=True
         bScaleToParent=True
     End Object
     co_Game=moComboBox'GUI2K4.UT2K4QuickPlay.GameType'


     Begin Object Class=moComboBox Name=DifficultyLevel
         bReadOnly=True
         CaptionWidth=0.300000
         Caption="Difficulty"
         OnCreateComponent=DifficultyLevel.InternalOnCreateComponent
         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."
         WinTop=0.200564
         WinLeft=0.571664
         WinWidth=0.367167
         WinHeight=0.087720
         TabOrder=1
         bBoundToParent=True
         bScaleToParent=True
     End Object
     co_Difficulty=moComboBox'GUI2K4.UT2K4QuickPlay.DifficultyLevel'


     Begin Object Class=GUIButton Name=QuickPlaySearch
         WinTop=0.767551
         WinLeft=0.307992
         WinWidth=0.120347
         WinHeight=0.109137
         TabOrder=2
         bBoundToParent=True
         bScaleToParent=True
         bStandardized=True
         OnClick=UT2K4QuickPlay.InternalOnClick
         OnKeyEvent=QuickPlaySearch.InternalOnKeyEvent
     End Object
     b_QuickConnect=GUIButton'GUI2K4.UT2K4QuickPlay.QuickPlaySearch'


     Begin Object Class=GUIButton Name=QuickPlayClose
         Caption="CLOSE"
         Hint="Close this window"
         WinTop=0.767551
         WinLeft=0.600883
         WinWidth=0.125690
         WinHeight=0.109137
         TabOrder=4
         bBoundToParent=True
         bScaleToParent=True
         bStandardized=True
         OnClick=UT2K4QuickPlay.InternalOnClick
         OnKeyEvent=QuickPlayClose.InternalOnKeyEvent
     End Object
     b_lClose=GUIButton'GUI2K4.UT2K4QuickPlay.QuickPlayClose'


     DifficultyOptions(0)="Beginner"
     DifficultyOptions(1)="Experienced"
     DifficultyOptions(2)="Expert"
     MaxWaitSeconds=20
     SearchingText="SEARCHING..."
     ReadyText="Ready"
     ConnectText="SEARCH"
     CancelText="CANCEL"
     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"
     CancelHint="Cancel the current "Quick Join" search"
     BeginningSearchText="Please wait...requesting servers for gametype:"
     AuthFailedText="Authentication failed!  Please try again later..."
     ServerCountText="Received/Total - %NumReceived%/%TotalServers%"
     SearchCancelledText="Search cancelled!"
     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."
     NoServersReceivedText="Sorry, no valid servers found for this gametype!"
     NoValidText="Unknown error encountered while pinging servers! Please retry query..."
     WindowName="Quick Play"
     WinTop=0.250000
     WinLeft=0.000000
     WinWidth=1.000000
     WinHeight=0.370059
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 09:49:56.934 - Created with UnCodeX