Example #1
0
 private void OnOptionChangedReaction(DCSOptionGroup group, string name, float value)
 {
     if (group == DCSOptionGroup.Video)
     {
         return;
     }
     OnOptionsChangedEvent(group, name, value);
 }
Example #2
0
 private void OnOptionChangedReaction(DCSOptionGroup group, string name, float value)
 {
     if (group != DCSOptionGroup.Audio)
     {
         return;
     }
     if (!volumes.ContainsKey(name))
     {
         return;
     }
     volumes[name] = value;
     ResetVolumes(name);
 }
Example #3
0
 public DCSOption GetOption(DCSOptionGroup group, string name)
 {
     return(pages[( int )group].GetByName(name));
 }