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
{


	OnOpen=InternalOnOpen


	Begin Object class=AltSectionBackground name=SBList
		Caption="GameTypes"
		WinWidth=0.377929
		WinHeight=0.753907
		WinLeft=0.042969
		WinTop=0.044272
		bFillClient=true
	End Object
	sb_List=SBList


	Begin Object class=ALtSectionBackground name=SBList2
		Caption="Mutators"
		HeaderBase=material'2K4Menus.NewControls.Display2'
		WinWidth=0.451250
		WinHeight=0.295899
		WinLeft=0.483359
		WinTop=0.540159
		TopPadding=0.1
		BottomPadding=0.1
		LeftPadding=0.0
		RightPadding=0.0
		RenderWeight=0.49;
	End Object
	sb_List2=SBList2


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


	Begin Object class=GUIButton Name=NewButton
		Caption="New"
		Hint="Create a new game configuration."
		StyleName="SquareButton"
		TabOrder=1
		OnClick=NewButtonClick
		WinWidth=0.158281
		WinLeft=0.060047
		WinTop=0.913925
	End Object
	b_New=NewButton


	Begin Object class=GUIButton Name=DeleteButton
		Caption="Delete"
		Hint="Delete the selected game configuration."
		StyleName="SquareButton"
		TabOrder=2
		OnClick=DeleteButtonClick
		WinWidth=0.159531
		WinLeft=0.268403
		WinTop=0.913925
        MenuState=MSAT_Disabled
	End Object
	b_Delete=DeleteButton


	Begin Object Class=moEditBox Name=GameTitleEditBox
	    Caption = "Game Title"
	    Hint="Enter a custom game configuration title."
		TabOrder=3
		WinWidth=0.592970
		WinHeight=0.074249
		WinLeft=0.028955
		WinTop=0.223844
		CaptionWidth=0.4
		ComponentWidth=0.6
		OnChange=FieldChange
        MenuState=MSAT_Disabled
	End Object
	ed_GameTitle = GameTitleEditBox



	Begin Object Class=moComboBox Name=GameClassComboBox
		Caption = "Game Class"
		Hint="Select a game type for the select game configuration."
		TabOrder=4
		WinWidth=0.592970
		WinHeight=0.076855
		WinLeft=0.028955
		WinTop=0.136135
		CaptionWidth=0.4
		ComponentWidth=0.6
		OnChange=FieldChange
        MenuState=MSAT_Disabled
	End Object
	co_GameClass = GameClassComboBox


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


	Begin Object Class=moEditBox Name=PrefixEditBox
	    Caption = "Map Prefixes"
	    Hint="List of map name prefixes. Separate each with commas."
		WinWidth=0.592970
		WinHeight=0.074249
		WinLeft=0.028955
		WinTop=0.393185
		TabOrder=6
		CaptionWidth=0.4
		ComponentWidth=0.6
		OnChange=FieldChange
        MenuState=MSAT_Disabled
	End Object
	ed_Prefix = PrefixEditBox


	Begin Object Class=moEditBox Name=ParameterEditBox
	    Caption = "Parameters"
	    Hint="(Advanced) List of game parameters with values. Separated each with a comma. (ex. GoalScore=4,MinPlayers=4)"
		WinWidth=0.490431
		WinHeight=0.030000
		WinLeft=0.077783
		WinTop=0.826949
		CaptionWidth=0.4
		TabOrder=7
		ComponentWidth=0.6
		OnChange=FieldChange
        MenuState=MSAT_Disabled
	End Object
	ed_Parameter = ParameterEditBox


	Begin Object class=moCheckbox Name=DefaultCheckBox
		Caption="Default"
		Hint="The selected game configuration will be the default if all the players leave the server"
		CaptionWidth=0.8
		ComponentWidth=0.2
		OnChange=FieldChange
		TabOrder=8
		WinWidth=0.194922
		WinHeight=0.030000
		WinLeft=0.659814
		WinTop=0.826949
        MenuState=MSAT_Disabled
	End Object
	ch_Default = DefaultCheckBox



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


	Background=None


	bAcceptsInput=false


	WinWidth=0.917187
	WinHeight=0.885075
	WinLeft=0.041015
	WinTop=0.031510


	DefaultWidth=0.917187
	DefaultHeight=0.885075
	DefaultLeft=0.041015
	DefaultTop=0.031510


 	WindowName="Map Voting Game Configuration"


 	lmsgNew="New"
 	lmsgAdd="Add"


 	ListIndex=-1;
 	SaveIndex=-1;


}



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