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

xVoting.MapVoteGameConfigPage

Extends
GUICustomPropertyPage
Modifiers
DependsOn ( VotingHandler )

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPage
            |   
            +-- XInterface.UT2K4GUIPage
               |   
               +-- GUI2K4.PopupPageBase
                  |   
                  +-- GUI2K4.FloatingWindow
                     |   
                     +-- GUI2K4.LockedFloatingWindow
                        |   
                        +-- GUI2K4.GUICustomPropertyPage
                           |   
                           +-- xVoting.MapVoteGameConfigPage

Variables Summary
boolbChanged
GUIButtonb_Delete
GUIButtonb_New
moCheckBoxch_Default
moComboBoxco_GameClass
moEditBoxed_Acronym
moEditBoxed_GameTitle
moEditBoxed_Parameter
moEditBoxed_Prefix
array<CacheManager.GameRecord>GameTypes
GUIListBoxlb_GameConfigList
MultiSelectListBoxlb_Mutator
stringlmsgAdd
stringlmsgNew
array<CacheManager.MutatorRecord>Mutators
GUISectionBackgroundsb_List
GUISectionBackgroundsb_List2
MapVoteGameConfigPage
CacheManager.GameRecordCurrentGame
intListIndex
intSaveIndex
Inherited Variables from GUI2K4.GUICustomPropertyPage
Item, Owner
Inherited Variables from GUI2K4.LockedFloatingWindow
b_Cancel, b_OK, EdgeBorder[4], sb_Main, SubCaption

Functions Summary
functionbool DeleteButtonClick (GUIComponent Sender))
function FieldChange (GUIComponent Sender))
function GameConfigList_Changed (GUIComponent Sender))
functionint GameIndex ()))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
functionbool InternalOnClick (GUIComponent Sender))
function InternalOnOpen ()))
function LoadMutators ()))
functionbool NewButtonClick (GUIComponent Sender))
functionbool SaveChange ()))
Inherited Functions from GUI2K4.GUICustomPropertyPage
GetKeyValue, GetOwner, GetReadOnly, GrabOption, ParseOption, SetOwner, SetReadOnly, Strip
Inherited Functions from GUI2K4.LockedFloatingWindow
AlignButtons, InitComponent, InternalOnClick, InternalOnCreateComponent


Variables Detail

bChanged Source code

var bool bChanged;

b_Delete Source code

var automated GUIButton b_Delete;

b_New Source code

var automated GUIButton b_New;

ch_Default Source code

var automated moCheckBox ch_Default;

co_GameClass Source code

var automated moComboBox co_GameClass;

ed_Acronym Source code

var automated moEditBox ed_Acronym;

ed_GameTitle Source code

var automated moEditBox ed_GameTitle;

ed_Parameter Source code

var automated moEditBox ed_Parameter;

ed_Prefix Source code

var automated moEditBox ed_Prefix;

GameTypes Source code

var array<CacheManager.GameRecord> GameTypes;

lb_GameConfigList Source code

var automated GUIListBox lb_GameConfigList;

lb_Mutator Source code

var automated MultiSelectListBox lb_Mutator;

lmsgAdd Source code

var localized string lmsgAdd;

lmsgNew Source code

var localized string lmsgNew;

Mutators Source code

var array<CacheManager.MutatorRecord> Mutators;

sb_List Source code

var automated GUISectionBackground sb_List;

sb_List2 Source code

var automated GUISectionBackground sb_List2;

MapVoteGameConfigPage

CurrentGame Source code

var(MapVoteGameConfigPage) editconst noexport CacheManager.GameRecord CurrentGame;

ListIndex Source code

var(MapVoteGameConfigPage) int ListIndex;

SaveIndex Source code

var(MapVoteGameConfigPage) int SaveIndex;


Functions Detail

DeleteButtonClick Source code

function bool DeleteButtonClick ( GUIComponent Sender) )

FieldChange Source code

function FieldChange ( GUIComponent Sender) )

GameConfigList_Changed Source code

function GameConfigList_Changed ( GUIComponent Sender) )

GameIndex Source code

function int GameIndex ( ) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

InternalOnClick Source code

function bool InternalOnClick ( GUIComponent Sender) )

InternalOnOpen Source code

function InternalOnOpen ( ) )

LoadMutators Source code

function LoadMutators ( ) )

NewButtonClick Source code

function bool NewButtonClick ( GUIComponent Sender) )

SaveChange Source code

function bool SaveChange ( ) )


Defaultproperties

defaultproperties
{
     Begin Object Class=AltSectionBackground Name=SBList
         bFillClient=True
         Caption="GameTypes"
         WinTop=0.044272
         WinLeft=0.042969
         WinWidth=0.377929
         WinHeight=0.753907
         OnPreDraw=SBList.InternalPreDraw
     End Object
     sb_List=AltSectionBackground'xVoting.MapVoteGameConfigPage.SBList'


     Begin Object Class=AltSectionBackground Name=SBList2
         HeaderBase=Texture'2K4Menus.NewControls.Display2'
         Caption="Mutators"
         LeftPadding=0.000000
         RightPadding=0.000000
         TopPadding=0.100000
         BottomPadding=0.100000
         WinTop=0.540159
         WinLeft=0.483359
         WinWidth=0.451250
         WinHeight=0.295899
         RenderWeight=0.490000
         OnPreDraw=SBList2.InternalPreDraw
     End Object
     sb_List2=AltSectionBackground'xVoting.MapVoteGameConfigPage.SBList2'


     Begin Object Class=GUIListBox Name=GameConfigListBox
         bVisibleWhenEmpty=True
         OnCreateComponent=GameConfigListBox.InternalOnCreateComponent
         Hint="Select a game configuration to edit or delete."
         WinTop=0.160775
         WinLeft=0.626758
         WinWidth=0.344087
         WinHeight=0.727759
         TabOrder=0
     End Object
     lb_GameConfigList=GUIListBox'xVoting.MapVoteGameConfigPage.GameConfigListBox'


     Begin Object Class=moComboBox Name=GameClassComboBox
         CaptionWidth=0.400000
         ComponentWidth=0.600000
         Caption="Game Class"
         OnCreateComponent=GameClassComboBox.InternalOnCreateComponent
         Hint="Select a game type for the select game configuration."
         WinTop=0.136135
         WinLeft=0.028955
         WinWidth=0.592970
         WinHeight=0.076855
         TabOrder=4
         OnChange=MapVoteGameConfigPage.FieldChange
     End Object
     co_GameClass=moComboBox'xVoting.MapVoteGameConfigPage.GameClassComboBox'


     Begin Object Class=moEditBox Name=GameTitleEditBox
         CaptionWidth=0.400000
         ComponentWidth=0.600000
         Caption="Game Title"
         OnCreateComponent=GameTitleEditBox.InternalOnCreateComponent
         Hint="Enter a custom game configuration title."
         WinTop=0.223844
         WinLeft=0.028955
         WinWidth=0.592970
         WinHeight=0.074249
         TabOrder=3
         OnChange=MapVoteGameConfigPage.FieldChange
     End Object
     ed_GameTitle=moEditBox'xVoting.MapVoteGameConfigPage.GameTitleEditBox'


     Begin Object Class=moEditBox Name=AcronymEditBox
         CaptionWidth=0.400000
         ComponentWidth=0.600000
         Caption="Abbreviation"
         OnCreateComponent=AcronymEditBox.InternalOnCreateComponent
         Hint="A short abbreviation, description, or acronym that identifies the game configuration. This will be appended to the map name in vote messages."
         WinTop=0.306343
         WinLeft=0.028955
         WinWidth=0.592970
         WinHeight=0.076855
         TabOrder=5
         OnChange=MapVoteGameConfigPage.FieldChange
     End Object
     ed_Acronym=moEditBox'xVoting.MapVoteGameConfigPage.AcronymEditBox'


     Begin Object Class=moEditBox Name=PrefixEditBox
         CaptionWidth=0.400000
         ComponentWidth=0.600000
         Caption="Map Prefixes"
         OnCreateComponent=PrefixEditBox.InternalOnCreateComponent
         Hint="List of map name prefixes. Separate each with commas."
         WinTop=0.393185
         WinLeft=0.028955
         WinWidth=0.592970
         WinHeight=0.074249
         TabOrder=6
         OnChange=MapVoteGameConfigPage.FieldChange
     End Object
     ed_Prefix=moEditBox'xVoting.MapVoteGameConfigPage.PrefixEditBox'


     Begin Object Class=MultiSelectListBox Name=MutatorListBox
         bVisibleWhenEmpty=True
         OnCreateComponent=MutatorListBox.InternalOnCreateComponent
         Hint="Select each mutator that should be loaded with this game configuration."
         WinTop=0.484369
         WinLeft=0.224267
         WinWidth=0.396485
         WinHeight=0.315234
         TabOrder=9
         OnChange=MapVoteGameConfigPage.FieldChange
     End Object
     lb_Mutator=MultiSelectListBox'xVoting.MapVoteGameConfigPage.MutatorListBox'


     Begin Object Class=moEditBox Name=ParameterEditBox
         CaptionWidth=0.400000
         ComponentWidth=0.600000
         Caption="Parameters"
         OnCreateComponent=ParameterEditBox.InternalOnCreateComponent
         Hint="(Advanced) List of game parameters with values. Separated each with a comma. (ex. GoalScore=4,MinPlayers=4)"
         WinTop=0.826949
         WinLeft=0.077783
         WinWidth=0.490431
         TabOrder=7
         OnChange=MapVoteGameConfigPage.FieldChange
     End Object
     ed_Parameter=moEditBox'xVoting.MapVoteGameConfigPage.ParameterEditBox'


     Begin Object Class=GUIButton Name=NewButton
         Caption="New"
         Hint="Create a new game configuration."
         WinTop=0.913925
         WinLeft=0.060047
         WinWidth=0.158281
         TabOrder=1
         OnClick=MapVoteGameConfigPage.NewButtonClick
         OnKeyEvent=NewButton.InternalOnKeyEvent
     End Object
     b_New=GUIButton'xVoting.MapVoteGameConfigPage.NewButton'


     Begin Object Class=GUIButton Name=DeleteButton
         Caption="Delete"
         Hint="Delete the selected game configuration."
         WinTop=0.913925
         WinLeft=0.268403
         WinWidth=0.159531
         TabOrder=2
         OnClick=MapVoteGameConfigPage.DeleteButtonClick
         OnKeyEvent=DeleteButton.InternalOnKeyEvent
     End Object
     b_Delete=GUIButton'xVoting.MapVoteGameConfigPage.DeleteButton'


     Begin Object Class=moCheckBox Name=DefaultCheckBox
         ComponentWidth=0.200000
         Caption="Default"
         OnCreateComponent=DefaultCheckBox.InternalOnCreateComponent
         Hint="The selected game configuration will be the default if all the players leave the server"
         WinTop=0.826949
         WinLeft=0.659814
         WinWidth=0.194922
         TabOrder=8
         OnChange=MapVoteGameConfigPage.FieldChange
     End Object
     ch_Default=moCheckBox'xVoting.MapVoteGameConfigPage.DefaultCheckBox'


     SaveIndex=-1
     ListIndex=-1
     lmsgNew="New"
     lmsgAdd="Add"
     WindowName="Map Voting Game Configuration"
     DefaultLeft=0.041015
     DefaultTop=0.031510
     DefaultWidth=0.917187
     DefaultHeight=0.885075
     OnOpen=MapVoteGameConfigPage.InternalOnOpen
     WinTop=0.031510
     WinLeft=0.041015
     WinWidth=0.917187
     WinHeight=0.885075
     bAcceptsInput=False
}

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