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

GUI2K4.UT2K4SP_TeamRoles

Extends
LargeWindow

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPage
            |   
            +-- XInterface.UT2K4GUIPage
               |   
               +-- GUI2K4.PopupPageBase
                  |   
                  +-- GUI2K4.FloatingWindow
                     |   
                     +-- GUI2K4.LargeWindow
                        |   
                        +-- GUI2K4.UT2K4SP_TeamRoles

Variables Summary
stringAccuracyCaption
stringAggressionCaption
stringAgilityCaption
intAssignedRoles
boolbNoBalanceCheck
GUIButtonbtnCancel
GUIButtonbtnOk
array<GUIComboBox>cbRoles
intCurrentFee
UT2K4GameProfileGP
array<GUIImage>imgFaces
stringInactiveMsg
stringInjuredCaption
GUILabellblBalance
GUILabellblInfo
GUILabellblNoMoney
GUILabellblTitle
intMaxTeamMates
stringMinimalFeeCaption
materialPortraitBGMat
GUIScrollTextBoxsbCharInfo
stringTacticsCaption
array<int>TeamFee
Inherited Variables from GUI2K4.FloatingWindow
BLSizing, bMoveAllowed, bMoving, bResizeHeightAllowed, bResizeWidthAllowed, bResizing, BRSizing, BtSizing, b_ExitButton, DefaultHeight, DefaultLeft, DefaultTop, DefaultWidth, HeaderMouseCursorIndex, LSizing, MaxPageHeight, MaxPageWidth, MinPageHeight, MinPageWidth, RSizing, TLSizing, TRSizing, TSizing, t_WindowTitle, WindowName

Delegates Summary
delegate OnOkClick ()

Functions Summary
function drawButtons ()))
event HandleParameters (string Param1, string Param2))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
functionbool InternalOnClick (GUIComponent Sender))
function onRoleChange (GUIComponent Sender))
function setOkButtonState ()))
functionbool ShowPlayerDetails (GUIComponent Sender ))
Inherited Functions from GUI2K4.FloatingWindow
AddSystemMenu, AlignFrame, CheckBounds, FloatingHover, FloatingMousePressed, FloatingMouseRelease, FloatingPreDraw, FloatingRendered, HoveringBottomBorder, HoveringBottomLeft, HoveringLeftBorder, HoveringRightBorder, HoveringTopBorder, HoveringTopLeft, InitComponent, InternalOnCreateComponent, ResizeAllowed, ResizedBoth, ResizedHeight, ResizedWidth, ResolutionChanged, SaveCurrentPosition, SetDefaultPosition, SetFocus, SetMouseCursorIndex, SetPanelPosition, SystemMenuPreDraw, XButtonClicked


Variables Detail

AccuracyCaption Source code

var localized string AccuracyCaption;

AggressionCaption Source code

var localized string AggressionCaption;

AgilityCaption Source code

var localized string AgilityCaption;

AssignedRoles Source code

var int AssignedRoles;
Currently assigned roles

bNoBalanceCheck Source code

var bool bNoBalanceCheck;
if true no balance check is done

btnCancel Source code

var automated GUIButton btnCancel;

btnOk Source code

var automated GUIButton btnOk;

cbRoles Source code

var array<GUIComboBox> cbRoles;

CurrentFee Source code

var int CurrentFee;
the fee for the currently selected team

GP Source code

var UT2K4GameProfile GP;

imgFaces Source code

var array<GUIImage> imgFaces;

InactiveMsg Source code

var localized string InactiveMsg;

InjuredCaption Source code

var localized string InjuredCaption;

lblBalance Source code

var automated GUILabel lblBalance;

lblInfo Source code

var automated GUILabel lblInfo;

lblNoMoney Source code

var automated GUILabel lblNoMoney;

lblTitle Source code

var automated GUILabel lblTitle;

MaxTeamMates Source code

var int MaxTeamMates;
Used to check the number of roles assigned

MinimalFeeCaption Source code

var localized string MinimalFeeCaption;

PortraitBGMat Source code

var material PortraitBGMat;

sbCharInfo Source code

var automated GUIScrollTextBox sbCharInfo;

TacticsCaption Source code

var localized string TacticsCaption;

TeamFee Source code

var array<int> TeamFee;
used to check if the current team can be payed


Delegates Detail

OnOkClick Source code

delegate OnOkClick ( )
Will be called when the user clicks the "ok" button


Functions Detail

drawButtons Source code

function drawButtons ( ) )
draw team member faces and role selection controlls

HandleParameters Source code

event HandleParameters ( string Param1, string Param2) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

InternalOnClick Source code

function bool InternalOnClick ( GUIComponent Sender) )

onRoleChange Source code

function onRoleChange ( GUIComponent Sender) )
A role has changed, check the constraints

setOkButtonState Source code

function setOkButtonState ( ) )

ShowPlayerDetails Source code

function bool ShowPlayerDetails ( GUIComponent Sender ) )


Defaultproperties

defaultproperties
{
	Begin Object Class=GUIButton Name=SPMbtnOk
		Caption="OK"
		WinWidth=0.200000
		WinHeight=0.040000
		WinLeft=0.764064
		WinTop=0.912292
		OnClick=InternalOnClick
		RenderWeight=0.2
		FontScale=FNS_Small
		TabOrder=1
		bBoundToParent=True
	End Object
	btnOk=SPMbtnOk


	Begin Object Class=GUIButton Name=SPTbtnCancel
		Caption="CANCEL"
		WinWidth=0.200000
		WinHeight=0.040000
		WinLeft=0.532813
		WinTop=0.912292
		OnClick=InternalOnClick
		RenderWeight=0.2
		FontScale=FNS_Small
		TabOrder=2
		bBoundToParent=True
	End Object
	btnCancel=SPTbtnCancel


	Begin Object Class=GUILabel Name=SPTlblTitle
		Caption="Team roster"
		WinWidth=0.806251
		WinHeight=0.065000
		WinLeft=0.089063
		WinTop=0.041666
		RenderWeight=0.2
		StyleName="TextLabel"
		FontScale=FNS_Large
		TextALign=TXTA_Center
		bBoundToParent=True
	End Object
	lblTitle=SPTlblTitle


	Begin Object Class=GUILabel Name=SPTlblInfo
		Caption="%gametype% in %map% with %teammates% team mates"
		WinWidth=0.931251
		WinHeight=0.058750
		WinLeft=0.032813
		WinTop=0.100000
		RenderWeight=0.2
		StyleName="TextLabel"
		bMultiLine=true
		TextALign=TXTA_Center
		bBoundToParent=True
	End Object
	lblInfo=SPTlblInfo


	Begin Object Class=GUILabel Name=SPTlblNoMoney
		Caption="You do not have enough money to pay this team's minimal fee"
		WinWidth=0.431250
		WinHeight=0.102500
		WinLeft=0.532813
		WinTop=0.758334
		RenderWeight=0.2
		TextColor=(R=228,G=0,B=0,A=255)
		bMultiLine=true
		TextALign=TXTA_Center
		
		ShadowOffsetX=1
		ShadowOffsetY=1
		bBoundToParent=True
	End Object
	lblNoMoney=SPTlblNoMoney


	Begin Object Class=GUILabel Name=SPTlblBalance
		Caption="Balance: %balance%"
		WinWidth=0.415000
		WinHeight=0.040000
		WinLeft=0.556563
		WinTop=0.049999
		RenderWeight=0.2
		StyleName="TextLabel"
		bMultiLine=true
		TextALign=TXTA_Right
		bBoundToParent=True
	End Object
	lblBalance=SPTlblBalance


	Begin Object Class=GUIScrollTextBox Name=SPTsbCharInfo
		WinWidth=0.468750
		WinHeight=0.212500
		WinLeft=0.032500
		WinTop=0.726666
		bNoTeletype=true
		RenderWeight=0.2
		bVisibleWhenEmpty=true
		FontScale=FNS_Medium
		TabOrder=3
		bBoundToParent=True
	End Object
	sbCharInfo=SPTsbCharInfo


	PortraitBGMat=material'2K4Menus.Controls.sectionback'


	DefaultWidth=1
	DefaultHeight=0.88
	DefaultLeft=0.00
	DefaultTop=0.06


	WinWidth=1
	WinHeight=0.88
	WinLeft=0.00
	WinTop=0.06


	InactiveMsg="INACTIVE"
	MinimalFeeCaption="Minimal fee:|%fee%"
	InjuredCaption="INJURED"


	AggressionCaption="Aggressiveness:"
	AgilityCaption="Agility:"
	AccuracyCaption="Accuracy:"
	TacticsCaption="Tactics:"
}

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