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
{
	
	Begin Object class=GUIImage Name=SPDTRosterBK0
		WinWidth=0.377617
		WinHeight=0.598438
		WinLeft=0.586875
		WinTop=0.130833
		Image=Material'InterfaceContent.Menu.BorderBoxD'
		ImageColor=(R=255,G=255,B=255,A=160);
		ImageRenderStyle=MSTY_Alpha
		ImageStyle=ISTY_Stretched
	End Object


	
	Begin Object class=GUICharacterListTeam Name=SPDTRosterCharList
		Hint="Choose a teammate to play in the next match"
		WinWidth=0.670315
		WinHeight=0.170000
		WinLeft=0.004688
		WinTop=0.750000
		StyleName="CharButton"
		bFillBounds=true
		FixedItemsPerPage=7
		bLocked=true
		bAllowSelectEmpty=false
		DefaultPortrait=Material'InterfaceContent.pEmptySlot'
		
	End Object


	
	Begin Object class=GUILabel Name=SPDTMatchData
		Caption="No Game Profile => No MatchData"
		TextALign=TXTA_Center
		TextFont="UT2LargeFont"
		TextColor=(R=255,G=255,B=255,A=255)
		WinWidth=0.800000
		WinHeight=0.100000
		WinLeft=0.10
		WinTop=-0.12
	End Object


	
	Begin Object class=GUIScrollTextBox Name=SPDTCharData
		Hint="Team members profile"
		TextAlign=TXTA_Left
		WinWidth=0.520000
		WinHeight=0.359687
		WinLeft=0.024063
		WinTop=0.129167
		CharDelay=0.04
		EOLDelay=0.25
		bNeverFocus=true
		bAcceptsInput=true
	End Object


	
	Begin Object class=GUIListBox Name=SPDTCharStats
		WinWidth=0.520000
		WinHeight=0.237813
		WinLeft=0.024063
		WinTop=0.491249
		bNeverFocus=true
		bAcceptsInput=false
	End Object


	
	Begin Object class=GUIImage Name=SPDTCharListBox
		WinWidth=0.639846
		WinHeight=0.185625
		WinLeft=0.007813
		WinTop=0.741667
		Image=Material'InterfaceContent.Menu.BorderBoxD'
		ImageColor=(R=255,G=255,B=255,A=160);
		ImageRenderStyle=MSTY_Alpha
		ImageStyle=ISTY_Stretched
	End Object


	
	Begin Object class=GUICharacterListTeam Name=SPDTPortrait
		StyleName="CharButton"
		Hint="Select teammate"
		WinWidth=0.133300
		WinHeight=0.400000
		WinLeft=0.687500
		WinTop=0.190313
		bFillBounds=true
		FixedItemsPerPage=1
		DefaultPortrait=Material'InterfaceContent.pEmptySlot'
	End Object


	Begin Object Class=GUIButton Name=SPDTDraft
		Caption="DRAFT"
		Hint="Add this character to your team"
		WinWidth=0.132812
		WinHeight=0.055
		WinLeft=0.620626
		WinTop=0.602917
		bFocusOnWatch=true
	End Object
	Begin Object Class=GUIButton Name=SPDTRelease
		Caption="RELEASE"
		Hint="Remove this character from your team"
		WinWidth=0.132812
		WinHeight=0.055
		WinLeft=0.804998
		WinTop=0.602917
		bFocusOnWatch=true
	End Object


	Begin Object Class=GUIButton Name=SPDTClear
		Caption="CLEAR"
		Hint="Clear your team roster"
		StyleName="SquareMenuButton"
		WinWidth=0.12
		WinHeight=0.055
		WinLeft=0
		WinTop=0.93
		bFocusOnWatch=true
	End Object
	Begin Object Class=GUIButton Name=SPDTEnter
		Caption="PLAY"
		Hint="Enter tournament with this team"
		StyleName="SquareMenuButton"
		WinWidth=0.12
		WinHeight=0.055
		WinLeft=0.88
		WinTop=0.93
		bFocusOnWatch=true
	End Object


	Begin Object Class=GUIGfxButton Name=SPDTPicLeft
		Graphic=Material'InterfaceContent.Menu.fbArrowLeft'
		Hint="Select teammate"
		WinWidth=0.080000
		WinHeight=0.080000
		WinLeft=0.601563
		WinTop=0.335833
		bFocusOnWatch=true
	    Position=ICP_Scaled
		End Object
	Begin Object Class=GUIGfxButton Name=SPDTPicRight
		Graphic=Material'InterfaceContent.Menu.fbArrowRight'
		Hint="Select teammate"
		WinWidth=0.080000
		WinHeight=0.080000
		WinLeft=0.870312
		WinTop=0.335833
	    Position=ICP_Scaled
		bFocusOnWatch=true
	End Object


	
	Begin Object class=GUIListBox Name=SPDTTeamStats
		WinWidth=0.338750
		WinHeight=0.189062
		WinLeft=0.654063
		WinTop=0.739166
		bNeverFocus=true
		bAcceptsInput=false
	End Object


	Begin Object class=GUILabel Name=SPDTLblChoose
		Caption="Choose Teammate"
		TextALign=TXTA_Center
		TextFont="UT2HeaderFont"
		TextColor=(R=255,G=255,B=255,A=255)
		WinWidth=0.368750
		WinHeight=0.079687
		WinLeft=0.592498
		WinTop=0.122084
	End Object


	Begin Object class=GUITitleBar name=SPDTHeader
		Caption="Single Player | Draft your team"
		StyleName="Header"
		WinWidth=1
		WinHeight=46.000000
		WinLeft=0
		WinTop=0.036406
		Effect=material'CO_Final'
	End Object


	Begin Object class=GUITitleBar name=SPDTHints
		WinWidth=0.76
		WinHeight=0.055
		WinLeft=0.12
		WinTop=0.93
		bUseTextHeight=false
		StyleName="Footer"
		Justification=TXTA_Center
	End Object


	Begin Object Class=GUIButton Name=SPDTAuto
		Caption="AUTO FILL"
		Hint="Automatically fill your team"
		WinWidth=0.187500
		WinHeight=0.055000
		WinLeft=0.681245
		WinTop=0.666667
		bFocusOnWatch=true
	End Object



	Controls(0)=SPDTRosterBK0
	Controls(1)=SPDTMatchData
	Controls(2)=SPDTCharData
	Controls(3)=SPDTCharStats
	Controls(4)=SPDTRosterCharList
	Controls(5)=SPDTCharListBox
	Controls(6)=SPDTPortrait
	Controls(7)=SPDTDraft
	Controls(8)=SPDTRelease
	Controls(9)=SPDTClear
	Controls(10)=SPDTEnter
	Controls(11)=SPDTPicLeft
	Controls(12)=SPDTPicRight
	Controls(13)=SPDTLblChoose
	Controls(14)=SPDTTeamStats
	Controls(15)=SPDTHeader
	Controls(16)=SPDTHints
	Controls(17)=SPDTAuto


	ButtonStyleEnabled="RoundButton"
	ButtonStyleDisabled="NoBackground"
	Background=Material'InterfaceContent.Backgrounds.bg10'
	WinTop=0.0
	WinLeft=0
	WinWidth=1
	WinHeight=1.0
	bAcceptsInput=false


	ClearConfirmMessage="This action will empty your current roster.  Are you sure?"
	EnterConfirmMessage="Are you ready to enter the tournament?"
	StatsMessage="Stats"
	bPlaySounds=true
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Do 14.8.2014 09:58:26.107 - Created with UnCodeX