public ServerPresetDriverEntry(IniFileSection section) { CarId = section.GetNonEmpty("MODEL") ?? DefaultCarId; var carSkinId = section.GetNonEmpty("SKIN")?.Split('/'); CarSkinId = carSkinId?[0]; CspOptions.LoadPacked(carSkinId?.ElementAtOrDefault(1)); SpectatorMode = section.GetBool("SPECTATOR_MODE", false); DriverName = section.GetNonEmpty("DRIVERNAME"); TeamName = section.GetNonEmpty("TEAM"); Guid = section.GetNonEmpty("GUID"); Ballast = section.GetDouble("BALLAST", 0d); Restrictor = section.GetDouble("RESTRICTOR", 0d); CspOptions.PropertyChanged += (sender, args) => { Logging.Write($"ARG: {args.PropertyName}"); // ReSharper disable once NotResolvedInText OnPropertyChanged(@"CspOptions.Inner"); }; }