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=GUICharacterListTeam Name=CGBclSelChar
         FixedItemsPerPage=1
         StyleName="CharButton"
         Hint="You will fire this team mate"
         WinTop=0.149584
         WinLeft=0.807213
         WinWidth=0.124694
         WinHeight=0.325000
         TabOrder=0
         bBoundToParent=True
         OnClick=CGBclSelChar.InternalOnClick
         OnRightClick=CGBclSelChar.InternalOnRightClick
         OnMousePressed=CGBclSelChar.InternalOnMousePressed
         OnMouseRelease=CGBclSelChar.InternalOnMouseRelease
         OnChange=UT2K4SP_CGBRTrade.UpdateDetails
         OnKeyEvent=CGBclSelChar.InternalOnKeyEvent
         OnBeginDrag=CGBclSelChar.InternalOnBeginDrag
         OnEndDrag=CGBclSelChar.InternalOnEndDrag
         OnDragDrop=CGBclSelChar.InternalOnDragDrop
         OnDragEnter=CGBclSelChar.InternalOnDragEnter
         OnDragLeave=CGBclSelChar.InternalOnDragLeave
         OnDragOver=CGBclSelChar.InternalOnDragOver
     End Object
     clSelChar=GUICharacterListTeam'GUI2K4.UT2K4SP_CGBRTrade.CGBclSelChar'

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

     Begin Object Class=GUIButton Name=CGBbtnPrevChar
         StyleName="ArrowLeft"
         Hint="Select the team mate you want to fire"
         WinTop=0.806667
         WinLeft=0.805001
         WinWidth=0.048750
         WinHeight=0.061250
         bBoundToParent=True
         bNeverFocus=True
         bRepeatClick=True
         OnClickSound=CS_Down
         OnClick=UT2K4SP_CGBRTrade.onSelectChar
         OnKeyEvent=CGBbtnPrevChar.InternalOnKeyEvent
     End Object
     btnPrevChar=GUIButton'GUI2K4.UT2K4SP_CGBRTrade.CGBbtnPrevChar'

     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%."
     Message="You have won the challenge against %enemyteam%. %player% will now become part of your team."
     DefaultLeft=0.100000
     DefaultWidth=0.800000
     WinLeft=0.100000
     WinWidth=0.800000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Wed 7/2/2007 19:16:23.437 - Created with UnCodeX