AcManager.Tools.Helpers.AcSettings.AudioSettings.LoadFromIni C# (CSharp) Method

LoadFromIni() protected method

protected LoadFromIni ( ) : void
return void
        protected override void LoadFromIni() {
            LevelMaster = Ini["LEVELS"].GetDouble("MASTER", 1.0) * 100d;
            LevelTyres = Ini["LEVELS"].GetDouble("TYRES", 0.8) * 100d;
            LevelBrakes = Ini["LEVELS"].GetDouble("BRAKES", 0.8) * 100d;
            LevelEngine = Ini["LEVELS"].GetDouble("ENGINE", 1.0) * 100d;
            LevelSurfaces = Ini["LEVELS"].GetDouble("SURFACES", 1.0) * 100d;
            LevelWind = Ini["LEVELS"].GetDouble("WIND", 0.9) * 100d;
            LevelOpponents = Ini["LEVELS"].GetDouble("OPPONENTS", 0.9) * 100d;
            LevelDirtBottom = Ini["LEVELS"].GetDouble("DIRT_BOTTOM", 1.0) * 100d;
            LevelUi = Ini["LEVELS"].GetDouble("UISOUNDS", 0.7) * 100d;

            // Latency = Ini["SETTINGS"].GetEntry("LATENCY", Latencies, 1);
            SkidsEntryPoint = Ini["SKIDS"].GetInt("ENTRY_POINT", 100);
        }