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

GUI2K4.UT2K4ServerBrowser

Extends
UT2K4MainPage
Modifiers
config

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPage
            |   
            +-- XInterface.UT2K4GUIPage
               |   
               +-- GUI2K4.UT2K4MainPage
                  |   
                  +-- GUI2K4.UT2K4ServerBrowser

Variables Summary
boolbHideNetworkMessage
boolbPlayerVerified
moComboBoxco_GameType
PlayInfoFilterInfo
BrowserFiltersFilterMaster
UT2K4Browser_Footerf_Browser
stringInternetOptionsText
stringInternetSettingsPage
MasterServerClientMSC
stringOfficialSubnets[2]
array<CacheManager.GameRecord>Records
intThreadCount
UT2K4Browser_Pagetp_Active
boolVerified
UT2K4ServerBrowser
boolbStandardServersOnly
stringCurrentGameType
array<eServerCacheInfo>ServerCache
Inherited Variables from GUI2K4.UT2K4MainPage
c_Tabs, HighScoreFile, i_Background, i_bkChar, i_bkScan, PanelCaption, PanelClass, PanelHint, TotalUnlockedCharacters, t_Footer, t_Header
Inherited Variables from XInterface.UT2K4GUIPage
BeepSound, FadeInSound, PopInSound, SlideInSound

Structures Summary
eServerCacheInfo
GameType, SubnetIndex, SRL

Delegates Summary
delegate OnAddFavorite (GameInfo.ServerResponseLine Server)

Functions Summary
functionUT2K4Browser_Page AddTab (string TabCaption, string PanelClassName, string TabHint)
function AddToServerCache (GameInfo.ServerResponseLine Entry)
function BrowserOpened ()
functionint CalculateMaxConnections ()
function CheckPlayerOptions ()
function ClearServerCache ()
event Closed (GUIComponent Sender, bool bCancelled)
functionbool ComboOnPreDraw (Canvas Canvas)
function ConnectionClosed (optional int Num)
function ConnectionOpened (optional int Num)
function CreateTabs ()
function DisableMSTabs ()
function EnableMSTabs ()
function FilterClicked ()
functionstring FixString (string s)
functionstring GetDesc (string Desc)
function GetFromServerCache (UT2K4Browser_ServersList List)
functionint GetMaxConnections (optional bool bCurrentlyAvailable)
function InitComponent (GUIController MyController, GUIComponent MyOwner)
function InitializeGameTypeCombo (optional bool ClearFirst)
function InternalOnChange (GUIComponent Sender)
function InternalOnLoadIni (GUIComponent Sender, string s)
function InternetOptionsClosed (bool bCancelled)
functionbool InternetOptionsConfirm (byte ButtonMask)
function JoinClicked ()
function MOTDVerified (bool bMSVerified)
eventbool NotifyLevelChange ()
event Opened (GUIComponent Sender)
function PopulateGameTypes ()
function Refresh ()
function RefreshClicked ()
function RefreshFooter (optional UT2K4Browser_Page NewActive, optional string bPerButtonSizes)
function SetFilterInfo (optional string NewGameType)
function SetStandardServersOption (bool bOnlyStandard)
function SpectateClicked ()
function StandardOptionChanged (GUIComponent Sender)
functionMasterServerClient Uplink ()
Inherited Functions from GUI2K4.UT2K4MainPage
GetRestoreParams, HandleParameters, InitComponent, InternalOnChange, IsUnlocked, UnlockCharacter


Variables Detail

bHideNetworkMessage Source code

var bool bHideNetworkMessage;

bPlayerVerified Source code

var config bool bPlayerVerified;

co_GameType Source code

var automated moComboBox co_GameType;

FilterInfo Source code

var PlayInfo FilterInfo;

FilterMaster Source code

var BrowserFilters FilterMaster;

f_Browser Source code

var UT2K4Browser_Footer f_Browser;

InternetOptionsText Source code

var localized string InternetOptionsText;

InternetSettingsPage Source code

var string InternetSettingsPage;

MSC Source code

var private MasterServerClient MSC;

OfficialSubnets[2] Source code

var string OfficialSubnets[2];

Records Source code

var array<CacheManager.GameRecord> Records;

ThreadCount Source code

var int ThreadCount;

tp_Active Source code

var UT2K4Browser_Page tp_Active;

Verified Source code

var transient bool Verified;

UT2K4ServerBrowser

bStandardServersOnly Source code

var(UT2K4ServerBrowser) globalconfig bool bStandardServersOnly;

CurrentGameType Source code

var(UT2K4ServerBrowser) config string CurrentGameType;

ServerCache Source code

var(UT2K4ServerBrowser) globalconfig array<eServerCacheInfo> ServerCache;


Structures Detail

eServerCacheInfo Source code

struct eServerCacheInfo
{
var string GameType;
var GameInfo.ServerResponseLine SRL;
var int SubnetIndex;
};



Delegates Detail

OnAddFavorite Source code

delegate OnAddFavorite ( GameInfo.ServerResponseLine Server )


Functions Detail

AddTab Source code

function UT2K4Browser_Page AddTab ( string TabCaption, string PanelClassName, string TabHint )

AddToServerCache Source code

function AddToServerCache ( GameInfo.ServerResponseLine Entry )

BrowserOpened Source code

function BrowserOpened ( )

CalculateMaxConnections Source code

static function int CalculateMaxConnections ( )

CheckPlayerOptions Source code

function CheckPlayerOptions ( )

ClearServerCache Source code

function ClearServerCache ( )

Closed Source code

event Closed ( GUIComponent Sender, bool bCancelled )

ComboOnPreDraw Source code

function bool ComboOnPreDraw ( Canvas Canvas )

ConnectionClosed Source code

function ConnectionClosed ( optional int Num )

ConnectionOpened Source code

function ConnectionOpened ( optional int Num )

CreateTabs Source code

function CreateTabs ( )

DisableMSTabs Source code

function DisableMSTabs ( )

EnableMSTabs Source code

function EnableMSTabs ( )

FilterClicked Source code

function FilterClicked ( )

FixString Source code

function string FixString ( string s )

GetDesc Source code

function string GetDesc ( string Desc )

GetFromServerCache Source code

function GetFromServerCache ( UT2K4Browser_ServersList List )

GetMaxConnections Source code

function int GetMaxConnections ( optional bool bCurrentlyAvailable )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner )

InitializeGameTypeCombo Source code

function InitializeGameTypeCombo ( optional bool ClearFirst )

InternalOnChange Source code

function InternalOnChange ( GUIComponent Sender )

InternalOnLoadIni Source code

function InternalOnLoadIni ( GUIComponent Sender, string s )

InternetOptionsClosed Source code

function InternetOptionsClosed ( bool bCancelled )

InternetOptionsConfirm Source code

function bool InternetOptionsConfirm ( byte ButtonMask )

JoinClicked Source code

function JoinClicked ( )

MOTDVerified Source code

function MOTDVerified ( bool bMSVerified )

NotifyLevelChange Source code

event bool NotifyLevelChange ( )

Opened Source code

event Opened ( GUIComponent Sender )

PopulateGameTypes Source code

function PopulateGameTypes ( )

Refresh Source code

function Refresh ( )

RefreshClicked Source code

function RefreshClicked ( )

RefreshFooter Source code

function RefreshFooter ( optional UT2K4Browser_Page NewActive, optional string bPerButtonSizes )

SetFilterInfo Source code

function SetFilterInfo ( optional string NewGameType )

SetStandardServersOption Source code

function SetStandardServersOption ( bool bOnlyStandard )

SpectateClicked Source code

function SpectateClicked ( )

StandardOptionChanged Source code

function StandardOptionChanged ( GUIComponent Sender )

Uplink Source code

function MasterServerClient Uplink ( )


Defaultproperties

defaultproperties
{
     bStandardServersOnly=True
     CurrentGameType="Onslaught.ONSOnslaughtGame"
     InternetSettingsPage="GUI2K4.UT2K4InternetSettingsPage"
     Begin Object Class=moComboBox Name=GameTypeCombo
         bReadOnly=True
         CaptionWidth=0.100000
         Caption="Game Type"
         OnCreateComponent=GameTypeCombo.InternalOnCreateComponent
         IniOption="@INTERNAL"
         Hint="Choose the gametype to query"
         WinTop=0.050160
         WinLeft=0.638878
         WinWidth=0.358680
         WinHeight=0.035000
         RenderWeight=1.000000
         TabOrder=0
         OnPreDraw=UT2k4ServerBrowser.ComboOnPreDraw
         OnLoadINI=UT2k4ServerBrowser.InternalOnLoadINI
     End Object
     co_GameType=moComboBox'GUI2K4.UT2k4ServerBrowser.GameTypeCombo'

     InternetOptionsText="You have not fully configured your internet play options.  It is recommended that you configure a unique player name and review your netspeed setting before joining a multiplayer game.|Would you like to do this now?"
     OfficialSubnets(0)="69.25.22."
     OfficialSubnets(1)="64.74.139."
     Begin Object Class=GUIHeader Name=ServerBrowserHeader
         bUseTextHeight=True
         Caption="Server Browser"
     End Object
     t_Header=GUIHeader'GUI2K4.UT2k4ServerBrowser.ServerBrowserHeader'

     Begin Object Class=UT2k4Browser_Footer Name=FooterPanel
         WinTop=0.917943
         TabOrder=4
         OnPreDraw=FooterPanel.InternalOnPreDraw
     End Object
     t_Footer=UT2k4Browser_Footer'GUI2K4.UT2k4ServerBrowser.FooterPanel'

     PanelClass(0)="GUI2K4.UT2K4Browser_MOTD"
     PanelClass(1)="GUI2K4.UT2K4Browser_IRC"
     PanelClass(2)="GUI2K4.UT2K4Browser_ServerListPageFavorites"
     PanelClass(3)="GUI2K4.UT2K4Browser_ServerListPageLAN"
     PanelClass(4)="GUI2K4.UT2K4Browser_ServerListPageBuddy"
     PanelClass(5)="GUI2K4.UT2K4Browser_ServerListPageInternet"
     PanelCaption(0)="News"
     PanelCaption(1)="Chat"
     PanelCaption(2)="Favorites"
     PanelCaption(3)="LAN"
     PanelCaption(4)="Buddies"
     PanelCaption(5)="Internet"
     PanelHint(0)="Get the latest news from Epic"
     PanelHint(1)="UT2004 integrated IRC client"
     PanelHint(2)="Choose a server to join from among your favorites"
     PanelHint(3)="View all UT2004 servers currently running on your LAN"
     PanelHint(4)="See where your buddies are currently playing, or join them in the game"
     PanelHint(5)="Choose from hundreds of UT2004 servers across the world"
     bCheckResolution=True
     OnOpen=UT2k4ServerBrowser.BrowserOpened
     bDrawFocusedLast=False
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Wed 7/2/2007 19:16:23.093 - Created with UnCodeX