| Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
| previous class next class | frames no frames | |||||
Core.Object
|
+-- XInterface.GUI
|
+-- XInterface.GUIComponent
|
+-- XInterface.GUIMultiComponent
|
+-- XInterface.GUIPanel
|
+-- XInterface.GUITabPanel
|
+-- XInterface.UT2K4TabPanel
|
+-- GUI2K4.UT2K4SPTab_Base
|
+-- GUI2K4.UT2K4SPTab_LadderBase
UT2K4SPTab_Ladder, UT2K4SPTab_SingleLadder
| Inherited Variables from GUI2K4.UT2K4SPTab_Base |
|---|
| CaptionBack, CaptionCancel, CaptionCreate, CaptionDone, CaptionLoad, CaptionPlay, GP, LogPrefix, MainWindow, ProfileClass |
| Structures Summary | ||
|---|---|---|
| AnimData X, Y | ||
| Functions Summary | ||
|---|---|---|
![]() | array<UT2K4LadderButton> | CreateHButtons (int ladderId, float LadderTop, float LadderLeft, float LadderWidth, optional bool bHidden)) |
![]() | array<UT2K4LadderButton> | CreateVButtons (int ladderId, float LadderTop, float LadderLeft, float LadderHeight, optional bool bHidden)) |
![]() | DoAnimate (array<UT2K4LadderButton> buttons, array<AnimData> data, optional bool reset)) | |
![]() | int | GetLadderProgress (int ladderindex)) |
![]() | string | GetMapDecription (CacheManager.MapRecord MR)) |
![]() | string | getMatchCaption (UT2K4MatchInfo mi)) |
![]() | array<AnimData> | InitAnimData (array<UT2K4LadderButton> buttons)) |
![]() | LadderButtonOnArrival (GUIComponent Sender, EAnimationType Type)) | |
![]() | MapChallengeUpdate ())) | |
![]() | moveMatchInfo (optional float topDelta, optional float leftDelta)) | |
![]() | bool | OnMapChallenge (GUIComponent Sender)) |
![]() | bool | onMatchClick (GUIComponent Sender)) |
![]() | bool | onMatchDblClick (GUIComponent Sender)) |
![]() | bool | onPlayClick ())) |
![]() | selectNextMatch () | |
![]() | showMatchDetails (UT2K4MatchInfo mi)) | |
![]() | ShowPanel (bool bShow)) | |
![]() | StartMatch ())) | |
![]() | UpdateBalance ())) | |
![]() | updateButton (UT2K4LadderButton btn, int ladderId, int matchId)) | |
| Inherited Functions from GUI2K4.UT2K4SPTab_Base |
|---|
| btnPlayEnabled, CanClose, GetMainWindow, getProfileName, InitComponent, onBackClick, onPlayClick, ShowPanel |
| Variables Detail |
|---|
duration of the button animation
colors used for the entry fee
colors used for the entry fee
The map challenge window
This window will be displayed before each team match to assign the roles of the team mates
| Structures Detail |
|---|
used for button animation
| Functions Detail |
|---|
CreateHButtons Source codeCreate the ladder buttons, horizontal layout Should be called during InitComponent()
CreateVButtons Source codeCreate the ladder buttons Should be called during InitComponent()
DoAnimate Source codeanimate the button
GetLadderProgress Source code
GetMapDecription Source codereturn the map description
getMatchCaption Source code
InitAnimData Source codeinitialize buttons for animation
LadderButtonOnArrival Source codeto show the progress bar again
MapChallengeUpdate Source code
moveMatchInfo Source codeMove the match information components to a new location
OnMapChallenge Source code
onMatchClick Source code
onMatchDblClick Source codeDouble click -> play match
onPlayClick Source codePlay the selected match, first check if we need to assign team mates
selectNextMatch Source codeSelect next match should be overwritten in subclasses
showMatchDetails Source codeShow the match details
ShowPanel Source code
StartMatch Source codeStart the selected match
UpdateBalance Source codeupdate the balance label
updateButton Source codeUpdate a single button. buttun style is not updated, this takes quite some time, call SetState when the button is shown
| Defaultproperties |
|---|
defaultproperties
{
Begin Object class=AltSectionBackground Name=SPPsbgMatch
WinWidth=0.470000
WinHeight=0.376633
WinLeft=0.515000
WinTop=0.074329
Caption="Selected match"
bBoundToParent=true
End Object
sbgMatch=SPPsbgMatch
Begin Object class=GUIImage Name=SPLimgMatchShot
WinWidth=0.443266
WinHeight=0.286939
WinLeft=0.529005
WinTop=0.128434
Image=material'UCGeneric.SolidColours.Black'
ImageRenderStyle=MSTY_Normal
ImageStyle=ISTY_Scaled
RenderWeight=0.2
bBoundToParent=true
End Object
imgMatchShot=SPLimgMatchShot
Begin Object Class=GUILabel Name=SPLlblMatchPrice
WinWidth=0.450000
WinHeight=0.041250
WinLeft=0.524999
WinTop=0.374077
TextAlign=TXTA_Center
RenderWeight=0.25
TextColor=(R=207,G=185,B=103,A=255)
ShadowOffsetX=1
ShadowOffsetY=1
bBoundToParent=true
End Object
lblMatchPrice=SPLlblMatchPrice
Begin Object Class=GUILabel Name=SPLlblMatchEntryFee
WinWidth=0.450000
WinHeight=0.041250
WinLeft=0.524999
WinTop=0.340417
TextAlign=TXTA_Center
RenderWeight=0.25
TextColor=(R=185,G=207,B=103,A=255)
ShadowOffsetX=1
ShadowOffsetY=1
bBoundToParent=true
End Object
lblMatchEntryFee=SPLlblMatchEntryFee
Begin Object Class=GUILabel Name=SPLlblNoMoney
WinWidth=0.442347
WinHeight=0.208418
WinLeft=0.530101
WinTop=0.128946
TextAlign=TXTA_Center
RenderWeight=0.25
TextColor=(R=255,G=96,B=96,A=255)
ShadowOffsetX=1
ShadowOffsetY=1
bBoundToParent=true
Caption="You do not have enough money to enter this match."
bMultiLine=true
bVisible=false
End Object
lblNoMoney=SPLlblNoMoney
Begin Object class=AltSectionBackground Name=SPPsbgDetail
WinWidth=0.470000
WinHeight=0.450000
WinLeft=0.515000
WinTop=0.473463
Caption="Details"
bBoundToParent=true
End Object
sbgDetail=SPPsbgDetail
Begin Object Class=GUIScrollTextBox Name=SPPsbDetails
WinWidth=0.439796
WinHeight=0.333750
WinLeft=0.531378
WinTop=0.532179
CharDelay=0.0025
EOLDelay=0.5
RenderWeight=0.2
TabOrder=1
StyleName="NoBackground"
bBoundToParent=true
End Object
sbDetails=SPPsbDetails
Begin Object Class=GUILabel Name=SPLlblBalance
WinWidth=0.450000
WinHeight=0.041250
WinLeft=0.546249
WinTop=0.005000
Caption=""
StyleName="TextLabel"
TextAlign=TXTA_Right
RenderWeight=0.25
ShadowOffsetX=1.5
ShadowOffsetY=1.5
ShadowColor=(R=0,G=0,B=0,A=64)
bBoundToParent=true
End Object
lblBalance=SPLlblBalance
Begin Object Class=GUIButton Name=SPLbtnChallengeMap
WinWidth=0.371556
WinHeight=0.047628
WinLeft=0.565433
WinTop=0.868232
Caption="CHANGE ARENA"
Hint="Select an alternative arena for this match"
TabOrder=2
RenderWeight=0.3
bVisible=false
OnClick=OnMapChallenge
bBoundToParent=true
End Object
btnChallengeMap=SPLbtnChallengeMap
TeamRoleWindow="GUI2K4.UT2K4SP_TeamRoles"
PropagateVisibility=false
PrizeMoney="Prize money:"
EntryFee="Entry fee:"
BalanceLabel="Balance:"
clEntryMatch=(R=185,G=207,B=103,A=255)
clEntryFail=(R=255,G=96,B=96,A=255)
NotEnoughPlayers="You do not have enough healthy team mates for this match.|%teammates% healthy team mates are required, you only have %healthy%."
AnimTime=1
MapChallengeWindow="GUI2K4.UT2K4SP_MapChallenge"
}
|
| Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
| previous class next class | frames no frames | |||||