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
{
    OnOpen=BrowserOpened
    InternetSettingsPage="GUI2K4.UT2K4InternetSettingsPage"


    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"


    Begin Object Class=UT2K4Browser_Footer Name=FooterPanel
        WinWidth=1.000000
        WinLeft=0.000000
        WinTop=0.917943
        TabOrder=4
    End Object


    Begin Object class=GUIHeader name=ServerBrowserHeader
        Caption="Server Browser"
        bUseTextHeight=True
        Justification=TXTA_Center
    End Object


    Begin Object class=moComboBox name=GameTypeCombo
        Caption="Game Type"
        Hint="Choose the gametype to query"
		WinWidth=0.358680
		WinHeight=0.035000
		WinLeft=0.638878
		WinTop=0.050160
        CaptionWidth=0.1
        RenderWeight=1
        bTabStop=True
        bReadOnly=True
        TabOrder=0
        ComponentJustification=TXTA_Right
        OnLoadIni=InternalOnLoadIni
        IniOption="@INTERNAL"
        LabelStyleName="TextLabel"
        OnPreDraw=ComboOnPreDraw
    End Object


	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?"
    t_Header=ServerBrowserHeader
    t_Footer=FooterPanel
    co_GameType=GameTypeCombo


    WinWidth=1.0
    WinHeight=1.0
    WinTop=0.0
    WinLeft=0.0
    bCheckResolution=true
    CurrentGameType="Onslaught.ONSOnslaughtGame"
    bDrawFocusedLast=False
    bStandardServersOnly=True


    OfficialSubnets(0)="69.25.22.";
    OfficialSubnets(1)="64.74.139.";
}

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