I'm a doctor, not a mechanic

UE2:UT2K4Browser_MOTD (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIPanel >> GUITabPanel >> UT2K4TabPanel >> UT2K4Browser_Page >> UT2K4Browser_MOTD
Package: 
GUI2K4

Online message of the day page.

Written by Joe Wilcox Updated by Ron Prestenback (c) 2003, Epic Games, Inc. All Rights Reserved

Properties

Property group 'UT2K4Browser_MOTD'

RetryMax

Type: int

Modifiers: config


Default value: 10

Internal variables

b_QuickConnect

Type: GUIButton

Modifiers: automated


Default value: GUIButton'QuickPlay'

bOptionalUpgrade

Type: bool


bUpgrade

Type: bool


ConnectFailed

Type: string

Modifiers: localized


Default value: "The UT2004 master server could not be reached. Please try again later."

ConnectTimeout

Type: string

Modifiers: localized


Default value: "Your connection to the UT2004 master server has timed out"

GotMOTD

Type: bool


l_Version

Type: GUILabel

Modifiers: automated


Default value: GUILabel'VersionNum'

lb_MOTD

Type: GUIScrollTextBox

Modifiers: automated


Default value: GUIScrollTextBox'MyMOTDText'

MOTD

Type: string


MOTDHeader

Type: string

Modifiers: localized


QuickConnectMenu

Type: string

Modifiers: config


Default value: "GUI2K4.UT2K4QuickPlay"

ReReadyPause

Type: float


Default value: 3.0

RetryCount

Type: int


UpgradeCaption

Type: string

Modifiers: localized


Default value: "UPGRADE"

VersionString

Type: string

Modifiers: localized


Default value: "Version"

Default values

Property Value
PanelCaption "News from Epic"

Subobjects

MyMOTDText

Class: XInterface.GUIScrollTextBox

Property Value
bAcceptsInput True
bNeverFocus True
bNoTeletype True
bVisibleWhenEmpty True
CharDelay 0.05
EOLDelay 0.1
RenderWeight 0.6
StyleName "ListBox"
TabOrder 1
TextAlign TXTA_Left
WinHeight 0.833203
WinLeft 0.0
WinTop 0.002679
WinWidth 1.0

QuickPlay

Class: XInterface.GUIButton

Property Value
bAutoSize True
Caption "QUICK PLAY"
Hint "Open a dialog that can help you easily find the best online server based on your criteria"
OnClick InternalOnClick
TabOrder 2
WinHeight 0.079063
WinLeft 0.42518
WinTop 0.866146
WinWidth 0.161994

VersionNum

Class: XInterface.GUILabel

Property Value
bBoundToParent False
bScaleToParent False
bTransparent True
Caption ""
RenderWeight 20.7
StyleName "TextLabel"
TextAlign TXTA_Right
WinHeight 0.04
WinLeft 0.7935
WinTop -0.043415
WinWidth 0.202128

Functions

Events

InitComponent

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: UT2K4Browser_Page.InitComponent


Opened

event Opened (GUIComponent Sender)

Overrides: UT2K4Browser_Page.Opened


Timer

event Timer ()

Overrides: GUIComponent.Timer


Other instance functions

BindQueryClient

function BindQueryClient (ServerQueryClient Client)

Overrides: UT2K4Browser_Page.BindQueryClient


InternalOnClick

function bool InternalOnClick (GUIComponent Sender)


IsJoinAvailable

function bool IsJoinAvailable (out string ButtonCaption)

Overrides: UT2K4Browser_Page.IsJoinAvailable


IsRefreshAvailable

function bool IsRefreshAvailable (out string ButtonCaption)

Overrides: UT2K4Browser_Page.IsRefreshAvailable


IsSpectateAvailable

function bool IsSpectateAvailable (out string ButtonCaption)

Overrides: UT2K4Browser_Page.IsSpectateAvailable


JoinClicked

function JoinClicked ()

Overrides: UT2K4Browser_Page.JoinClicked


LaunchURL

function bool LaunchURL (GUIComponent Sender)


OpenStatusMessage

function OpenStatusMessage (string Code, optional string data)


QueryComplete

function QueryComplete (MasterServerClient.EResponseInfo ResponseInfo, int Info)

Overrides: UT2K4Browser_Page.QueryComplete


ReceivedMOTD

function ReceivedMOTD (MasterServerClient.EMOTDResponse Command, string Data)


Refresh

function Refresh ()

Overrides: GUITabPanel.Refresh


ResetQueryClient

function ResetQueryClient (ServerQueryClient Client)

Overrides: UT2K4Browser_Page.ResetQueryClient


ShowPanel

function ShowPanel (bool bShow)

Overrides: UT2K4Browser_Page.ShowPanel