Example #1
0
        public void Add(ISndr sound, WeatherSoundTypes type)
        {
            EnsureWritable();

            AddField(new WeatherSoundItem()
            {
                Sound = sound.ToFormId(),
                Type  = type.ToWeatherSoundType()
            }, false);
        }
Example #2
0
 public static WeatherSoundType ToWeatherSoundType(this WeatherSoundTypes value)
 {
     return(EnumConverter.ConvertByName <WeatherSoundType>(value));
 }