GUI2K4.UT2K4Tab_MidGameVoiceChat
- Extends
- MidGamePanel
Core.Object
|
+-- XInterface.GUI
|
+-- XInterface.GUIComponent
|
+-- XInterface.GUIMultiComponent
|
+-- XInterface.GUIPanel
|
+-- XInterface.GUITabPanel
|
+-- XInterface.UT2K4TabPanel
|
+-- GUI2K4.MidGamePanel
|
+-- GUI2K4.UT2K4Tab_MidGameVoiceChat
Structures Summary |
ChatItem PlayerID, bNoText, bNoSpeech, bNoVoice, bBanned, bDirty |
var localized string BlueTeamDesc;
var int BlueTeamIndex;
var localized string RedTeamDesc;
var int RedTeamIndex;
UT2K4Tab_MidGameVoiceChat
struct ChatItem
{
var bool bBanned;
var bool bDirty;
var bool bNoSpeech;
var bool bNoText;
var bool bNoVoice;
var int PlayerID;
};
function int AddPlayerInfo ( int PlayerID )
function bool ApplyRestriction ( int i )
function AssociateButtons ( )
function ClearIndexes (
GUIList List )
function ClearLists ( )
function FillPlayerLists ( )
function int FindChatListIndex ( int PlayerID )
function LoadRestrictions ( int i )
function PackRestriction ( int i, out byte Restriction )
function ResetRestrictions ( )
function SaveRestrictions ( )
function SelectedSelf ( )
function ShowPanel ( bool bShow )
function UnpackRestriction ( int i, byte Restriction )
function UpdateButtonStates ( )
function UpdateChatRestriction ( int PlayerID )
function bool ValidIndex ( int i )
defaultproperties
{
Begin Object Class=AltSectionBackground Name=PlayersBackground
Caption="Players"
LeftPadding=0.000000
RightPadding=0.000000
WinTop=0.030325
WinLeft=0.019250
WinWidth=0.462019
WinHeight=0.899506
bBoundToParent=True
bScaleToParent=True
OnPreDraw=PlayersBackground.InternalPreDraw
End Object
sb_Players=AltSectionBackground'GUI2K4.UT2K4Tab_MidGameVoiceChat.PlayersBackground'
Begin Object Class=AltSectionBackground Name=SpecBackground
Caption="Spectators"
LeftPadding=0.000000
RightPadding=0.000000
WinTop=0.030325
WinLeft=0.512544
WinWidth=0.462019
WinHeight=0.468385
bBoundToParent=True
bScaleToParent=True
OnPreDraw=SpecBackground.InternalPreDraw
End Object
sb_Specs=AltSectionBackground'GUI2K4.UT2K4Tab_MidGameVoiceChat.SpecBackground'
Begin Object Class=AltSectionBackground Name=OptionBackground
Caption="Voice Options"
TopPadding=0.040000
WinTop=0.508063
WinLeft=0.512544
WinWidth=0.462019
WinHeight=0.394391
bBoundToParent=True
bScaleToParent=True
OnPreDraw=OptionBackground.InternalPreDraw
End Object
sb_Options=AltSectionBackground'GUI2K4.UT2K4Tab_MidGameVoiceChat.OptionBackground'
Begin Object Class=GUIListBox Name=PlayersList
bInitializeList=False
OnCreateComponent=PlayersList.InternalOnCreateComponent
WinTop=0.041667
WinLeft=0.056250
WinWidth=0.431250
WinHeight=0.518750
TabOrder=0
OnChange=UT2K4Tab_MidGameVoiceChat.ListChange
End Object
lb_Players=GUIListBox'GUI2K4.UT2K4Tab_MidGameVoiceChat.PlayersList'
Begin Object Class=GUIListBox Name=SpecList
bInitializeList=False
OnCreateComponent=SpecList.InternalOnCreateComponent
WinTop=0.041667
WinLeft=0.531250
WinWidth=0.431250
WinHeight=0.518750
TabOrder=1
OnChange=UT2K4Tab_MidGameVoiceChat.ListChange
End Object
lb_Specs=GUIListBox'GUI2K4.UT2K4Tab_MidGameVoiceChat.SpecList'
Begin Object Class=moCheckBox Name=NoVoiceChat
Caption="Ignore Voice Chat"
OnCreateComponent=NoVoiceChat.InternalOnCreateComponent
MenuState=MSAT_Disabled
Hint="Do not receive any voice chat messages from this player, in any voice chat room"
WinTop=0.750178
WinLeft=0.647884
WinWidth=0.338524
WinHeight=0.049840
TabOrder=4
OnChange=UT2K4Tab_MidGameVoiceChat.InternalOnChange
End Object
ch_NoVoiceChat=moCheckBox'GUI2K4.UT2K4Tab_MidGameVoiceChat.NoVoiceChat'
Begin Object Class=moCheckBox Name=NOSPEECH
Caption="Ignore Speech"
OnCreateComponent=NOSPEECH.InternalOnCreateComponent
MenuState=MSAT_Disabled
Hint="Do not receive any speech messages, such as "Incoming!" from this player"
WinTop=0.685424
WinLeft=0.647884
WinWidth=0.338524
WinHeight=0.049840
TabOrder=3
OnChange=UT2K4Tab_MidGameVoiceChat.InternalOnChange
End Object
ch_NoSpeech=moCheckBox'GUI2K4.UT2K4Tab_MidGameVoiceChat.NOSPEECH'
Begin Object Class=moCheckBox Name=NOTEXT
Caption="Ignore Text"
OnCreateComponent=NOTEXT.InternalOnCreateComponent
MenuState=MSAT_Disabled
Hint="Do not receive any text messages from this player"
WinTop=0.620670
WinLeft=0.647884
WinWidth=0.338524
WinHeight=0.049840
TabOrder=2
OnChange=UT2K4Tab_MidGameVoiceChat.InternalOnChange
End Object
ch_NoText=moCheckBox'GUI2K4.UT2K4Tab_MidGameVoiceChat.NOTEXT'
Begin Object Class=moCheckBox Name=BanPlayer
Caption="Ban Player"
OnCreateComponent=BanPlayer.InternalOnCreateComponent
MenuState=MSAT_Disabled
Hint="Ban this player from your personal voice chat channel"
WinTop=0.814932
WinLeft=0.647884
WinWidth=0.338524
WinHeight=0.049840
TabOrder=5
OnChange=UT2K4Tab_MidGameVoiceChat.InternalOnChange
End Object
ch_Ban=moCheckBox'GUI2K4.UT2K4Tab_MidGameVoiceChat.BanPlayer'
Begin Object Class=GUIButton Name=ResetButton
Caption="Reset"
MenuState=MSAT_Disabled
Hint="Reset & reload all player chat restrictions"
WinTop=0.899668
WinLeft=0.682745
WinWidth=0.120067
WinHeight=0.051836
TabOrder=7
bStandardized=True
OnClick=UT2K4Tab_MidGameVoiceChat.InternalOnClick
OnKeyEvent=ResetButton.InternalOnKeyEvent
End Object
b_Reset=GUIButton'GUI2K4.UT2K4Tab_MidGameVoiceChat.ResetButton'
ApplySuccessText="Changes were saved successfully!"
ApplyFailText="Changes could not be saved!"
RedTeamIndex=-1
BlueTeamIndex=-1
RedTeamDesc="RED TEAM"
BlueTeamDesc="BLUE TEAM"
OnPreDraw=UT2K4Tab_MidGameVoiceChat.PreDraw
}
|
Creation time: Wed 7/2/2007 19:16:24.031 - Created with
UnCodeX