protected override void LoadData(IniFile ini) {
Name = ini["LAUNCHER"].GetPossiblyEmpty("NAME");
TemperatureCoefficient = ini["LAUNCHER"].GetDouble("TEMPERATURE_COEFF", 0d);
WeatherType? type;
try {
type = ini["__LAUNCHER_CM"].GetEnumNullable<WeatherType>("WEATHER_TYPE");
} catch (Exception) {
type = null;
}
TemperatureDiapason = ini["__LAUNCHER_CM"].GetNonEmpty("TEMPERATURE_DIAPASON");
TimeDiapason = ini["__LAUNCHER_CM"].GetNonEmpty("TIME_DIAPASON");
Type = type ?? TryToDetectWeatherTypeById(Id);
if (_loadedExtended) {
LoadExtended(ini);
}
}