Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE2:UT2K4SPTab_DetailEnemies (UT2004)

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

Overview of the enemy teams played against

Written by Michiel Hendriks (c) 2003, Epic Games, Inc. All Rights Reserved

Properties[edit]

btnOk[edit]

Type: GUIButton

Modifiers: automated


cbDescription[edit]

Type: GUIScrollTextBox

Modifiers: automated


Default value: GUIScrollTextBox'SPDTcbDescription'

ColumnHeadings[edit]

Type: string

Array size: 5

Modifiers: localized


Default value, index 0: "Name"

Default value, index 1: "Matches"

Default value, index 2: "They won"

Default value, index 3: "Rating"

Default value, index 4: "Strength"

imgPicture[edit]

Type: GUIImage

Modifiers: automated


Default value: GUIImage'SPDTimgPicture'

mclFoes[edit]

Type: GUI2K4MultiColumnListBox

Modifiers: automated


Default value: GUI2K4MultiColumnListBox'SPDEmclFoes'

msgMembers[edit]

Type: string

Modifiers: localized


Default value: "Members:"

sbdDetails[edit]

Type: GUISectionBackground

Modifiers: automated


Default value: AltSectionBackground'SPPsbdDetails'

sbgFoesBG[edit]

Type: GUISectionBackground

Modifiers: automated


Default value: GUISectionBackground'SPPsbgFoesBG'

SelStyle[edit]

Type: GUIStyles


StrengthLabels[edit]

Type: array<string>

Modifiers: localized


Default value, index 0: "Weak"

Default value, index 1: "Tough"

Default value, index 2: "Strong"

Default value, index 3: "Godlike"

Default value, index 4: "Phantom"

TeamDetailPage[edit]

Type: string


Default value: "GUI2K4.UT2K4SP_DetailsTeam"

TeamRosters[edit]

Type: array<class<UT2K4TeamRoster> >


TeamStats[edit]

Type: array<UT2K4GameProfile.TeamStatsRecord>

local copy, filtered

Default values[edit]

Property Value
ContextMenu GUIContextMenu'SPDEcmFoes'
PanelCaption "Opponent Teams"

Subobjects[edit]

SPDEcmFoes[edit]

Class: XInterface.GUIContextMenu

Property Value
ContextItems[0] "Team details"
OnSelect onCmFoesClick

SPDEmclFoes[edit]

Class: GUI2K4.GUI2K4MultiColumnListBox

Property Value
bBoundToParent True
bVisibleWhenEmpty True
OnChange OnTeamSelect
OnGetSortString mclFoesOnGetSortString
RenderWeight 0.2
SelectedStyleName "ListSelection"
StyleName "ServerBrowserGrid"
WinHeight 0.267856
WinLeft 0.097832
WinTop 0.675411
WinWidth 0.791837

SPDTcbDescription[edit]

Class: XInterface.GUIScrollTextBox

Property Value
bBoundToParent True
bNoTeletype True
bVisibleWhenEmpty True
FontScale FNS_Medium
StyleName "NoBackground"
WinHeight 0.4125
WinLeft 0.431123
WinTop 0.108998
WinWidth 0.456249

SPDTimgPicture[edit]

Class: XInterface.GUIImage

Property Value
bBoundToParent True
ImageAlign IMGA_Center
ImageColor
Member Value
A 255
B 255
G 255
R 255
ImageRenderStyle MSTY_Alpha
ImageStyle ISTY_Justified
RenderWeight 0.3
WinHeight 0.417091
WinLeft 0.101276
WinTop 0.105163
WinWidth 0.318878

SPPsbdDetails[edit]

Class: GUI2K4.AltSectionBackground

Property Value
bBoundToParent True
WinHeight 0.552
WinLeft 0.08275
WinTop 0.0365
WinWidth 0.820751

SPPsbgFoesBG[edit]

Class: XInterface.GUISectionBackground

Property Value
bBoundToParent True
Caption "Enemy Teams"
WinHeight 0.356249
WinLeft 0.08
WinTop 0.616587
WinWidth 0.8275

Functions[edit]

Events[edit]

InitComponent[edit]

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: UT2K4SPTab_Base.InitComponent


Other instance functions[edit]

mclFoesOnGetSortString[edit]

function string mclFoesOnGetSortString (GUIComponent Sender, int item, int column)


onCmFoesClick[edit]

function onCmFoesClick (GUIContextMenu Sender, int ClickIndex)


OnDrawFoesList[edit]

function OnDrawFoesList (Canvas Canvas, int i, float X, float Y, float W, float H, bool bSelected, bool bPending)


OnTeamSelect[edit]

function OnTeamSelect (GUIComponent Sender)


ShowTeamDetails[edit]

function ShowTeamDetails (string TeamName)

Param1 is the fully qualified name for the team