C# Класс BF2Statistics.ServerSettingsForm

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ServerSettingsForm ( bool UseGlobalSettings ) : System

Constructor

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

GetBotSettings() защищенный Метод

Loads the bot settings from the Settings object and the /ai/aidefault.ai file
protected GetBotSettings ( ) : void
Результат void

ServerSettingsForm() публичный Метод

Constructor
public ServerSettingsForm ( bool UseGlobalSettings ) : System
UseGlobalSettings bool /// If true, the global settings file will be used /// instead of the Selected mods settings file ///
Результат System

SetBotSettings() защищенный Метод

Sets the bot settings based on whether the ForceBotCount is checked
protected SetBotSettings ( ) : void
Результат void