public override void SaveData(IniFile ini) {
var section = ini["SERVER"];
section.Set("NAME", Name);
section.Set("PASSWORD", Password);
section.Set("ADMIN_PASSWORD", AdminPassword);
section.Set("REGISTER_TO_LOBBY", ShowOnLobby);
section.Set("LOOP_MODE", LoopMode);
section.Set("PICKUP_MODE_ENABLED", PickupMode);
section.Set("MAX_CLIENTS", Capacity);
section.Set("UDP_PORT", UdpPort);
section.Set("TCP_PORT", TcpPort);
section.Set("HTTP_PORT", HttpPort);
section.Set("CLIENT_SEND_INTERVAL_HZ", SendIntervalHz);
section.Set("NUM_THREADS", Threads);
section.Set("TRACK", TrackId);
section.Set("CONFIG_TRACK", TrackLayoutId);
section.Set("CARS", CarIds, ';');
section.SetIntEnum("ABS_ALLOWED", Abs);
section.SetIntEnum("TC_ALLOWED", TractionControl);
section.Set("STABILITY_ALLOWED", StabilityControl);
section.Set("AUTOCLUTCH_ALLOWED", AutoClutch);
section.Set("TYRE_BLANKETS_ALLOWED", TyreBlankets);
section.Set("FORCE_VIRTUAL_MIRROR", ForceVirtualMirror);
section.Set("FUEL_RATE", FuelRate);
section.Set("DAMAGE_MULTIPLIER", DamageRate);
section.Set("TYRE_WEAR_RATE", TyreWearRate);
section.Set("ALLOWED_TYRES_OUT", AllowTyresOut);
section.Set("MAX_BALLAST_KG", MaxBallast);
section.Set("QUALIFY_MAX_WAIT_PERC", QualifyLimitPercentage);
section.SetIntEnum("START_RULE", JumpStart);
}
}