UE2:UT2K4Tab_GameTypeBase (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
(Redirected from UE2:SortHack (UT2004))
Jump to navigation Jump to search
UT2004 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIPanel >> GUITabPanel >> UT2K4TabPanel >> UT2K4GameTabBase >> UT2K4Tab_GameTypeBase
Package: 
GUI2K4

Created on: 12/11/2003 Base class for GameType tab of the Instant Action & Host Multiplayer pages

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

Properties

CustomGameCaption

Type: string

Modifiers: localized


Default value: "Custom Game Type"

EpicGameCaption

Type: string

Modifiers: localized


Default value: "Default Game Types"

GamePos

Type: array<SortHack>


Default value, index 0:

Member Value
GameClass "UT2K4Assault.ASGameInfo"
Weight 0

Default value, index 1:

Member Value
GameClass "Onslaught.ONSOnslaughtGame"
Weight 1

Default value, index 10:

Member Value
GameClass "xGame.xVehicleCTFGame"
Weight 10

Default value, index 11:

Member Value
GameClass "xGame.InstagibCTF"
Weight 11

Default value, index 12:

Member Value
GameClass "xGame.xDeathMatch"
Weight 2

Default value, index 13:

Member Value
GameClass "xGame.xCTFGame"
Weight 3

Default value, index 14:

Member Value
GameClass "xGame.xTeamGame"
Weight 4

Default value, index 15:

Member Value
GameClass "xGame.xDoubleDom"
Weight 5

Default value, index 16:

Member Value
GameClass "xGame.xBombingRun"
Weight 6

Default value, index 17:

Member Value
GameClass "BonusPack.xMutantGame"
Weight 7

Default value, index 18:

Member Value
GameClass "SkaarjPack.Invasion"
Weight 8

Default value, index 19:

Member Value
GameClass "BonusPack.xLastManStandingGame"
Weight 9

GameTypes

Type: array<CacheManager.GameRecord>


i_Bk

Type: AltSectionBackground

Modifiers: automated


Default value: AltSectionBackground'Bk1'

i_GamePreview

Type: GUIImage

Modifiers: automated


Default value: GUIImage'GameTypePreview'

l_NoPreview

Type: GUILabel

Modifiers: automated


Default value: GUILabel'NoPreview'

lb_GameDesc

Type: GUIScrollTextBox

Modifiers: automated


Default value: GUIScrollTextBox'GameTypeDescription'

lb_Games

Type: GUIListBox

Modifiers: automated


Default value: GUIListBox'UT2004Games'

li_Games

Type: GUIList


sb_Games

Type: GUISectionBackground

Modifiers: automated


Default value: GUISectionBackground'GameTypeLeftGroup'

sb_Preview

Type: GUISectionBackground

Modifiers: automated


Default value: GUISectionBackground'GameTypeRightGroup'

tp_Main

Type: UT2K4Tab_MainBase


Subobjects

Bk1

Class: GUI2K4.AltSectionBackground

Property Value
RenderWeight 0.3
WinHeight 0.474455
WinLeft 0.535622
WinTop 0.478553
WinWidth 0.41903

GameTypeDescription

Class: XInterface.GUIScrollTextBox

Property Value
bNeverFocus True
bNoTeletype True
bTabStop False
CharDelay 0.0025
EOLDelay 0.5
StyleName "NoBackground"
WinHeight 0.325716
WinLeft 0.56527
WinTop 0.556774
WinWidth 0.362056

GameTypeLeftGroup

Class: XInterface.GUISectionBackground

Property Value
BottomPadding 0.025
Caption "Available Game Types"
TabOrder 0
TopPadding 0.025
WinHeight 0.94149
WinLeft 0.02375
WinTop 0.043125
WinWidth 0.4825

GameTypePreview

Class: XInterface.GUIImage

Property Value
ImageColor
Member Value
A 255
B 255
G 255
R 255
ImageRenderStyle MSTY_Normal
ImageStyle ISTY_Scaled
RenderWeight 0.2
WinHeight 0.316545
WinLeft 0.539224
WinTop 0.142826
WinWidth 0.411862

GameTypeRightGroup

Class: XInterface.GUISectionBackground

Property Value
Caption "Preview"
WinHeight 0.94149
WinLeft 0.513243
WinTop 0.043125
WinWidth 0.464649

NoPreview

Class: XInterface.GUILabel

Property Value
bMultiLine True
bTransparent False
Caption "No Preview Available"
TextAlign TXTA_Center
TextColor
Member Value
A 255
B 0
G 255
R 247
TextFont "UT2HeaderFont"
VertAlign TXTA_Center
WinHeight 0.316545
WinLeft 0.539224
WinTop 0.142826
WinWidth 0.411862

UT2004Games

Class: XInterface.GUIListBox

Property Value
bBoundToParent True
bScaleToParent True
bSorted True
bVisibleWhenEmpty True
FontScale FNS_Large
OnChange InternalOnChange
SelectedStyleName "ListSelection"
StyleName "NoBackground"
TabOrder 0
WinHeight 0.796982
WinLeft 0.045599
WinTop 0.144225
WinWidth 0.438457

Structs

SortHack

string GameClass 
byte Weight 

Delegates

OnChangeGameType

delegate OnChangeGameType (bool bIsCustom)


Functions

Events

InitComponent

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: UT2K4GameTabBase.InitComponent


SetVisibility

event SetVisibility (bool bIsVisible)

Overrides: GUIMultiComponent.SetVisibility


Other instance functions

AddEpicGameType

function AddEpicGameType (string GameName, string MapList)


FindGameClass

function string FindGameClass (string GameName)


FindRecordIndex

function int FindRecordIndex (string GameName)


GametypeSort

function int GametypeSort (GUI.GUIListElem ElemA, GUI.GUIListElem ElemB)


GetWeight

function byte GetWeight (string GameClass, bool bSection)


HasMaps

function bool HasMaps (CacheManager.GameRecord TestRec)


InitPreview

function InitPreview ()


InternalOnChange

function InternalOnChange (GUIComponent Sender)


InternalOnTrack

function InternalOnTrack (GUIComponent Sender, int OldIndex)


PopulateGameTypes

function PopulateGameTypes ()