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
{
	LeaveMPButtonText="Disconnect"
	LeaveSPButtonText="Forfeit"


	SpectateButtonText="Spectate"
	JoinGameButtonText="Join"


	OnRightClick=RightClick


	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"


	BuddyText="Add To Buddy List"


	Begin Object Class=GUIContextMenu name=PlayerListContextMenu
		OnSelect=ContextClick
		OnOpen=ContextMenuOpened
	End Object
	ContextMenu=PlayerListContextMenu


	Begin Object Class=GUIButton Name=TeamButton
		Caption="Change Team"
		StyleName="SquareButton"
		OnClick=TeamChange
		WinWidth=0.250100
		WinLeft=0.372039
		WinTop=0.016613
		TabOrder=0
		bStandardized=true
		bBoundToParent=true
		bScaleToParent=true
	End Object
	b_Team=TeamButton



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


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


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


	Begin Object Class=GUIListBox Name=BlueTeamListBox
		WinWidth=0.418750
		WinHeight=0.400000
		WinLeft=0.521250
		WinTop=0.25
		bVisibleWhenEmpty=True
		StyleName="ServerBrowserGrid"
		SelectedStyleName="BrowserListSelection"
		TabOrder=12
	End Object
	lb_Blue=BlueTeamListBox


	Begin Object Class=GUIListBox Name=FFAPlayerListBox
		WinLeft=0.3250
		WinTop=0.15
		WinWidth=0.35
		WinHeight=0.50
		bVisibleWhenEmpty=True
		StyleName="ServerBrowserGrid"
		SelectedStyleName="BrowserListSelection"
		TabOrder=13
	End Object
	lb_FFA=FFAPlayerListBox


	Begin Object Class=GUIButton Name=SettingsButton
		Caption="Settings"
		StyleName="SquareButton"
		OnClick=ButtonClicked
		WinWidth=0.250100
		WinHeight=0.053366
		WinLeft=0.112345
		WinTop=0.766752
		TabOrder=0
		bBoundToParent=true
		bScaleToParent=true
	End Object
	b_Settings=SettingsButton


	Begin Object Class=GUIButton Name=BrowserButton
		Caption="Server Browser"
		StyleName="SquareButton"
		OnClick=ButtonClicked
		WinWidth=0.20000
		WinHeight=0.05000
		WinLeft=0.375000
		WinTop=0.675
		bAutoSize=True
		TabOrder=1
		bBoundToParent=true
		bScaleToParent=true
	End Object
	b_Browser=BrowserButton


	Begin Object Class=GUIButton Name=LeaveMatchButton
		Caption=""
		StyleName="SquareButton"
		OnClick=ButtonClicked
		WinWidth=0.20000
		WinHeight=0.05000
		WinLeft=0.7250000
		WinTop=0.675
		bAutoSize=True
		TabOrder=2
		bBoundToParent=true
		bScaleToParent=true
	End Object
	b_Leave=LeaveMatchButton


	Begin Object Class=GUIButton Name=FavoritesButton
		Caption="Add to Favs"
		Hint="Add this server to your Favorites"
		StyleName="SquareButton"
		WinWidth=0.20000
		WinHeight=0.05000
		WinLeft=0.02500
		WinTop=0.750
		bBoundToParent=true
		bScaleToParent=true
		OnClick=ButtonClicked
		bAutoSize=True
		TabOrder=3
	End Object
	b_Favs=FavoritesButton


	Begin Object Class=GUIButton Name=QuitGameButton
		Caption="Exit Game"
		StyleName="SquareButton"
		OnClick=ButtonClicked
		WinWidth=0.20000
		WinHeight=0.05000
		WinLeft=0.725000
		WinTop=0.750
		bAutoSize=True
		TabOrder=4
	End Object
	b_Quit=QuitGameButton


	Begin Object Class=GUIButton Name=MapVotingButton
		Caption="Map Voting"
		StyleName="SquareButton"
		OnClick=ButtonClicked
		WinWidth=0.20000
		WinHeight=0.050000
		WinLeft=0.025000
		WinTop=0.825
		bAutoSize=True
		TabOrder=5
	End Object
	b_MapVote=MapVotingButton


	Begin Object Class=GUIButton Name=KickVotingButton
		Caption="Kick Voting"
		StyleName="SquareButton"
		OnClick=ButtonClicked
		WinWidth=0.20000
		WinHeight=0.050000
		WinLeft=0.375000
		WinTop=0.825
		bAutoSize=True
		TabOrder=6
	End Object
	b_KickVote=KickVotingButton


	Begin Object Class=GUIButton Name=MatchSetupButton
		Caption="Match Setup"
		StyleName="SquareButton"
		OnClick=ButtonClicked
		WinWidth=0.20000
		WinHeight=0.050000
		WinLeft=0.725000
		WinTop=0.825
		bAutoSize=True
		TabOrder=7
	End Object
	b_MatchSetup=MatchSetupButton


	Begin Object Class=GUIButton Name=SpectateButton
		Caption="Spectate"
		StyleName="SquareButton"
		OnClick=ButtonClicked
		WinWidth=0.20000
		WinHeight=0.050000
		WinLeft=0.725000
		WinTop=0.825
		bAutoSize=True
		TabOrder=8
	End Object
	b_Spec=SpectateButton



	Begin Object Class=AltSectionBackground Name=SBRed
		WinWidth=0.470135
		WinHeight=0.644078
		WinLeft=0.016600
		LeftPadding=0.01
		RightPadding=0.01
		WinTop=0.083066
		Caption="Red Team"
		bFillClient=true
	End Object
	sb_Red=SBRed


	Begin Object Class=AltSectionBackground Name=SBBlue
		WinWidth=0.468850
		WinHeight=0.644078
		WinLeft=0.512464
		WinTop=0.083066
		LeftPadding=0.01
		RightPadding=0.01
		bFillClient=true
		Caption="Blue Team"
	End Object
	sb_Blue=SBBlue


	Begin Object Class=AltSectionBackground Name=SBFFA
		WinWidth=0.919753
		WinHeight=0.701886
		WinLeft=0.037154
		WinTop=0.024639
		LeftPadding=0.01
		RightPadding=0.01
		bFillClient=true
		Caption="Players"
	End Object
	sb_FFA=SBFFA



	PlayerStyleName="TextLabel"
	OnPreDraw=InternalOnPreDraw
	PropagateVisibility=False
	RedTeam="Red Team:"
	BlueTeam="Blue Team:"
	KickPlayer="Kick "
	BanPlayer="Ban "
}

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