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

GUI2K4.UT2K4Tab_MidGameVoiceChat

Extends
MidGamePanel

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

Variables Summary
stringBlueTeamDesc
intBlueTeamIndex
GUIButtonb_Reset
array<ChatItem>ChatList
moCheckboxch_Ban
moCheckboxch_NoSpeech
moCheckboxch_NoText
moCheckboxch_NoVoiceChat
GUIListBoxlb_Players
GUIListBoxlb_Specs
GUIListli_Players
GUIListli_Specs
stringRedTeamDesc
intRedTeamIndex
GUISectionBackgroundsb_Options
GUISectionBackgroundsb_Players
GUISectionBackgroundsb_Specs
UT2K4Tab_MidGameVoiceChat
stringApplyFailText
stringApplySuccessText
boolbTeamGame
intSelectIndex
Inherited Variables from GUI2K4.MidGamePanel
bLocked

Structures Summary
ChatItem
PlayerID, bNoText, bNoSpeech, bNoVoice, bBanned, bDirty

Functions Summary
functionint AddPlayerInfo (int PlayerID))
function AddToPlayers (PlayerReplicationInfo PRI))
functionbool ApplyRestriction (int i))
function AssociateButtons ()))
function ClearIndexes (GUIList List ))
function ClearLists ()))
event Closed (GUIComponent Sender, bool bCancelled ))
function FillPlayerLists ()))
functionint FindChatListIndex (int PlayerID))
functionGameReplicationInfo GRI ()))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
function InternalOnChange (GUIComponent Sender))
functionbool InternalOnClick (GUIComponent Sender))
function LinkList (GUIList List ))
function ListChange (GUIComponent Sender ))
function LoadRestrictions (int i))
function PackRestriction (int i, out byte Restriction))
function PopulateLists (GameReplicationInfo GRI))
functionbool PreDraw (Canvas Canvas))
function ResetRestrictions ()))
function SaveRestrictions ()))
function SelectedSelf ()))
function ShowPanel (bool bShow ))
function UnpackRestriction (int i, byte Restriction))
function UpdateButtonStates ()))
function UpdateChatRestriction (int PlayerID ))
functionbool ValidIndex (int i))
Inherited Functions from GUI2K4.MidGamePanel
Free, LevelChanged, PlayerIDIsMine, UpdateChatRestriction


Variables Detail

BlueTeamDesc Source code

var localized string BlueTeamDesc;

BlueTeamIndex Source code

var int BlueTeamIndex;

b_Reset Source code

var automated GUIButton b_Reset;

ChatList Source code

var array<ChatItem> ChatList;

ch_Ban Source code

var automated moCheckbox ch_Ban;

ch_NoSpeech Source code

var automated moCheckbox ch_NoSpeech;

ch_NoText Source code

var automated moCheckbox ch_NoText;

ch_NoVoiceChat Source code

var automated moCheckbox ch_NoVoiceChat;

lb_Players Source code

var automated GUIListBox lb_Players;

lb_Specs Source code

var automated GUIListBox lb_Specs;

li_Players Source code

var automated GUIList li_Players;

li_Specs Source code

var automated GUIList li_Specs;

RedTeamDesc Source code

var localized string RedTeamDesc;

RedTeamIndex Source code

var int RedTeamIndex;

sb_Options Source code

var automated GUISectionBackground sb_Options;

sb_Players Source code

var automated GUISectionBackground sb_Players;

sb_Specs Source code

var automated GUISectionBackground sb_Specs;

UT2K4Tab_MidGameVoiceChat

ApplyFailText Source code

var(UT2K4Tab_MidGameVoiceChat) localized string ApplyFailText;

ApplySuccessText Source code

var(UT2K4Tab_MidGameVoiceChat) localized string ApplySuccessText;

bTeamGame Source code

var(UT2K4Tab_MidGameVoiceChat) editconst bool bTeamGame;

SelectIndex Source code

var(UT2K4Tab_MidGameVoiceChat) int SelectIndex;


Structures Detail

ChatItem Source code

struct ChatItem
{
var bool bBanned;
var bool bDirty;
var bool bNoSpeech;
var bool bNoText;
var bool bNoVoice;
var int PlayerID;
};



Functions Detail

AddPlayerInfo Source code

function int AddPlayerInfo ( int PlayerID) )

AddToPlayers Source code

function AddToPlayers ( PlayerReplicationInfo PRI) )

ApplyRestriction Source code

function bool ApplyRestriction ( int i) )

AssociateButtons Source code

function AssociateButtons ( ) )

ClearIndexes Source code

function ClearIndexes ( GUIList List ) )

ClearLists Source code

function ClearLists ( ) )

Closed Source code

event Closed ( GUIComponent Sender, bool bCancelled ) )

FillPlayerLists Source code

function FillPlayerLists ( ) )

FindChatListIndex Source code

function int FindChatListIndex ( int PlayerID) )

GRI Source code

function GameReplicationInfo GRI ( ) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

InternalOnChange Source code

function InternalOnChange ( GUIComponent Sender) )

InternalOnClick Source code

function bool InternalOnClick ( GUIComponent Sender) )

LinkList Source code

function LinkList ( GUIList List ) )

ListChange Source code

function ListChange ( GUIComponent Sender ) )

LoadRestrictions Source code

function LoadRestrictions ( int i) )

PackRestriction Source code

function PackRestriction ( int i, out byte Restriction) )

PopulateLists Source code

function PopulateLists ( GameReplicationInfo GRI) )

PreDraw Source code

function bool PreDraw ( Canvas Canvas) )

ResetRestrictions Source code

function ResetRestrictions ( ) )

SaveRestrictions Source code

function SaveRestrictions ( ) )

SelectedSelf Source code

function SelectedSelf ( ) )

ShowPanel Source code

function ShowPanel ( bool bShow ) )

UnpackRestriction Source code

function UnpackRestriction ( int i, byte Restriction) )

UpdateButtonStates Source code

function UpdateButtonStates ( ) )

UpdateChatRestriction Source code

function UpdateChatRestriction ( int PlayerID ) )

ValidIndex Source code

function bool ValidIndex ( int i) )


Defaultproperties

defaultproperties
{
	Begin Object Class=AltSectionBackground Name=PlayersBackground
        Caption="Players"
        LeftPadding=0.00000
        RightPadding=0.00000
        TopPadding=0.00000
        BottomPadding=0.00000
		WinWidth=0.462019
		WinHeight=0.899506
		WinLeft=0.019250
		WinTop=0.030325
        bBoundToParent=True
        bScaleToParent=True
	End Object
	sb_Players=PlayersBackground


	Begin Object Class=AltSectionBackground Name=SpecBackground
		Caption="Spectators"
        LeftPadding=0.00000
        RightPadding=0.00000
        TopPadding=0.00000
        BottomPadding=0.00000
		WinWidth=0.462019
		WinHeight=0.468385
		WinLeft=0.512544
		WinTop=0.030325
        bBoundToParent=True
        bScaleToParent=True
	End Object
	sb_Specs=SpecBackground


	Begin Object Class=AltSectionBackground Name=OptionBackground
		Caption="Voice Options"
		WinWidth=0.462019
		WinHeight=0.394391
		WinLeft=0.512544
		WinTop=0.508063
		TopPadding=0.04
		BottomPadding=0.0
        bBoundToParent=True
        bScaleToParent=True
	End Object
	sb_Options=OptionBackground


	Begin Object Class=GUIListBox Name=PlayersList
		WinWidth=0.431250
		WinHeight=0.518750
		WinLeft=0.056250
		WinTop=0.041667
		OnChange=ListChange
		bInitializeList=False
		TabOrder=0
		StyleName="NoBackground"
	End Object
	lb_Players=PlayersList


	Begin Object Class=GUIListBox Name=SpecList
		WinWidth=0.431250
		WinHeight=0.518750
		WinLeft=0.531250
		WinTop=0.041667
		OnChange=ListChange
		bInitializeList=False
		TabOrder=1
		StyleName="NoBackground"
	End Object
	lb_Specs=SpecList


	Begin Object Class=moCheckBox Name=NoText
		WinWidth=0.338524
		WinHeight=0.049840
		WinLeft=0.647884
		WinTop=0.620670
		Caption="Ignore Text"
		Hint="Do not receive any text messages from this player"
		OnChange=InternalOnChange
		TabOrder=2
		MenuState=MSAT_Disabled
	End Object
	ch_NoText=NoText


	Begin Object Class=moCheckBox Name=NoSpeech
		WinWidth=0.338524
		WinHeight=0.049840
		WinLeft=0.647884
		WinTop=0.685424
		Caption="Ignore Speech"
		Hint="Do not receive any speech messages, such as \"Incoming!\" from this player"
		OnChange=InternalOnChange
		TabOrder=3
		MenuState=MSAT_Disabled
	End Object
	ch_NoSpeech=NoSpeech


	Begin Object Class=moCheckBox Name=NoVoiceChat
		WinWidth=0.338524
		WinHeight=0.049840
		WinLeft=0.647884
		WinTop=0.750178
		Caption="Ignore Voice Chat"
		Hint="Do not receive any voice chat messages from this player, in any voice chat room"
		OnChange=InternalOnChange
		TabOrder=4
		MenuState=MSAT_Disabled
	End Object
	ch_NoVoiceChat=NoVoiceChat


	Begin Object Class=moCheckBox Name=BanPlayer
		WinWidth=0.338524
		WinHeight=0.049840
		WinLeft=0.647884
		WinTop=0.814932
		Caption="Ban Player"
		Hint="Ban this player from your personal voice chat channel"
		OnChange=InternalOnChange
		TabOrder=5
		MenuState=MSAT_Disabled
	End Object
	ch_Ban=BanPlayer


	Begin Object Class=GUIButton Name=ResetButton
		WinWidth=0.120067
		WinHeight=0.051836
		WinLeft=0.682745
		WinTop=0.899668
		Caption="Reset"
		Hint="Reset & reload all player chat restrictions"
		OnClick=InternalOnClick
		TabOrder=7
		bStandardized=true
		MenuState=MSAT_Disabled
	End Object
	b_Reset=ResetButton


	OnPreDraw=PreDraw
	ApplySuccessText="Changes were saved successfully!"
	ApplyFailText="Changes could not be saved!"


	RedTeamDesc="RED TEAM"
	BlueTeamDesc="BLUE TEAM"


	RedTeamIndex=-1
	BlueTeamIndex=-1
}



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