internal FssDiscoveryScanEvent InvokeEvent(FssDiscoveryScanEvent arg)
 {
     if (_api.ValidateEvent(arg))
     {
         FssDiscoveryScan?.Invoke(_api, arg);
     }
     return(arg);
 }
Beispiel #2
0
 private void OnSystemHonk(object sender, FssDiscoveryScan scan)
 {
     _system.TotalBodies    = scan.BodyCount;
     _system.TotalNonBodies = scan.NonBodyCount;
     _system.IsHonked       = true;
     _writer.Write(_system, _nextSystem);
     if (!_system.IsComplete)
     {
         PlaySound(VoiceType.Unidentified);
     }
 }