Exemple #1
0
 public void FindCommodity_Handler(AerRecognitionResult result)
 {
     if (LocalSystem != null)
     {
         EliteStation est = _Eddb.FindCommodity(result.Commodity.id, LocalSystem, 250);
         if (est != null)
         {
             _Talk.SayFoundCommodity(result.Commodity, est);
             _LastStation = est;
             _LastSystem  = est.System;
         }
         else
         {
             _Talk.SayCannotFindCommodity(result.Commodity);
         }
     }
     else
     {
         _Talk.SayUnknownLocation();
     }
 }