FSUIPC Client DLL
.NET interface for FSUIPC
|
A class which handles all weather reading and writing. More...
Public Member Functions | |
FsWeather | GetWeatherAtAircraft () |
Get the current weather active at the player's aircraft. | |
FsWeather | GetGlobalWeather () |
Gets the currently set Global Weather (if Global Weather mode is not being used nothing will be filled in). | |
FsWeather | GetWeatherAtLocation (string ICAO) |
Gets the current weather at the specified location. Note that the weather may not be avilable if it's a long way from the player. | |
FsWeather | GetWeatherAtLocation (FsLatLonPoint Location) |
Gets the current weather at the specified location. Note that the weather may not be avilable if it's a long way from the player. | |
FsWeather | GetWeatherAtLocation (FsLatitude Latitude, FsLongitude Longitude) |
Gets the current weather at the specified location. Note that the weather may not be avilable if it's a long way from the player. | |
FsWeather | GetWeatherAtLocation (double Latitude, double Longitude) |
Gets the current weather at the specified location. Note that the weather may not be avilable if it's a long way from the player. | |
void | ClearWeather () |
Clear all types of weather from FS. (Does not reset any changes to the Dynamics setting). | |
void | SetWeatherChangeRate (FsWeatherDynamics NewRate) |
Changes the weather change rate option in FS. This is the slider on the weather tab in the display settings dialog. | |
void | EnableGlobalWeather () |
Required for FSX+ Only. Puts FS into Global Weather Mode. You should only set Global weather after enabling this feature. | |
void | SetGlobalWeather (FsWeather NewWeather) |
Set the global weather to the weather described in the FsWeather object passed in. | |
void | SetGlobalWeather (FsWeather NewWeather, bool IgnoreUserSettings, ushort BlendTime) |
Set the global weather to the weather described in the FsWeather object passed in. | |
void | SetWeatherStation (string ICAO, FsWeather NewWeather) |
Set the weather at a specific weather station to the weather described in the FsWeather object passed in. | |
void | SetWeatherStation (string ICAO, FsWeather NewWeather, bool IgnoreUserSettings, ushort BlendTime) |
Set the weather at a specific weather station to the weather described in the FsWeather object passed in. | |
void | SetWeatherStationPending (string ICAO, FsWeather NewWeather) |
Sends the weather at a specific weather station but does not active it. | |
void | SetWeatherStationPending (string ICAO, FsWeather NewWeather, bool IgnoreUserSettings) |
Sends the weather at a specific weather station but does not active it. | |
void | ActivatePendingWeather () |
Activates all pending weather set with the SetWeatherStationPending() method. | |
void | ActivatePendingWeather (ushort BlendTime) |
Activates all pending weather set with the SetWeatherStationPending() method. | |
string | GetMetarAtLocation (string ICAO) |
(FSX+ ONLY) Gets the METAR string for the current weather at the specified location. Note that the weather may not be avilable if it's a long way from the player. | |
string | GetMetarAtLocation (FsLatLonPoint Location) |
(FSX+ ONLY) Gets the METAR string for the current weather at the specified location. Note that the weather may not be avilable if it's a long way from the player. | |
string | GetMetarAtLocation (FsLatitude Latitude, FsLongitude Longitude) |
(FSX+ ONLY) Gets the METAR string for the current weather at the specified location. Note that the weather may not be avilable if it's a long way from the player. | |
string | GetMetarAtLocation (double Latitude, double Longitude) |
(FSX+ ONLY) Gets the METAR string for the current weather at the specified location. Note that the weather may not be avilable if it's a long way from the player. | |
void | SetMetar (string Metar) |
(FSX+ ONLY) Write the supplied METAR string to flight sim and active it in the sim. | |
A class which handles all weather reading and writing.
|
inline |
Activates all pending weather set with the SetWeatherStationPending() method.
BlendTime | FSX+ ONLY. A value in seconds to make this weather active after a delay, gradually "blending" into the existing weather. |
|
inline |
Required for FSX+ Only. Puts FS into Global Weather Mode. You should only set Global weather after enabling this feature.
Note that the DLL will call this automatically when you set any global weather for the first time.
|
inline |
Gets the currently set Global Weather (if Global Weather mode is not being used nothing will be filled in).
|
inline |
(FSX+ ONLY) Gets the METAR string for the current weather at the specified location. Note that the weather may not be avilable if it's a long way from the player.
Latitude | The latitude of the point (in decimal degrees) from which to read the weather. |
Longitude | The longitude of the point (in decimal degrees) from which to read the weather. |
|
inline |
(FSX+ ONLY) Gets the METAR string for the current weather at the specified location. Note that the weather may not be avilable if it's a long way from the player.
Latitude | An FsLatitude object that specifies the latitude of the point from which to read the weather. |
Longitude | An FsLongitude object that specifies the longitude of the point from which to read the weather. |
|
inline |
(FSX+ ONLY) Gets the METAR string for the current weather at the specified location. Note that the weather may not be avilable if it's a long way from the player.
Location | An FsLatLonPoint object that specifies the location from which to read the weather. |
|
inline |
(FSX+ ONLY) Gets the METAR string for the current weather at the specified location. Note that the weather may not be avilable if it's a long way from the player.
ICAO | The ICAO code of the weather station to read. |
|
inline |
Get the current weather active at the player's aircraft.
|
inline |
Gets the current weather at the specified location. Note that the weather may not be avilable if it's a long way from the player.
Latitude | The latitude of the point (in decimal degrees) from which to read the weather. |
Longitude | The longitude of the point (in decimal degrees) from which to read the weather. |
|
inline |
Gets the current weather at the specified location. Note that the weather may not be avilable if it's a long way from the player.
Latitude | An FsLatitude object that specifies the latitude of the point from which to read the weather. |
Longitude | An FsLongitude object that specifies the longitude of the point from which to read the weather. |
|
inline |
Gets the current weather at the specified location. Note that the weather may not be avilable if it's a long way from the player.
Location | An FsLatLonPoint object that specifies the location from which to read the weather. |
|
inline |
Gets the current weather at the specified location. Note that the weather may not be avilable if it's a long way from the player.
ICAO | The ICAO code of the weather station to read. |
|
inline |
|
inline |
Set the global weather to the weather described in the FsWeather object passed in.
NOTE: For FSX+ you must enable the global weather mode by calling EnableGlobalWeather()
NewWeather | An FsWeather object containing the weather to be set. |
IgnoreUserSettings | Set to true if you want to bypass the weather options set the user in FSUIPC. |
BlendTime | FSX+ ONLY. A value in seconds to make this weather active after a delay, gradually "blending" into the existing weather. |
|
inline |
(FSX+ ONLY) Write the supplied METAR string to flight sim and active it in the sim.
Metar | The METAR string to be written. |
Note the format is not standard METAR used in real life, and is NOT the same as the METAR format read by one of the GetMetar... methods.
The SimConnect SDK apparently descibes the format.
|
inline |
Changes the weather change rate option in FS. This is the slider on the weather tab in the display settings dialog.
This change is only the for the current session and is not remembered when Flight Sim is restarted.
NewRate | An FsWeatherDynamics value representing the new change rate setting. |
|
inline |
|
inline |
Set the weather at a specific weather station to the weather described in the FsWeather object passed in.
ICAO | The ICAO code of a valid weather station. |
NewWeather | An FsWeather object containing the weather to be set. |
IgnoreUserSettings | Set to true if you want to bypass the weather options set the user in FSUIPC. |
BlendTime | FSX+ ONLY. A value in seconds to make this weather active after a delay, gradually "blending" into the existing weather. |
|
inline |
Sends the weather at a specific weather station but does not active it.
Multiple weather stations can be set using this method. To make pending weather active, call the ActivatePendingWeather() method.
ICAO | The ICAO code of a valid weather station. |
NewWeather | An FsWeather object containing the weather to be set. |
|
inline |
Sends the weather at a specific weather station but does not active it.
Multiple weather stations can be set using this method. To make pending weather active, call the ActivatePendingWeather() method.