GUI2K4.UT2K4QuickPlay
- Extends
- LargeWindow
Core.Object
|
+-- XInterface.GUI
|
+-- XInterface.GUIComponent
|
+-- XInterface.GUIMultiComponent
|
+-- XInterface.GUIPage
|
+-- XInterface.UT2K4GUIPage
|
+-- GUI2K4.PopupPageBase
|
+-- GUI2K4.FloatingWindow
|
+-- GUI2K4.LargeWindow
|
+-- GUI2K4.UT2K4QuickPlay
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 |
Functions Summary |
| | AddQueryTerm (coerce string Key, coerce string Value, MasterServerClient.EQueryType QueryType)
|
| | AddServerToPingQueue (int ServerIndex)
|
| | CancelQuickPlay ()
|
| | ChangeQuickPlayStatus (bool bIsSearching)
|
| | Closed (GUIComponent Sender, bool bCancelled)
|
| | CloseMSConnection ()
|
| | CreateQuickPlayQuery (string GameType, int Index)
|
| | Free ()
|
| | HandleObject (Object Obj, optional Object OptionalObj_1, optional Object OptionalObj_2)
|
| | InitComponent (GUIController MyController, GUIComponent MyComponent)
|
| bool | InternalOnClick (GUIComponent Sender)
|
| bool | NotifyLevelChange ()
|
| | Opened (GUIComponent Sender)
|
| | PingingComplete ()
|
| | PingServer (int QueueIndex)
|
| | QueryComplete (MasterServerClient.EResponseInfo ResponseInfo, int Info)
|
| bool | QuickConnectPending ()
|
| | ReceivedNewServer (GameInfo.ServerResponseLine NewServer)
|
| | ReceivedPingInfo (int ServerIndex, ServerQueryClient.EPingCause PingCause, GameInfo.ServerResponseLine ServerInfo)
|
| | ReceivedPingTimeout (int ServerIndex, ServerQueryClient.EPingCause PingCause)
|
| | ResetQueryClient (ServerQueryClient Client)
|
| | SetStatusCaption (string StatusMessage)
|
| | StatusTimer (GUIComponent Sender)
|
| | Timer ()
|
| | UpdateQueue ()
|
| | 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 |
var localized string AuthFailedText;
var localized string BeginningSearchText;
var bool bPendingSearch;
var localized string CancelHint;
var localized string CancelText;
var localized string ConnectHint;
var localized string ConnectionFailedText;
var localized string ConnectText;
var localized array<string> DifficultyOptions;
var config int MaxWaitSeconds;
var localized string NoServersReceivedText;
var localized string NoValidText;
var array<int> PingQueue;
var localized string PlayText;
var int QuickConnectSeconds;
var localized string ReadyText;
var localized string SearchCancelledText;
var localized string SearchingText;
var localized string ServerCountText;
var int ThreadCount;
var localized string TimedOutText;
delegate OnCloseConnection ( )
delegate OnOpenConnection ( )
function AddServerToPingQueue ( int ServerIndex )
function CancelQuickPlay ( )
function ChangeQuickPlayStatus ( bool bIsSearching )
function CloseMSConnection ( )
function CreateQuickPlayQuery ( string GameType, int Index )
event Free ( )
function HandleObject (
Object Obj,
optional Object OptionalObj_1,
optional Object OptionalObj_2 )
function bool NotifyLevelChange ( )
function PingingComplete ( )
function PingServer ( int QueueIndex )
function bool QuickConnectPending ( )
function SetStatusCaption ( string StatusMessage )
event Timer ( )
function UpdateQueue ( )
function UpdateServerCount ( )
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
}
|
Creation time: Wed 7/2/2007 19:16:23.046 - Created with
UnCodeX