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

XInterface.Tab_MultiplayerHostServerSettings

Extends
UT2K3TabPanel

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPanel
            |   
            +-- XInterface.GUITabPanel
               |   
               +-- XInterface.UT2K3TabPanel
                  |   
                  +-- XInterface.Tab_MultiplayerHostServerSettings

Variables Summary
stringAdminName
stringAdminPass
boolbAllowBehindView
boolbBalanceTeams
boolbCollectStats
boolbDedicated
boolbInitialized
boolbLanPlay
intBotSkill
boolbPlayersMustBeReady
boolbUseCustomBots
boolbUseDefaults
stringGamePass
intMaxPlayers
intMaxSpecs
intMinPlayers
moEditBoxMyAdminEmail
moEditBoxMyAdminName
moEditBoxMyAdminPasswrd
moCheckBoxMyAdvertise
moCheckBoxMyAllowBehindView
moCheckBoxMyBalanceTeams
moComboBoxMyBotSkill
moCheckBoxMyCollectStats
moCheckBoxMyDedicated
moCheckBoxMyLanGame
moNumericEditMyMaxPlayers
moNumericEditMyMaxSpecs
moNumericEditMyMinPlayers
moEditBoxMyMOTD1
moEditBoxMyMOTD2
moEditBoxMyMOTD3
moEditBoxMyMOTD4
moCheckBoxMyPlayersMustBeReady
moEditBoxMyServerName
moEditBoxMyServerPasswrd
moCheckBoxMyUseCustomBots
moCheckBoxMyUseDefaultBots
moCheckBoxMyUseWebAdmin
moNumericEditMyWebPort
Inherited Variables from XInterface.GUITabPanel
bFillHeight, FadeInTime, MyButton, PanelCaption

Delegates Summary
delegate OnChangeCustomBots (bool Enable)

Functions Summary
function InitComponent (GUIController MyController, GUIComponent MyOwner))
functionstring Play ()))
functionbool UseCustomBots ()))
function UseCustomOnChange (GUIComponent Sender))
function UseMapOnChange (GUIComponent Sender))
Inherited Functions from XInterface.GUITabPanel
CanShowPanel, Free, InitPanel, OnDestroyPanel, Refresh, ShowPanel


Variables Detail

AdminName Source code

var Config string AdminName;

AdminPass Source code

var Config string AdminPass;

bAllowBehindView Source code

var Config bool bAllowBehindView;

bBalanceTeams Source code

var Config bool bBalanceTeams;

bCollectStats Source code

var Config bool bCollectStats;

bDedicated Source code

var Config bool bDedicated;

bInitialized Source code

var bool bInitialized;

bLanPlay Source code

var Config bool bLanPlay;

BotSkill Source code

var Config int BotSkill;

bPlayersMustBeReady Source code

var Config bool bPlayersMustBeReady;

bUseCustomBots Source code

var Config bool bUseCustomBots;

bUseDefaults Source code

var Config bool bUseDefaults;

GamePass Source code

var Config string GamePass;

MaxPlayers Source code

var Config int MaxPlayers;

MaxSpecs Source code

var Config int MaxSpecs;

MinPlayers Source code

var Config int MinPlayers;

MyAdminEmail Source code

var moEditBox MyAdminEmail;

MyAdminName Source code

var moEditBox MyAdminName;

MyAdminPasswrd Source code

var moEditBox MyAdminPasswrd;

MyAdvertise Source code

var moCheckBox MyAdvertise;

MyAllowBehindView Source code

var moCheckBox MyAllowBehindView;

MyBalanceTeams Source code

var moCheckBox MyBalanceTeams;

MyBotSkill Source code

var moComboBox MyBotSkill;

MyCollectStats Source code

var moCheckBox MyCollectStats;

MyDedicated Source code

var moCheckBox MyDedicated;

MyLanGame Source code

var moCheckBox MyLanGame;

MyMaxPlayers Source code

var moNumericEdit MyMaxPlayers;

MyMaxSpecs Source code

var moNumericEdit MyMaxSpecs;

MyMinPlayers Source code

var moNumericEdit MyMinPlayers;

MyMOTD1 Source code

var moEditBox MyMOTD1;

MyMOTD2 Source code

var moEditBox MyMOTD2;

MyMOTD3 Source code

var moEditBox MyMOTD3;

MyMOTD4 Source code

var moEditBox MyMOTD4;

MyPlayersMustBeReady Source code

var moCheckBox MyPlayersMustBeReady;

MyServerName Source code

var moEditBox MyServerName;

MyServerPasswrd Source code

var moEditBox MyServerPasswrd;

MyUseCustomBots Source code

var moCheckBox MyUseCustomBots;

MyUseDefaultBots Source code

var moCheckBox MyUseDefaultBots;

MyUseWebAdmin Source code

var moCheckBox MyUseWebAdmin;

MyWebPort Source code

var moNumericEdit MyWebPort;


Delegates Detail

OnChangeCustomBots Source code

delegate OnChangeCustomBots ( bool Enable )


Functions Detail

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

Play Source code

function string Play ( ) )

UseCustomBots Source code

function bool UseCustomBots ( ) )

UseCustomOnChange Source code

function UseCustomOnChange ( GUIComponent Sender) )

UseMapOnChange Source code

function UseMapOnChange ( GUIComponent Sender) )


Defaultproperties

defaultproperties
{
     Begin Object Class=GUIImage Name=MPServerBk1
         Image=Texture'InterfaceContent.Menu.BorderBoxD'
         ImageColor=(A=160)
         ImageStyle=ISTY_Stretched
         WinTop=0.024687
         WinLeft=0.016758
         WinWidth=0.426248
         WinHeight=0.978440
     End Object
     Controls(0)=GUIImage'XInterface.Tab_MultiplayerHostServerSettings.MPServerBk1'


     Begin Object Class=GUIImage Name=MPServerBk2
         Image=Texture'InterfaceContent.Menu.BorderBoxD'
         ImageColor=(A=160)
         ImageStyle=ISTY_Stretched
         WinTop=0.696041
         WinLeft=0.016172
         WinWidth=0.427032
         WinHeight=0.307188
     End Object
     Controls(1)=GUIImage'XInterface.Tab_MultiplayerHostServerSettings.MPServerBk2'


     Begin Object Class=moCheckBox Name=MPServerDedicated
         ComponentJustification=TXTA_Left
         CaptionWidth=0.925000
         Caption="Dedicated Server"
         OnCreateComponent=MPServerDedicated.InternalOnCreateComponent
         Hint="When this option is enabled, you will run a dedicated server."
         WinTop=0.060001
         WinLeft=0.035742
         WinWidth=0.385938
         WinHeight=0.040000
     End Object
     Controls(2)=moCheckBox'XInterface.Tab_MultiplayerHostServerSettings.MPServerDedicated'


     Begin Object Class=moCheckBox Name=MPServerLanGame
         ComponentJustification=TXTA_Left
         CaptionWidth=0.925000
         Caption="Lan Game"
         OnCreateComponent=MPServerLanGame.InternalOnCreateComponent
         Hint="Optimizes network usage for players on a local area network."
         WinTop=0.118334
         WinLeft=0.035742
         WinWidth=0.385938
         WinHeight=0.040000
     End Object
     Controls(3)=moCheckBox'XInterface.Tab_MultiplayerHostServerSettings.MPServerLanGame'


     Begin Object Class=moCheckBox Name=MPServerAdvertise
         ComponentJustification=TXTA_Left
         CaptionWidth=0.925000
         Caption="Advertise Server"
         OnCreateComponent=MPServerAdvertise.InternalOnCreateComponent
         Hint="Publishes your server to the internet server browser."
         WinTop=0.185002
         WinLeft=0.035742
         WinWidth=0.385938
         WinHeight=0.040000
     End Object
     Controls(4)=moCheckBox'XInterface.Tab_MultiplayerHostServerSettings.MPServerAdvertise'


     Begin Object Class=moCheckBox Name=MPServerCollectStats
         ComponentJustification=TXTA_Left
         CaptionWidth=0.925000
         Caption="Collect Player Stats"
         OnCreateComponent=MPServerCollectStats.InternalOnCreateComponent
         Hint="Publishes player stats from your server on the UT2004 stats website."
         WinTop=0.247502
         WinLeft=0.035742
         WinWidth=0.385938
         WinHeight=0.040000
     End Object
     Controls(5)=moCheckBox'XInterface.Tab_MultiplayerHostServerSettings.MPServerCollectStats'


     Begin Object Class=moCheckBox Name=MPServerBalanceTeams
         ComponentJustification=TXTA_Left
         CaptionWidth=0.925000
         Caption="Balance Teams"
         OnCreateComponent=MPServerBalanceTeams.InternalOnCreateComponent
         Hint="Assigns teams automatically for players joining the server."
         WinTop=0.305835
         WinLeft=0.035742
         WinWidth=0.385938
         WinHeight=0.040000
     End Object
     Controls(6)=moCheckBox'XInterface.Tab_MultiplayerHostServerSettings.MPServerBalanceTeams'


     Begin Object Class=moCheckBox Name=MPServerPlayersMustBeReady
         ComponentJustification=TXTA_Left
         CaptionWidth=0.925000
         Caption="Players Must Be Ready"
         OnCreateComponent=MPServerPlayersMustBeReady.InternalOnCreateComponent
         Hint="When selected, all players will be required to press FIRE before the match begins."
         WinTop=0.362085
         WinLeft=0.035742
         WinWidth=0.385938
         WinHeight=0.040000
     End Object
     Controls(7)=moCheckBox'XInterface.Tab_MultiplayerHostServerSettings.MPServerPlayersMustBeReady'


     Begin Object Class=moComboBox Name=MPServer_BotSkill
         Caption="Bot Skill"
         OnCreateComponent=MPServer_BotSkill.InternalOnCreateComponent
         Hint="Choose the skill of the bots you wish to play with."
         WinTop=0.547865
         WinLeft=0.036132
         WinWidth=0.385938
         WinHeight=0.060000
     End Object
     Controls(8)=moComboBox'XInterface.Tab_MultiplayerHostServerSettings.MPServer_BotSkill'


     Begin Object Class=moCheckBox Name=MPServerUseDefaults
         ComponentJustification=TXTA_Left
         CaptionWidth=0.925000
         Caption="Use Map Defaults"
         OnCreateComponent=MPServerUseDefaults.InternalOnCreateComponent
         Hint="Uses the map's default minimum/maximum players settings."
         WinTop=0.622502
         WinLeft=0.036132
         WinWidth=0.385938
         WinHeight=0.040000
         OnChange=Tab_MultiplayerHostServerSettings.UseMapOnChange
     End Object
     Controls(9)=moCheckBox'XInterface.Tab_MultiplayerHostServerSettings.MPServerUseDefaults'


     Begin Object Class=moCheckBox Name=MPServerUseCustomBots
         ComponentJustification=TXTA_Left
         CaptionWidth=0.925000
         Caption="Use Custom Bots"
         OnCreateComponent=MPServerUseCustomBots.InternalOnCreateComponent
         Hint="When enabled, you may use the Bot tab to choose bots to play with."
         WinTop=0.716252
         WinLeft=0.036132
         WinWidth=0.385938
         WinHeight=0.040000
         OnChange=Tab_MultiplayerHostServerSettings.UseCustomOnChange
     End Object
     Controls(10)=moCheckBox'XInterface.Tab_MultiplayerHostServerSettings.MPServerUseCustomBots'


     Begin Object Class=moNumericEdit Name=MPServerMinPlayers
         MinValue=0
         MaxValue=64
         ComponentJustification=TXTA_Left
         CaptionWidth=0.700000
         Caption="Min player count"
         OnCreateComponent=MPServerMinPlayers.InternalOnCreateComponent
         Hint="Bots will join the game if there are fewer players than the minimum."
         WinTop=0.769792
         WinLeft=0.035156
         WinWidth=0.381250
         WinHeight=0.060000
     End Object
     Controls(11)=moNumericEdit'XInterface.Tab_MultiplayerHostServerSettings.MPServerMinPlayers'


     Begin Object Class=moNumericEdit Name=MPServerMaxPlayers
         MinValue=1
         MaxValue=64
         ComponentJustification=TXTA_Left
         CaptionWidth=0.700000
         Caption="Max player count"
         OnCreateComponent=MPServerMaxPlayers.InternalOnCreateComponent
         Hint="Limits the number of players allowed to join the server at once."
         WinTop=0.842708
         WinLeft=0.035156
         WinWidth=0.381250
         WinHeight=0.060000
     End Object
     Controls(12)=moNumericEdit'XInterface.Tab_MultiplayerHostServerSettings.MPServerMaxPlayers'


     Begin Object Class=moNumericEdit Name=MPServerMaxSpecs
         MinValue=0
         MaxValue=64
         ComponentJustification=TXTA_Left
         CaptionWidth=0.700000
         Caption="Max spectator count"
         OnCreateComponent=MPServerMaxSpecs.InternalOnCreateComponent
         Hint="Limits the number of spectators allowed to join the server at once."
         WinTop=0.915624
         WinLeft=0.035156
         WinWidth=0.381250
         WinHeight=0.060000
     End Object
     Controls(13)=moNumericEdit'XInterface.Tab_MultiplayerHostServerSettings.MPServerMaxSpecs'


     Begin Object Class=moEditBox Name=MPServerName
         CaptionWidth=0.400000
         Caption="Server Name"
         OnCreateComponent=MPServerName.InternalOnCreateComponent
         Hint="The server name will be displayed in the server browser."
         WinTop=0.060938
         WinLeft=0.468750
         WinHeight=0.060000
     End Object
     Controls(14)=moEditBox'XInterface.Tab_MultiplayerHostServerSettings.MPServerName'


     Begin Object Class=moEditBox Name=MPServerPW
         CaptionWidth=0.400000
         Caption="Game Password"
         OnCreateComponent=MPServerPW.InternalOnCreateComponent
         Hint="Players must enter the game password to join your server."
         WinTop=0.122605
         WinLeft=0.468750
         WinHeight=0.060000
     End Object
     Controls(15)=moEditBox'XInterface.Tab_MultiplayerHostServerSettings.MPServerPW'


     Begin Object Class=moEditBox Name=MPServerAdminName
         CaptionWidth=0.400000
         Caption="Admin Name"
         OnCreateComponent=MPServerAdminName.InternalOnCreateComponent
         Hint="The admin name will be displayed in the server browser."
         WinTop=0.217605
         WinLeft=0.468750
         WinHeight=0.060000
     End Object
     Controls(16)=moEditBox'XInterface.Tab_MultiplayerHostServerSettings.MPServerAdminName'


     Begin Object Class=moEditBox Name=MPServerAdminEmail
         CaptionWidth=0.400000
         Caption="Admin Email"
         OnCreateComponent=MPServerAdminEmail.InternalOnCreateComponent
         Hint="The admin email address will be displayed in the server browser."
         WinTop=0.282605
         WinLeft=0.468750
         WinHeight=0.060000
     End Object
     Controls(17)=moEditBox'XInterface.Tab_MultiplayerHostServerSettings.MPServerAdminEmail'


     Begin Object Class=moEditBox Name=MPServerAdminPW
         CaptionWidth=0.400000
         Caption="Admin Password"
         OnCreateComponent=MPServerAdminPW.InternalOnCreateComponent
         Hint="The admin password is used to connect to the server as an admin."
         WinTop=0.350938
         WinLeft=0.468750
         WinHeight=0.060000
     End Object
     Controls(18)=moEditBox'XInterface.Tab_MultiplayerHostServerSettings.MPServerAdminPW'


     Begin Object Class=moEditBox Name=MPServerMOTD1
         CaptionWidth=0.400000
         Caption="MOTD 1"
         OnCreateComponent=MPServerMOTD1.InternalOnCreateComponent
         Hint="Players see the message of the day when they join the server."
         WinTop=0.499271
         WinLeft=0.468750
         WinHeight=0.060000
     End Object
     Controls(19)=moEditBox'XInterface.Tab_MultiplayerHostServerSettings.MPServerMOTD1'


     Begin Object Class=moEditBox Name=MPServerMOTD2
         CaptionWidth=0.400000
         Caption="MOTD 2"
         OnCreateComponent=MPServerMOTD2.InternalOnCreateComponent
         Hint="Players see the message of the day when they join the server."
         WinTop=0.574271
         WinLeft=0.468750
         WinHeight=0.060000
     End Object
     Controls(20)=moEditBox'XInterface.Tab_MultiplayerHostServerSettings.MPServerMOTD2'


     Begin Object Class=moEditBox Name=MPServerMOTD3
         CaptionWidth=0.400000
         Caption="MOTD 3"
         OnCreateComponent=MPServerMOTD3.InternalOnCreateComponent
         Hint="Players see the message of the day when they join the server."
         WinTop=0.649271
         WinLeft=0.468750
         WinHeight=0.060000
     End Object
     Controls(21)=moEditBox'XInterface.Tab_MultiplayerHostServerSettings.MPServerMOTD3'


     Begin Object Class=moEditBox Name=MPServerMOTD4
         CaptionWidth=0.400000
         Caption="MOTD 4"
         OnCreateComponent=MPServerMOTD4.InternalOnCreateComponent
         Hint="Players see the message of the day when they join the server."
         WinTop=0.727604
         WinLeft=0.468750
         WinHeight=0.060000
     End Object
     Controls(22)=moEditBox'XInterface.Tab_MultiplayerHostServerSettings.MPServerMOTD4'


     Begin Object Class=moCheckBox Name=MPServerUseWebAdmin
         ComponentJustification=TXTA_Left
         Caption="Web Admin"
         OnCreateComponent=MPServerUseWebAdmin.InternalOnCreateComponent
         Hint="Enables remote administration via the web."
         WinTop=0.869999
         WinLeft=0.468750
         WinWidth=0.206250
         WinHeight=0.040000
     End Object
     Controls(23)=moCheckBox'XInterface.Tab_MultiplayerHostServerSettings.MPServerUseWebAdmin'


     Begin Object Class=moNumericEdit Name=MPServerWebPort
         MinValue=0
         ComponentJustification=TXTA_Left
         CaptionWidth=0.650000
         Caption="Web Admin Port"
         OnCreateComponent=MPServerWebPort.InternalOnCreateComponent
         Hint="The port used to connect to the web admin site."
         WinTop=0.859791
         WinLeft=0.675156
         WinWidth=0.297625
         WinHeight=0.060000
     End Object
     Controls(24)=moNumericEdit'XInterface.Tab_MultiplayerHostServerSettings.MPServerWebPort'


     Begin Object Class=moCheckBox Name=MPServerAllowBehindView
         ComponentJustification=TXTA_Left
         CaptionWidth=0.925000
         Caption="Allow Behind view"
         OnCreateComponent=MPServerAllowBehindView.InternalOnCreateComponent
         Hint="When selected, the server will allow use of the 'behindview 1' console command."
         WinTop=0.476668
         WinLeft=0.035742
         WinWidth=0.385938
         WinHeight=0.040000
     End Object
     Controls(25)=moCheckBox'XInterface.Tab_MultiplayerHostServerSettings.MPServerAllowBehindView'


     WinTop=0.150000
     WinHeight=0.770000
}

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