C# Class BF2Statistics.ServerSettingsForm

Mostra file Open project: BF2Statistics/ControlCenter Class Usage Examples

Public Methods

Method Description
ServerSettingsForm ( bool UseGlobalSettings ) : System

Constructor

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

GetBotSettings ( ) : void

Loads the bot settings from the Settings object and the /ai/aidefault.ai file

SetBotSettings ( ) : void

Sets the bot settings based on whether the ForceBotCount is checked

Private Methods

Method Description
BotCountBar1_ValueChanged ( object sender, EventArgs e ) : void
BotCountBar2_ValueChanged ( object sender, EventArgs e ) : void
BotCountBar_ValueChanged ( object sender, EventArgs e ) : void
BotDifficultyBar_ValueChanged ( object sender, EventArgs e ) : void
BotRatioBar_ValueChanged ( object sender, EventArgs e ) : void
Cancel_Click ( object sender, EventArgs e ) : void

Event fired when the cancel button is clicked

DemoQualityBar_ValueChanged ( object sender, EventArgs e ) : void
EORBar_ValueChanged ( object sender, EventArgs e ) : void
EnableRemoteVoip_CheckedChanged ( object sender, EventArgs e ) : void
EnableVoip_CheckedChanged ( object sender, EventArgs e ) : void
EndDelayBar_ValueChanged ( object sender, EventArgs e ) : void
ForceBotCount_CheckedChanged ( object sender, EventArgs e ) : void
InfoLink_LinkClicked ( object sender, LinkLabelLinkClickedEventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ManDownBar_ValueChanged ( object sender, EventArgs e ) : void
MaxPlayersBar_ValueChanged ( object sender, EventArgs e ) : void
NotEnoughPlayersBar_ValueChanged ( object sender, EventArgs e ) : void
PlayersToStartSlider_ValueChanged ( object sender, EventArgs e ) : void
PlayersVotingBar_ValueChanged ( object sender, EventArgs e ) : void
PunishTeamKillsBox_CheckedChanged ( object sender, EventArgs e ) : void
RadioBlockTimeBar_ValueChanged ( object sender, EventArgs e ) : void
SaveButton_Click ( object sender, EventArgs e ) : void

Event fired when the user wants to save his settings

ScoreLimitBar_ValueChanged ( object sender, EventArgs e ) : void
SoldierFFBar_ValueChanged ( object sender, EventArgs e ) : void
SoldierSplashFFBar_ValueChanged ( object sender, EventArgs e ) : void
SpawnTimeBar_ValueChanged ( object sender, EventArgs e ) : void
StartDelayBar_ValueChanged ( object sender, EventArgs e ) : void
TeamRatioBar_ValueChanged ( object sender, EventArgs e ) : void
TicketRatioBar_ValueChanged ( object sender, EventArgs e ) : void
TimeB4RestartMapBar_ValueChanged ( object sender, EventArgs e ) : void
TimeLimitBar_ValueChanged ( object sender, EventArgs e ) : void
VehicleFFBar_ValueChanged ( object sender, EventArgs e ) : void
VehicleSplashFFBar_ValueChanged ( object sender, EventArgs e ) : void
VoipQualityBar_ValueChanged ( object sender, EventArgs e ) : void
VoteTimeBar_ValueChanged ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

GetBotSettings() protected method

Loads the bot settings from the Settings object and the /ai/aidefault.ai file
protected GetBotSettings ( ) : void
return void

ServerSettingsForm() public method

Constructor
public ServerSettingsForm ( bool UseGlobalSettings ) : System
UseGlobalSettings bool /// If true, the global settings file will be used /// instead of the Selected mods settings file ///
return System

SetBotSettings() protected method

Sets the bot settings based on whether the ForceBotCount is checked
protected SetBotSettings ( ) : void
return void