Beispiel #1
0
 void sc_OnRecvException(BeatlesBlog.SimConnect.SimConnect sender, BeatlesBlog.SimConnect.SIMCONNECT_RECV_EXCEPTION data)
 {
     Console.WriteLine("OnRecvException: " + data.dwException.ToString() + "  " + data.dwSendID.ToString() + "  " + data.dwIndex.ToString());
     switch ((BeatlesBlog.SimConnect.SIMCONNECT_EXCEPTION)data.dwException)
     {
     case BeatlesBlog.SimConnect.SIMCONNECT_EXCEPTION.WEATHER_UNABLE_TO_GET_OBSERVATION:
         sc.Text(BeatlesBlog.SimConnect.SIMCONNECT_TEXT_TYPE.SCROLL_RED, 20.0f, Requests.DisplayWeather, "Unable to obtain a weather observation");
         break;
     }
 }
Beispiel #2
0
 void sc_OnRecvException(BeatlesBlog.SimConnect.SimConnect sender, BeatlesBlog.SimConnect.SIMCONNECT_RECV_EXCEPTION data)
 {
 }