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

GUI2K4.UT2K4Tab_PlayerLoginControls

Extends
MidGamePanel

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPanel
            |   
            +-- XInterface.GUITabPanel
               |   
               +-- XInterface.UT2K4TabPanel
                  |   
                  +-- GUI2K4.MidGamePanel
                     |   
                     +-- GUI2K4.UT2K4Tab_PlayerLoginControls

Direct Known Subclasses:

UT2K4Tab_PlayerLoginControlsInvasion, UT2K4Tab_PlayerLoginControlsOnslaught, UT2K4Tab_SinglePlayerLoginControls

Variables Summary
stringBanPlayer
stringBlueTeam
stringBuddyText
GUIButtonb_Browser
GUIButtonb_Favs
GUIButtonb_KickVote
GUIButtonb_Leave
GUIButtonb_MapVote
GUIButtonb_MatchSetup
GUIButtonb_Quit
GUIButtonb_Settings
GUIButtonb_Spec
GUIButtonb_Team
array<string>ContextItems
array<string>DefaultItems
GUIImagei_JoinBlue
GUIImagei_JoinRed
stringJoinGameButtonText
stringKickPlayer
GUIListBoxlb_Blue
GUIListBoxlb_FFA
GUIListBoxlb_Red
stringLeaveMPButtonText
stringLeaveSPButtonText
GUIListli_Blue
GUIListli_FFA
GUIListli_Red
GUIStylesPlayerStyle
stringPlayerStyleName
stringRedTeam
GUISectionBackgroundsb_Blue
GUISectionBackgroundsb_FFA
GUISectionBackgroundsb_Red
stringSpectateButtonText
UT2K4Tab_PlayerLoginControls
boolbFFAGame
boolbNetGame
boolbTeamGame
Inherited Variables from GUI2K4.MidGamePanel
bLocked

Functions Summary
function AddPlayer (GameReplicationInfo GRI, int Index, GUIList List))
functionbool ButtonClicked (GUIComponent Sender))
event Closed (GUIComponent Sender, bool bCancelled ))
function ContextClick (GUIContextMenu Menu, int ClickIndex))
functionbool ContextMenuOpened (GUIContextMenu Menu ))
functionbool CurrentServerIsInFavorites ()))
function DrawPlayerItem (PlayerReplicationInfo PRI, Canvas Canvas, float X, float Y, float W, float H, bool bSelected, bool bPending))
functionGameReplicationInfo GetGRI ()))
functionstring GetSizingCaption ()))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
function InitGRI ()))
function InitializePlayerLists ()))
function InitLists ()))
functionbool InternalOnPreDraw (Canvas C))
functionfloat ItemHeight (Canvas C))
function ListChange (GUIComponent Sender ))
function OnDrawBluePlayer (Canvas Canvas, int i, float X, float Y, float W, float H, bool bSelected, bool bPending))
function OnDrawFFAPlayer (Canvas Canvas, int i, float X, float Y, float W, float H, bool bSelected, bool bPending))
function OnDrawRedPlayer (Canvas Canvas, int i, float X, float Y, float W, float H, bool bSelected, bool bPending))
functionbool RedDraw (Canvas C))
functionbool RightClick (GUIComponent Sender ))
function SetButtonPositions (Canvas C))
function SetupGroups ()))
function ShowPanel (bool bShow))
functionbool TeamChange (GUIComponent Sender))
function UpdatePlayerLists ()))
function ValidatePlayer (string PlayerID, GUIList List, int Index))
Inherited Functions from GUI2K4.MidGamePanel
Free, LevelChanged, PlayerIDIsMine, UpdateChatRestriction


Variables Detail

BanPlayer Source code

var localized string BanPlayer;

BlueTeam Source code

var localized string BlueTeam;

BuddyText Source code

var localized string BuddyText;

b_Browser Source code

var automated GUIButton b_Browser;

b_Favs Source code

var automated GUIButton b_Favs;

b_KickVote Source code

var automated GUIButton b_KickVote;

b_Leave Source code

var automated GUIButton b_Leave;

b_MapVote Source code

var automated GUIButton b_MapVote;

b_MatchSetup Source code

var automated GUIButton b_MatchSetup;

b_Quit Source code

var automated GUIButton b_Quit;

b_Settings Source code

var automated GUIButton b_Settings;

b_Spec Source code

var automated GUIButton b_Spec;

b_Team Source code

var automated GUIButton b_Team;

ContextItems Source code

var localized array<string> ContextItems;

DefaultItems Source code

var localized array<string> DefaultItems;

i_JoinBlue Source code

var automated GUIImage i_JoinBlue;

i_JoinRed Source code

var automated GUIImage i_JoinRed;

JoinGameButtonText Source code

var localized string JoinGameButtonText;

KickPlayer Source code

var localized string KickPlayer;

lb_Blue Source code

var automated GUIListBox lb_Blue;

lb_FFA Source code

var automated GUIListBox lb_FFA;

lb_Red Source code

var automated GUIListBox lb_Red;

LeaveMPButtonText Source code

var localized string LeaveMPButtonText;

LeaveSPButtonText Source code

var localized string LeaveSPButtonText;

li_Blue Source code

var GUIList li_Blue;

li_FFA Source code

var GUIList li_FFA;

li_Red Source code

var GUIList li_Red;

PlayerStyle Source code

var GUIStyles PlayerStyle;

PlayerStyleName Source code

var string PlayerStyleName;

RedTeam Source code

var localized string RedTeam;

sb_Blue Source code

var automated GUISectionBackground sb_Blue;

sb_FFA Source code

var automated GUISectionBackground sb_FFA;

sb_Red Source code

var automated GUISectionBackground sb_Red;

SpectateButtonText Source code

var localized string SpectateButtonText;

UT2K4Tab_PlayerLoginControls

bFFAGame Source code

var(UT2K4Tab_PlayerLoginControls) noexport bool bFFAGame;

bNetGame Source code

var(UT2K4Tab_PlayerLoginControls) noexport bool bNetGame;

bTeamGame Source code

var(UT2K4Tab_PlayerLoginControls) noexport bool bTeamGame;


Functions Detail

AddPlayer Source code

function AddPlayer ( GameReplicationInfo GRI, int Index, GUIList List) )

ButtonClicked Source code

function bool ButtonClicked ( GUIComponent Sender) )

Closed Source code

event Closed ( GUIComponent Sender, bool bCancelled ) )

ContextClick Source code

function ContextClick ( GUIContextMenu Menu, int ClickIndex) )

ContextMenuOpened Source code

function bool ContextMenuOpened ( GUIContextMenu Menu ) )

CurrentServerIsInFavorites Source code

function bool CurrentServerIsInFavorites ( ) )

DrawPlayerItem Source code

function DrawPlayerItem ( PlayerReplicationInfo PRI, Canvas Canvas, float X, float Y, float W, float H, bool bSelected, bool bPending) )

GetGRI Source code

function GameReplicationInfo GetGRI ( ) )

GetSizingCaption Source code

function string GetSizingCaption ( ) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

InitGRI Source code

function InitGRI ( ) )

InitializePlayerLists Source code

function InitializePlayerLists ( ) )

InitLists Source code

function InitLists ( ) )

InternalOnPreDraw Source code

function bool InternalOnPreDraw ( Canvas C) )

ItemHeight Source code

function float ItemHeight ( Canvas C) )

ListChange Source code

function ListChange ( GUIComponent Sender ) )

OnDrawBluePlayer Source code

function OnDrawBluePlayer ( Canvas Canvas, int i, float X, float Y, float W, float H, bool bSelected, bool bPending) )

OnDrawFFAPlayer Source code

function OnDrawFFAPlayer ( Canvas Canvas, int i, float X, float Y, float W, float H, bool bSelected, bool bPending) )

OnDrawRedPlayer Source code

function OnDrawRedPlayer ( Canvas Canvas, int i, float X, float Y, float W, float H, bool bSelected, bool bPending) )

RedDraw Source code

function bool RedDraw ( Canvas C) )

RightClick Source code

function bool RightClick ( GUIComponent Sender ) )

SetButtonPositions Source code

function SetButtonPositions ( Canvas C) )

SetupGroups Source code

function SetupGroups ( ) )

ShowPanel Source code

function ShowPanel ( bool bShow) )

TeamChange Source code

function bool TeamChange ( GUIComponent Sender) )

UpdatePlayerLists Source code

protected function UpdatePlayerLists ( ) )

ValidatePlayer Source code

function ValidatePlayer ( string PlayerID, GUIList List, int Index) )


Defaultproperties

defaultproperties
{
     Begin Object Class=AltSectionBackground Name=SBRed
         bFillClient=True
         Caption="Red Team"
         LeftPadding=0.010000
         RightPadding=0.010000
         WinTop=0.083066
         WinLeft=0.016600
         WinWidth=0.470135
         WinHeight=0.644078
         OnPreDraw=SBRed.InternalPreDraw
     End Object
     sb_Red=AltSectionBackground'GUI2K4.UT2K4Tab_PlayerLoginControls.SBRed'


     Begin Object Class=AltSectionBackground Name=SBBlue
         bFillClient=True
         Caption="Blue Team"
         LeftPadding=0.010000
         RightPadding=0.010000
         WinTop=0.083066
         WinLeft=0.512464
         WinWidth=0.468850
         WinHeight=0.644078
         OnPreDraw=SBBlue.InternalPreDraw
     End Object
     sb_Blue=AltSectionBackground'GUI2K4.UT2K4Tab_PlayerLoginControls.SBBlue'


     Begin Object Class=AltSectionBackground Name=SBFFA
         bFillClient=True
         Caption="Players"
         LeftPadding=0.010000
         RightPadding=0.010000
         WinTop=0.024639
         WinLeft=0.037154
         WinWidth=0.919753
         WinHeight=0.701886
         OnPreDraw=SBFFA.InternalPreDraw
     End Object
     sb_FFA=AltSectionBackground'GUI2K4.UT2K4Tab_PlayerLoginControls.SBFFA'


     Begin Object Class=GUIImage Name=JoinRedButton
         ImageColor=(B=100,G=100,A=90)
         ImageStyle=ISTY_Scaled
         WinTop=0.150160
         WinLeft=0.030776
         WinWidth=0.439040
         WinHeight=0.464040
         TabOrder=9
         bBoundToParent=True
         bScaleToParent=True
         OnDraw=UT2K4Tab_PlayerLoginControls.RedDraw
     End Object
     i_JoinRed=GUIImage'GUI2K4.UT2K4Tab_PlayerLoginControls.JoinRedButton'


     Begin Object Class=GUIImage Name=JoinBlueButton
         ImageColor=(G=128,R=0,A=90)
         ImageStyle=ISTY_Scaled
         WinTop=0.141814
         WinLeft=0.531779
         WinWidth=0.439040
         WinHeight=0.464040
         TabOrder=10
         bBoundToParent=True
         bScaleToParent=True
     End Object
     i_JoinBlue=GUIImage'GUI2K4.UT2K4Tab_PlayerLoginControls.JoinBlueButton'


     Begin Object Class=GUIListBox Name=RedTeamListBox
         SelectedStyleName="BrowserListSelection"
         bVisibleWhenEmpty=True
         OnCreateComponent=RedTeamListBox.InternalOnCreateComponent
         StyleName="ServerBrowserGrid"
         WinTop=0.250000
         WinLeft=0.050000
         WinWidth=0.418750
         WinHeight=0.400000
         TabOrder=11
     End Object
     lb_Red=GUIListBox'GUI2K4.UT2K4Tab_PlayerLoginControls.RedTeamListBox'


     Begin Object Class=GUIListBox Name=BlueTeamListBox
         SelectedStyleName="BrowserListSelection"
         bVisibleWhenEmpty=True
         OnCreateComponent=BlueTeamListBox.InternalOnCreateComponent
         StyleName="ServerBrowserGrid"
         WinTop=0.250000
         WinLeft=0.521250
         WinWidth=0.418750
         WinHeight=0.400000
         TabOrder=12
     End Object
     lb_Blue=GUIListBox'GUI2K4.UT2K4Tab_PlayerLoginControls.BlueTeamListBox'


     Begin Object Class=GUIListBox Name=FFAPlayerListBox
         SelectedStyleName="BrowserListSelection"
         bVisibleWhenEmpty=True
         OnCreateComponent=FFAPlayerListBox.InternalOnCreateComponent
         StyleName="ServerBrowserGrid"
         WinTop=0.150000
         WinLeft=0.325000
         WinWidth=0.350000
         WinHeight=0.500000
         TabOrder=13
     End Object
     lb_FFA=GUIListBox'GUI2K4.UT2K4Tab_PlayerLoginControls.FFAPlayerListBox'


     Begin Object Class=GUIButton Name=TeamButton
         Caption="Change Team"
         WinTop=0.016613
         WinLeft=0.372039
         WinWidth=0.250100
         TabOrder=0
         bBoundToParent=True
         bScaleToParent=True
         bStandardized=True
         OnClick=UT2K4Tab_PlayerLoginControls.TeamChange
         OnKeyEvent=TeamButton.InternalOnKeyEvent
     End Object
     b_Team=GUIButton'GUI2K4.UT2K4Tab_PlayerLoginControls.TeamButton'


     Begin Object Class=GUIButton Name=SettingsButton
         Caption="Settings"
         WinTop=0.766752
         WinLeft=0.112345
         WinWidth=0.250100
         WinHeight=0.053366
         TabOrder=0
         bBoundToParent=True
         bScaleToParent=True
         OnClick=UT2K4Tab_PlayerLoginControls.ButtonClicked
         OnKeyEvent=SettingsButton.InternalOnKeyEvent
     End Object
     b_Settings=GUIButton'GUI2K4.UT2K4Tab_PlayerLoginControls.SettingsButton'


     Begin Object Class=GUIButton Name=BrowserButton
         Caption="Server Browser"
         bAutoSize=True
         WinTop=0.675000
         WinLeft=0.375000
         WinWidth=0.200000
         WinHeight=0.050000
         TabOrder=1
         bBoundToParent=True
         bScaleToParent=True
         OnClick=UT2K4Tab_PlayerLoginControls.ButtonClicked
         OnKeyEvent=BrowserButton.InternalOnKeyEvent
     End Object
     b_Browser=GUIButton'GUI2K4.UT2K4Tab_PlayerLoginControls.BrowserButton'


     Begin Object Class=GUIButton Name=QuitGameButton
         Caption="Exit Game"
         bAutoSize=True
         WinTop=0.750000
         WinLeft=0.725000
         WinWidth=0.200000
         WinHeight=0.050000
         TabOrder=4
         OnClick=UT2K4Tab_PlayerLoginControls.ButtonClicked
         OnKeyEvent=QuitGameButton.InternalOnKeyEvent
     End Object
     b_Quit=GUIButton'GUI2K4.UT2K4Tab_PlayerLoginControls.QuitGameButton'


     Begin Object Class=GUIButton Name=FavoritesButton
         Caption="Add to Favs"
         bAutoSize=True
         Hint="Add this server to your Favorites"
         WinTop=0.750000
         WinLeft=0.025000
         WinWidth=0.200000
         WinHeight=0.050000
         TabOrder=3
         bBoundToParent=True
         bScaleToParent=True
         OnClick=UT2K4Tab_PlayerLoginControls.ButtonClicked
         OnKeyEvent=FavoritesButton.InternalOnKeyEvent
     End Object
     b_Favs=GUIButton'GUI2K4.UT2K4Tab_PlayerLoginControls.FavoritesButton'


     Begin Object Class=GUIButton Name=LeaveMatchButton
         bAutoSize=True
         WinTop=0.675000
         WinLeft=0.725000
         WinWidth=0.200000
         WinHeight=0.050000
         TabOrder=2
         bBoundToParent=True
         bScaleToParent=True
         OnClick=UT2K4Tab_PlayerLoginControls.ButtonClicked
         OnKeyEvent=LeaveMatchButton.InternalOnKeyEvent
     End Object
     b_Leave=GUIButton'GUI2K4.UT2K4Tab_PlayerLoginControls.LeaveMatchButton'


     Begin Object Class=GUIButton Name=MapVotingButton
         Caption="Map Voting"
         bAutoSize=True
         WinTop=0.825000
         WinLeft=0.025000
         WinWidth=0.200000
         WinHeight=0.050000
         TabOrder=5
         OnClick=UT2K4Tab_PlayerLoginControls.ButtonClicked
         OnKeyEvent=MapVotingButton.InternalOnKeyEvent
     End Object
     b_MapVote=GUIButton'GUI2K4.UT2K4Tab_PlayerLoginControls.MapVotingButton'


     Begin Object Class=GUIButton Name=KickVotingButton
         Caption="Kick Voting"
         bAutoSize=True
         WinTop=0.825000
         WinLeft=0.375000
         WinWidth=0.200000
         WinHeight=0.050000
         TabOrder=6
         OnClick=UT2K4Tab_PlayerLoginControls.ButtonClicked
         OnKeyEvent=KickVotingButton.InternalOnKeyEvent
     End Object
     b_KickVote=GUIButton'GUI2K4.UT2K4Tab_PlayerLoginControls.KickVotingButton'


     Begin Object Class=GUIButton Name=MatchSetupButton
         Caption="Match Setup"
         bAutoSize=True
         WinTop=0.825000
         WinLeft=0.725000
         WinWidth=0.200000
         WinHeight=0.050000
         TabOrder=7
         OnClick=UT2K4Tab_PlayerLoginControls.ButtonClicked
         OnKeyEvent=MatchSetupButton.InternalOnKeyEvent
     End Object
     b_MatchSetup=GUIButton'GUI2K4.UT2K4Tab_PlayerLoginControls.MatchSetupButton'


     Begin Object Class=GUIButton Name=SpectateButton
         Caption="Spectate"
         bAutoSize=True
         WinTop=0.825000
         WinLeft=0.725000
         WinWidth=0.200000
         WinHeight=0.050000
         TabOrder=8
         OnClick=UT2K4Tab_PlayerLoginControls.ButtonClicked
         OnKeyEvent=SpectateButton.InternalOnKeyEvent
     End Object
     b_Spec=GUIButton'GUI2K4.UT2K4Tab_PlayerLoginControls.SpectateButton'


     LeaveMPButtonText="Disconnect"
     LeaveSPButtonText="Forfeit"
     SpectateButtonText="Spectate"
     JoinGameButtonText="Join"
     ContextItems(0)="Unignore text"
     ContextItems(1)="Unignore speech"
     ContextItems(2)="Unignore voice chat"
     ContextItems(3)="Unban from voice chat"
     DefaultItems(0)="Ignore text"
     DefaultItems(1)="Ignore speech"
     DefaultItems(2)="Ignore voice chat"
     DefaultItems(3)="Ban from voice chat"
     KickPlayer="Kick "
     BanPlayer="Ban "
     BuddyText="Add To Buddy List"
     RedTeam="Red Team:"
     BlueTeam="Blue Team:"
     PlayerStyleName="TextLabel"
     PropagateVisibility=False
     Begin Object Class=GUIContextMenu Name=PlayerListContextMenu
         OnOpen=UT2K4Tab_PlayerLoginControls.ContextMenuOpened
         OnSelect=UT2K4Tab_PlayerLoginControls.ContextClick
     End Object
     ContextMenu=GUIContextMenu'GUI2K4.UT2K4Tab_PlayerLoginControls.PlayerListContextMenu'


     OnPreDraw=UT2K4Tab_PlayerLoginControls.InternalOnPreDraw
     OnRightClick=UT2K4Tab_PlayerLoginControls.RightClick
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 09:49:57.647 - Created with UnCodeX