Mostly Harmless

UE2:UT2K4Tab_MainBase (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIPanel >> GUITabPanel >> UT2K4TabPanel >> UT2K4GameTabBase >> UT2K4Tab_MainBase
Package: 
GUI2K4
Direct subclasses:
UT2K4Tab_MainMP, UT2K4Tab_MainSP

Created on: 12/11/2003 Base class for main maplist tab in Host Multiplayer / Instant Action areas

Written by Ron Prestenback © 2003, Epic Games, Inc. All Rights Reserved

Properties

Property group 'UT2K4Tab_MainBase'

AuthorText

Type: string

Modifiers: localized


Default value: "Author"

AutoSelectText

Type: string

Modifiers: localized


Default value: "Random"

bOnlyShowCustom

Type: bool

Modifiers: globalconfig


bOnlyShowOfficial

Type: bool

Modifiers: globalconfig


ClearText

Type: string

Modifiers: localized


Default value: "Show All Maps"

DefaultText

Type: string

Modifiers: localized


Default value: "Default"

FilterText

Type: string

Modifiers: localized


Default value: "Only Official Maps"

LinkText

Type: string

Modifiers: localized


Default value: "Link Setup"

Maps

Type: array<MaplistRecord.MapItem>


MessageNoInfo

Type: string

Modifiers: localized


Default value: "No information available!"

PlayerText

Type: string

Modifiers: localized


Default value: "players"

Internal variables

b_Primary

Type: GUIButton


b_Secondary

Type: GUIButton


CacheMaps

Type: array<CacheManager.MapRecord>


ch_OfficialMapsOnly

Type: moCheckBox

Modifiers: automated


Default value: moCheckBox'FilterCheck'

CurrentGameType

Type: CacheManager.GameRecord


MapHandler

Type: MaplistManager


MaplistEditorMenu

Type: string

Modifiers: globalconfig


Default value: "GUI2K4.MaplistEditor"

TutorialMaps

Type: array<string>


Default values

Property Value
WinHeight 0.77
WinTop 0.15

Subobjects

FilterCheck

Class: XInterface.moCheckBox

Property Value
bAutoSizeCaption True
bSquare True
Caption "Only Official Maps"
CaptionWidth 0.1
ComponentWidth 0.9
Hint "Hides all maps not created by Epic or Digital Extremes."
OnChange ChangeMapFilter
TabOrder 1
WinHeight 0.030035
WinLeft 0.039258
WinTop 0.949531
WinWidth 0.341797

Functions

Events

InitComponent

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: UT2K4GameTabBase.InitComponent


Other instance functions

ChangeMapFilter

function ChangeMapFilter (GUIComponent Sender)


GetGameClass

function string GetGameClass ()


GetIsTeamGame

function bool GetIsTeamGame ()


GetMapListClass

function string GetMapListClass ()


GetMapName

function string GetMapName (GUITreeList List, int Index)


GetMapPrefix

function string GetMapPrefix ()


GetMapURL

function string GetMapURL (GUITreeList List, int Index)


GetRulesClass

function string GetRulesClass ()


HandleContextOpen

function HandleContextOpen (GUIComponent Sender, GUIContextMenu Menu, GUIComponent ContextMenuOwner)


InitGameType

function InitGameType ()


InitMapHandler

function InitMapHandler ()


InitMaps

function InitMaps (optional string MapPrefix)