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

ROInterface.ROGUITeamSelection

Extends
UT2K4GUIPage

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPage
            |   
            +-- XInterface.UT2K4GUIPage
               |   
               +-- ROInterface.ROGUITeamSelection

Variables Summary
BackgroundImagebg_Background
stringBriefing[2]
GUIButtonb_AutoSelect
GUIButtonb_Spectate
GUIButtonb_TeamSelect[2]
ROGameReplicationInfoGRI
GUIScrollTextBoxl_TeamBriefing[2]
GUILabell_TeamCount[2]
intselectedTeam
stringTeamJoinHint[2]
stringTeamJoinText[2]
stringUnitsText
Inherited Variables from XInterface.UT2K4GUIPage
BeepSound, FadeInSound, PopInSound, SlideInSound
Inherited Variables from XInterface.GUIPage
Background, BackgroundColor, BackgroundRStyle, bAllowedAsLast, bCaptureInput, bCheckResolution, bDisconnectOnOpen, bPauseIfPossible, bPersistent, bRenderWorld, bRequire640x480, bRestorable, CloseSound, InactiveFadeColor, OpenSound, ParentPage, Timers

Functions Summary
functionint getTeamCount (int index))
functionint getTeamCountStatic (ROGameReplicationInfo GRI, PlayerController controller, int index))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
functionbool InternalOnClick (GUIComponent Sender ))
function InternalOnClose (optional bool bCancelled))
functionbool InternalOnKeyEvent (out byte Key, out byte State, float delta))
function InternalOnMessage (coerce string Msg, float MsgLife))
function loadBriefing ()))
function SelectTeam (int team))
function SelectTeamSuccessfull ()))
function SetButtonsState (bool bDisabled))
function Timer ()))
function UpdateTeamCounts ()))
Inherited Functions from XInterface.GUIPage
AllowOpen, ChangeHint, CheckResolution, Closed, Free, GetDataString, GetRestoreParams, HandleObject, HandleParameters, InitComponent, IsOpen, NotifyLevelChange, PlayCloseSound, PlayOpenSound, SetDataString, SetFocus


Variables Detail

bg_Background Source code

var automated BackgroundImage bg_Background;

Briefing[2] Source code

var localized string Briefing[2];

b_AutoSelect Source code

var automated GUIButton b_AutoSelect;

b_Spectate Source code

var automated GUIButton b_Spectate;

b_TeamSelect[2] Source code

var automated GUIButton b_TeamSelect[2];

GRI Source code

var ROGameReplicationInfo GRI;

l_TeamBriefing[2] Source code

var automated GUIScrollTextBox l_TeamBriefing[2];

l_TeamCount[2] Source code

var automated GUILabel l_TeamCount[2];

selectedTeam Source code

var int selectedTeam;

TeamJoinHint[2] Source code

var localized string TeamJoinHint[2];

TeamJoinText[2] Source code

var localized string TeamJoinText[2];

UnitsText Source code

var localized string UnitsText;


Functions Detail

getTeamCount Source code

function int getTeamCount ( int index) )

getTeamCountStatic Source code

static function int getTeamCountStatic ( ROGameReplicationInfo GRI, PlayerController controller, int index) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

InternalOnClick Source code

function bool InternalOnClick ( GUIComponent Sender ) )

InternalOnClose Source code

function InternalOnClose ( optional bool bCancelled) )

InternalOnKeyEvent Source code

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

InternalOnMessage Source code

function InternalOnMessage ( coerce string Msg, float MsgLife) )

loadBriefing Source code

function loadBriefing ( ) )

SelectTeam Source code

function SelectTeam ( int team) )

SelectTeamSuccessfull Source code

function SelectTeamSuccessfull ( ) )

SetButtonsState Source code

function SetButtonsState ( bool bDisabled) )

Timer Source code

function Timer ( ) )

UpdateTeamCounts Source code

function UpdateTeamCounts ( ) )


Defaultproperties

defaultproperties
{
     Begin Object Class=GUILabel Name=TeamsCount
         Caption="? units"
         TextAlign=TXTA_Center
         StyleName="TextLabel"
         WinTop=0.415000
         WinLeft=0.096250
         WinWidth=0.300000
         WinHeight=0.040000
     End Object
     l_TeamCount(0)=GUILabel'ROInterface.ROGUITeamSelection.TeamsCount'


     Begin Object Class=GUILabel Name=TeamsCount2
         Caption="? units"
         TextAlign=TXTA_Center
         StyleName="TextLabel"
         WinTop=0.871667
         WinLeft=0.096250
         WinWidth=0.300000
         WinHeight=0.040000
     End Object
     l_TeamCount(1)=GUILabel'ROInterface.ROGUITeamSelection.TeamsCount2'


     Begin Object Class=GUIScrollTextBox Name=TeamsBriefing
         bNoTeletype=True
         OnCreateComponent=TeamsBriefing.InternalOnCreateComponent
         StyleName="TextLabel"
         WinTop=0.078333
         WinLeft=0.503750
         WinWidth=0.446250
         WinHeight=0.342498
     End Object
     l_TeamBriefing(0)=GUIScrollTextBox'ROInterface.ROGUITeamSelection.TeamsBriefing'


     Begin Object Class=GUIScrollTextBox Name=TeamsBriefing2
         bNoTeletype=True
         OnCreateComponent=TeamsBriefing2.InternalOnCreateComponent
         StyleName="TextLabel"
         WinTop=0.530000
         WinLeft=0.503750
         WinWidth=0.446250
         WinHeight=0.342498
     End Object
     l_TeamBriefing(1)=GUIScrollTextBox'ROInterface.ROGUITeamSelection.TeamsBriefing2'


     Begin Object Class=GUIButton Name=JoinTeamButton
         StyleName="SelectButton"
         WinTop=0.370000
         WinLeft=0.118750
         WinWidth=0.250000
         WinHeight=0.050000
         TabOrder=1
         OnClick=ROGUITeamSelection.InternalOnClick
         OnKeyEvent=ROGUITeamSelection.InternalOnKeyEvent
     End Object
     b_TeamSelect(0)=GUIButton'ROInterface.ROGUITeamSelection.JoinTeamButton'


     Begin Object Class=GUIButton Name=JoinTeamButton2
         StyleName="SelectButton"
         WinTop=0.823333
         WinLeft=0.118750
         WinWidth=0.250000
         WinHeight=0.050000
         TabOrder=2
         OnClick=ROGUITeamSelection.InternalOnClick
         OnKeyEvent=ROGUITeamSelection.InternalOnKeyEvent
     End Object
     b_TeamSelect(1)=GUIButton'ROInterface.ROGUITeamSelection.JoinTeamButton2'


     Begin Object Class=GUIButton Name=Spectate
         Caption="Spectate"
         StyleName="SelectTab"
         Hint="Join the game as a spectator"
         WinTop=0.920000
         WinLeft=0.550000
         WinWidth=0.250000
         WinHeight=0.050000
         TabOrder=4
         OnClick=ROGUITeamSelection.InternalOnClick
         OnKeyEvent=ROGUITeamSelection.InternalOnKeyEvent
     End Object
     b_Spectate=GUIButton'ROInterface.ROGUITeamSelection.Spectate'


     Begin Object Class=GUIButton Name=AutoSelect
         Caption="Auto-select"
         StyleName="SelectTab"
         Hint="Join the team with the fewest players"
         WinTop=0.920000
         WinLeft=0.250000
         WinWidth=0.250000
         WinHeight=0.050000
         TabOrder=3
         OnClick=ROGUITeamSelection.InternalOnClick
         OnKeyEvent=ROGUITeamSelection.InternalOnKeyEvent
     End Object
     b_AutoSelect=GUIButton'ROInterface.ROGUITeamSelection.AutoSelect'


     Begin Object Class=BackgroundImage Name=PageBackground
         Image=Texture'InterfaceArt_tex.SelectMenus.Teamselect'
         ImageStyle=ISTY_Scaled
         ImageRenderStyle=MSTY_Alpha
         X1=0
         Y1=0
         X2=1023
         Y2=1023
     End Object
     bg_Background=BackgroundImage'ROInterface.ROGUITeamSelection.PageBackground'


     Briefing(0)="Axis briefing"
     Briefing(1)="Allied briefing"
     TeamJoinText(0)="JOIN AXIS"
     TeamJoinText(1)="JOIN ALLIES"
     TeamJoinHint(0)="Join Axis forces"
     TeamJoinHint(1)="Join Allies forces"
     UnitsText=" units"
     bRenderWorld=True
     bAllowedAsLast=True
     OnClose=ROGUITeamSelection.InternalOnClose
     OnMessage=ROGUITeamSelection.InternalOnMessage
     OnKeyEvent=ROGUITeamSelection.InternalOnKeyEvent
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Fri 13-10-2023 03:18:51.691 - Created with UnCodeX