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

GUI2K4.UT2K4SP_CGBRTrade

Extends
UT2K4SP_CGBRUnTrade

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

Variables Summary
boolbHasFullTeam
GUIButtonbtnNextChar
GUIButtonbtnPrevChar
GUICharacterListTeamclSelChar
stringFireInfo
stringFullTeamWarning
UT2K4GameProfileGP
Inherited Variables from GUI2K4.UT2K4SP_CGBRUnTrade
btnOk, ETI, imgPicture, imgPictureBg, lblTitle, Message, sbMessage, TargetPlayerName

Functions Summary
event InitComponent (GUIController MyController, GUIComponent MyOwner))
function OnClose (optional bool bCancel))
functionbool onSelectChar (GUIComponent Sender))
function SetDescription ()))
function UpdateDetails (GUIComponent Sender))
Inherited Functions from GUI2K4.UT2K4SP_CGBRUnTrade
HandleParameters, onOkClick, SetDescription


Variables Detail

bHasFullTeam Source code

var bool bHasFullTeam;
true if the player has afull team

btnNextChar Source code

var automated GUIButton btnNextChar;

btnPrevChar Source code

var automated GUIButton btnPrevChar;

clSelChar Source code

var automated GUICharacterListTeam clSelChar;

FireInfo Source code

var localized string FireInfo;
Info about the player being fires

FullTeamWarning Source code

var localized string FullTeamWarning;
Warn the player that there's no empty spot

GP Source code

var UT2K4GameProfile GP;


Functions Detail

InitComponent Source code

event InitComponent ( GUIController MyController, GUIComponent MyOwner) )

OnClose Source code

function OnClose ( optional bool bCancel) )

onSelectChar Source code

function bool onSelectChar ( GUIComponent Sender) )

SetDescription Source code

function SetDescription ( ) )

UpdateDetails Source code

function UpdateDetails ( GUIComponent Sender) )


Defaultproperties

defaultproperties
{
	Begin Object Class=GUIButton Name=CGBbtnPrevChar
		Hint="Select the team mate you want to fire"
		StyleName="ArrowLeft"
		WinWidth=0.048750
		WinHeight=0.061250
		WinLeft=0.805001
		WinTop=0.806667
		bNeverFocus=true
		bRepeatClick=true
		OnClickSound=CS_Down
		OnClick=onSelectChar
		bBoundToParent=true
	End Object
	btnPrevChar=CGBbtnPrevChar


	Begin Object Class=GUIButton Name=CGBbtnNextChar
		Hint="Select the team mate you want to fire"
		StyleName="ArrowRight"
		WinWidth=0.048750
		WinHeight=0.061250
		WinLeft=0.898438
		WinTop=0.806667
		bNeverFocus=true
		bRepeatClick=true
		OnClickSound=CS_Up
		OnClick=onSelectChar
		bBoundToParent=true
	End Object
	btnNextChar=CGBbtnNextChar


	Begin Object class=GUICharacterListTeam Name=CGBclSelChar
		Hint="You will fire this team mate"
		WinWidth=0.124694
		WinHeight=0.325000
		WinLeft=0.807213
		WinTop=0.149584
		bCenterInBounds=true
		FixedItemsPerPage=1
		StyleName="CharButton"
		TabOrder=0
		OnChange=UpdateDetails
		bBoundToParent=true
	End Object
	clSelChar=CGBclSelChar


	DefaultWidth=0.8
	DefaultHeight=0.5
	DefaultLeft=0.1
	DefaultTop=0.25


	WinWidth=0.8
	WinHeight=0.5
	WinLeft=0.1
	WinTop=0.25


    Message="You have won the challenge against %enemyteam%. %player% will now become part of your team."
	FullTeamWarning="However your team is already at capacity. You will have to fire one of your team mates first. You will be refunded for the loss of the selected player."
	FireInfo="You have selected to fire %fireplayer%, the refund will be %refund%."
}

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