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.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
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Wed 7/2/2007 19:16:24.031 - Created with UnCodeX