Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

XInterface.UT2DraftTeam

Extends
UT2K3GUIPage

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPage
            |   
            +-- XInterface.UT2K3GUIPage
               |   
               +-- XInterface.UT2DraftTeam

Direct Known Subclasses:

UT2SP_PlayerTradePage

Variables Summary
boolbPlaySounds
GUIButtonbutAuto
GUIButtonbutClear
GUIButtonbutDraft
GUIButtonbutEnter
GUIGfxButtonbutLeft
GUIButtonbutRelease
GUIGfxButtonbutRight
stringButtonStyleDisabled
stringButtonStyleEnabled
stringClearConfirmMessage
GUICharacterListTeamcltMyTeam
GUICharacterListTeamcltPortrait
stringEnterConfirmMessage
GUILabellblChoose
GUILabellblMatchData
GUIListBoxlboStats
GUIListBoxlboTeamStats
GUITitleBarMyHintBar
GUITitleBarMyTitleBar
stringStatsMessage
GUIScrollTextBoxstbPlayerData
Inherited Variables from XInterface.GUIPage
Background, BackgroundColor, BackgroundRStyle, bAllowedAsLast, bCaptureInput, bCheckResolution, bDisconnectOnOpen, bPauseIfPossible, bPersistent, bRenderWorld, bRequire640x480, bRestorable, CloseSound, InactiveFadeColor, OpenSound, ParentPage, Timers

Functions Summary
function AutoFillTeam ()
function BuildStats (out xUtil.PlayerRecord PR, GUIListBox charbox, GUIListBox teambox)
functionbool ButtonClick (GUIComponent Sender)
event ChangeHint (string NewHint)
function CharListChange (GUIComponent Sender)
function CharListUpdate (GUIComponent Sender)
function ClearConfirm (byte bButton)
function Created ()
function EnterConfirm (byte bButton)
function FinishButtonClick ()
function InitComponent (GUIController MyController, GUIComponent MyOwner)
functionbool IsOnTeam (string botname)
functionbool IsTeamFull ()
functionbool MyKeyEvent (out byte Key, ut byte State, loat delta)
function ReloadPortraits ()
function UpdateDraftable (bool bAffordable)
Inherited Functions from XInterface.GUIPage
AllowOpen, ChangeHint, CheckResolution, Closed, Free, GetDataString, GetRestoreParams, HandleObject, HandleParameters, InitComponent, IsOpen, NotifyLevelChange, PlayCloseSound, PlayOpenSound, SetDataString, SetFocus


Variables Detail

bPlaySounds Source code

var bool bPlaySounds;

butAuto Source code

var GUIButton butAuto;

butClear Source code

var GUIButton butClear;

butDraft Source code

var GUIButton butDraft;

butEnter Source code

var GUIButton butEnter;

butLeft Source code

var GUIGfxButton butLeft;

butRelease Source code

var GUIButton butRelease;

butRight Source code

var GUIGfxButton butRight;

ButtonStyleDisabled Source code

var string ButtonStyleDisabled;

ButtonStyleEnabled Source code

var string ButtonStyleEnabled;

ClearConfirmMessage Source code

var localized string ClearConfirmMessage;

cltMyTeam Source code

var GUICharacterListTeam cltMyTeam;

cltPortrait Source code

var GUICharacterListTeam cltPortrait;

EnterConfirmMessage Source code

var localized string EnterConfirmMessage;

lblChoose Source code

var GUILabel lblChoose;

lblMatchData Source code

var GUILabel lblMatchData;

lboStats Source code

var GUIListBox lboStats;

lboTeamStats Source code

var GUIListBox lboTeamStats;

MyHintBar Source code

var GUITitleBar MyHintBar;

MyTitleBar Source code

var GUITitleBar MyTitleBar;

StatsMessage Source code

var localized string StatsMessage;

stbPlayerData Source code

var GUIScrollTextBox stbPlayerData;


Functions Detail

AutoFillTeam Source code

function AutoFillTeam ( )

BuildStats Source code

function BuildStats ( out xUtil.PlayerRecord PR, GUIListBox charbox, GUIListBox teambox )

ButtonClick Source code

function bool ButtonClick ( GUIComponent Sender )

ChangeHint Source code

event ChangeHint ( string NewHint )

CharListChange Source code

function CharListChange ( GUIComponent Sender )

CharListUpdate Source code

function CharListUpdate ( GUIComponent Sender )

ClearConfirm Source code

function ClearConfirm ( byte bButton )

Created Source code

function Created ( )

EnterConfirm Source code

function EnterConfirm ( byte bButton )

FinishButtonClick Source code

function FinishButtonClick ( )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner )

IsOnTeam Source code

function bool IsOnTeam ( string botname )

IsTeamFull Source code

function bool IsTeamFull ( )

MyKeyEvent Source code

function bool MyKeyEvent ( out byte Key,out byte State,float delta )

ReloadPortraits Source code

function ReloadPortraits ( )

UpdateDraftable Source code

function UpdateDraftable ( bool bAffordable )


Defaultproperties

defaultproperties
{
     ButtonStyleEnabled="RoundButton"
     ButtonStyleDisabled="NoBackground"
     ClearConfirmMessage="This action will empty your current roster.  Are you sure?"
     EnterConfirmMessage="Are you ready to enter the tournament?"
     StatsMessage="Stats"
     bPlaySounds=Wahr
     Background=Texture'InterfaceContent.Backgrounds.bg10'
     Begin Object Class=GUIImage Name=SPDTRosterBK0
         Image=Texture'InterfaceContent.Menu.BorderBoxD'
         ImageColor=(A=160)
         ImageStyle=ISTY_Stretched
         WinTop=0.130833
         WinLeft=0.586875
         WinWidth=0.377617
         WinHeight=0.598438
     End Object
     Controls(0)=GUIImage'XInterface.UT2DraftTeam.SPDTRosterBK0'

     Begin Object Class=GUILabel Name=SPDTMatchData
         Caption="No Game Profile => No MatchData"
         TextAlign=TXTA_Center
         TextColor=(B=255,G=255,R=255)
         TextFont="UT2LargeFont"
         WinTop=-0.120000
         WinLeft=0.100000
         WinWidth=0.800000
         WinHeight=0.100000
     End Object
     Controls(1)=GUILabel'XInterface.UT2DraftTeam.SPDTMatchData'

     Begin Object Class=GUIScrollTextBox Name=SPDTCharData
         CharDelay=0.040000
         EOLDelay=0.250000
         OnCreateComponent=SPDTCharData.InternalOnCreateComponent
         Hint="Team members profile"
         WinTop=0.129167
         WinLeft=0.024063
         WinWidth=0.520000
         WinHeight=0.359687
         bNeverFocus=Wahr
     End Object
     Controls(2)=GUIScrollTextBox'XInterface.UT2DraftTeam.SPDTCharData'

     Begin Object Class=GUIListBox Name=SPDTCharStats
         OnCreateComponent=SPDTCharStats.InternalOnCreateComponent
         WinTop=0.491249
         WinLeft=0.024063
         WinWidth=0.520000
         WinHeight=0.237813
         bAcceptsInput=Falsch
         bNeverFocus=Wahr
     End Object
     Controls(3)=GUIListBox'XInterface.UT2DraftTeam.SPDTCharStats'

     Begin Object Class=GUICharacterListTeam Name=SPDTRosterCharList
         bLocked=Wahr
         DefaultPortrait=TexPanner'InterfaceContent.Menu.pEmptySlot'
         bFillBounds=Wahr
         bAllowSelectEmpty=Falsch
         FixedItemsPerPage=7
         StyleName="CharButton"
         Hint="Choose a teammate to play in the next match"
         WinTop=0.750000
         WinLeft=0.004688
         WinWidth=0.670315
         WinHeight=0.170000
         OnClick=SPDTRosterCharList.InternalOnClick
         OnRightClick=SPDTRosterCharList.InternalOnRightClick
         OnMousePressed=SPDTRosterCharList.InternalOnMousePressed
         OnMouseRelease=SPDTRosterCharList.InternalOnMouseRelease
         OnKeyEvent=SPDTRosterCharList.InternalOnKeyEvent
         OnBeginDrag=SPDTRosterCharList.InternalOnBeginDrag
         OnEndDrag=SPDTRosterCharList.InternalOnEndDrag
         OnDragDrop=SPDTRosterCharList.InternalOnDragDrop
         OnDragEnter=SPDTRosterCharList.InternalOnDragEnter
         OnDragLeave=SPDTRosterCharList.InternalOnDragLeave
         OnDragOver=SPDTRosterCharList.InternalOnDragOver
     End Object
     Controls(4)=GUICharacterListTeam'XInterface.UT2DraftTeam.SPDTRosterCharList'

     Begin Object Class=GUIImage Name=SPDTCharListBox
         Image=Texture'InterfaceContent.Menu.BorderBoxD'
         ImageColor=(A=160)
         ImageStyle=ISTY_Stretched
         WinTop=0.741667
         WinLeft=0.007813
         WinWidth=0.639846
         WinHeight=0.185625
     End Object
     Controls(5)=GUIImage'XInterface.UT2DraftTeam.SPDTCharListBox'

     Begin Object Class=GUICharacterListTeam Name=SPDTPortrait
         DefaultPortrait=TexPanner'InterfaceContent.Menu.pEmptySlot'
         bFillBounds=Wahr
         FixedItemsPerPage=1
         StyleName="CharButton"
         Hint="Select teammate"
         WinTop=0.190313
         WinLeft=0.687500
         WinWidth=0.133300
         WinHeight=0.400000
         OnClick=SPDTPortrait.InternalOnClick
         OnRightClick=SPDTPortrait.InternalOnRightClick
         OnMousePressed=SPDTPortrait.InternalOnMousePressed
         OnMouseRelease=SPDTPortrait.InternalOnMouseRelease
         OnKeyEvent=SPDTPortrait.InternalOnKeyEvent
         OnBeginDrag=SPDTPortrait.InternalOnBeginDrag
         OnEndDrag=SPDTPortrait.InternalOnEndDrag
         OnDragDrop=SPDTPortrait.InternalOnDragDrop
         OnDragEnter=SPDTPortrait.InternalOnDragEnter
         OnDragLeave=SPDTPortrait.InternalOnDragLeave
         OnDragOver=SPDTPortrait.InternalOnDragOver
     End Object
     Controls(6)=GUICharacterListTeam'XInterface.UT2DraftTeam.SPDTPortrait'

     Begin Object Class=GUIButton Name=SPDTDraft
         Caption="DRAFT"
         Hint="Add this character to your team"
         WinTop=0.602917
         WinLeft=0.620626
         WinWidth=0.132812
         WinHeight=0.055000
         bFocusOnWatch=Wahr
         OnKeyEvent=SPDTDraft.InternalOnKeyEvent
     End Object
     Controls(7)=GUIButton'XInterface.UT2DraftTeam.SPDTDraft'

     Begin Object Class=GUIButton Name=SPDTRelease
         Caption="RELEASE"
         Hint="Remove this character from your team"
         WinTop=0.602917
         WinLeft=0.804998
         WinWidth=0.132812
         WinHeight=0.055000
         bFocusOnWatch=Wahr
         OnKeyEvent=SPDTRelease.InternalOnKeyEvent
     End Object
     Controls(8)=GUIButton'XInterface.UT2DraftTeam.SPDTRelease'

     Begin Object Class=GUIButton Name=SPDTClear
         Caption="CLEAR"
         StyleName="SquareMenuButton"
         Hint="Clear your team roster"
         WinTop=0.930000
         WinWidth=0.120000
         WinHeight=0.055000
         bFocusOnWatch=Wahr
         OnKeyEvent=SPDTClear.InternalOnKeyEvent
     End Object
     Controls(9)=GUIButton'XInterface.UT2DraftTeam.SPDTClear'

     Begin Object Class=GUIButton Name=SPDTEnter
         Caption="PLAY"
         StyleName="SquareMenuButton"
         Hint="Enter tournament with this team"
         WinTop=0.930000
         WinLeft=0.880000
         WinWidth=0.120000
         WinHeight=0.055000
         bFocusOnWatch=Wahr
         OnKeyEvent=SPDTEnter.InternalOnKeyEvent
     End Object
     Controls(10)=GUIButton'XInterface.UT2DraftTeam.SPDTEnter'

     Begin Object Class=GUIGFXButton Name=SPDTPicLeft
         Graphic=FinalBlend'InterfaceContent.Menu.fbArrowLeft'
         Position=ICP_Scaled
         Hint="Select teammate"
         WinTop=0.335833
         WinLeft=0.601563
         WinWidth=0.080000
         WinHeight=0.080000
         bFocusOnWatch=Wahr
         OnKeyEvent=SPDTPicLeft.InternalOnKeyEvent
     End Object
     Controls(11)=GUIGFXButton'XInterface.UT2DraftTeam.SPDTPicLeft'

     Begin Object Class=GUIGFXButton Name=SPDTPicRight
         Graphic=FinalBlend'InterfaceContent.Menu.fbArrowRight'
         Position=ICP_Scaled
         Hint="Select teammate"
         WinTop=0.335833
         WinLeft=0.870312
         WinWidth=0.080000
         WinHeight=0.080000
         bFocusOnWatch=Wahr
         OnKeyEvent=SPDTPicRight.InternalOnKeyEvent
     End Object
     Controls(12)=GUIGFXButton'XInterface.UT2DraftTeam.SPDTPicRight'

     Begin Object Class=GUILabel Name=SPDTLblChoose
         Caption="Choose Teammate"
         TextAlign=TXTA_Center
         TextColor=(B=255,G=255,R=255)
         TextFont="UT2HeaderFont"
         WinTop=0.122084
         WinLeft=0.592498
         WinWidth=0.368750
         WinHeight=0.079687
     End Object
     Controls(13)=GUILabel'XInterface.UT2DraftTeam.SPDTLblChoose'

     Begin Object Class=GUIListBox Name=SPDTTeamStats
         OnCreateComponent=SPDTTeamStats.InternalOnCreateComponent
         WinTop=0.739166
         WinLeft=0.654063
         WinWidth=0.338750
         WinHeight=0.189062
         bAcceptsInput=Falsch
         bNeverFocus=Wahr
     End Object
     Controls(14)=GUIListBox'XInterface.UT2DraftTeam.SPDTTeamStats'

     Begin Object Class=GUITitleBar Name=SPDTHeader
         Effect=FinalBlend'InterfaceContent.Menu.CO_Final'
         Caption="Single Player | Draft your team"
         StyleName="Header"
         WinTop=0.036406
         WinHeight=46.000000
     End Object
     Controls(15)=GUITitleBar'XInterface.UT2DraftTeam.SPDTHeader'

     Begin Object Class=GUITitleBar Name=SPDTHints
         bUseTextHeight=Falsch
         StyleName="Footer"
         WinTop=0.930000
         WinLeft=0.120000
         WinWidth=0.760000
         WinHeight=0.055000
     End Object
     Controls(16)=GUITitleBar'XInterface.UT2DraftTeam.SPDTHints'

     Begin Object Class=GUIButton Name=SPDTAuto
         Caption="AUTO FILL"
         Hint="Automatically fill your team"
         WinTop=0.666667
         WinLeft=0.681245
         WinWidth=0.187500
         WinHeight=0.055000
         bFocusOnWatch=Wahr
         OnKeyEvent=SPDTAuto.InternalOnKeyEvent
     End Object
     Controls(17)=GUIButton'XInterface.UT2DraftTeam.SPDTAuto'

     WinHeight=1.000000
     bAcceptsInput=Falsch
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Mo 16.4.2007 11:20:34.046 - Created with UnCodeX