docs.rs failed to build simconnect-sdk-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
simconnect-sdk-0.2.3
SimConnect SDK in Rust
An opinionated SimConnect SDK that encapsulates the C API fully and optimizes for developer experience.
Usage
[]
= { = "0.1", = ["derive"] }
use ;
/// A data structure that will be used to receive data from SimConnect.
/// See the documentation of `SimConnectObject` for more information on the arguments of the `simconnect` attribute.
See more examples.
Contributing
Contributions are welcome and encouraged! See /CONTRIBUTING.md.
Feature table
General
| Feature | Status | Comment |
|---|---|---|
| DispatchProc | ||
| SimConnect_Open | ✓ | |
| SimConnect_Close | ✓ | |
| SimConnect_CallDispatch | ||
| SimConnect_GetNextDispatch | ✓ | |
| SimConnect_RequestSystemState | ||
| SimConnect_MapClientEventToSimEvent | - | Coming soon |
| SimConnect_SubscribeToSystemEvent | ||
| SimConnect_SetSystemEventState | ||
| SimConnect_UnsubscribeFromSystemEvent | ||
| SimConnect_SetNotificationGroupPriority | - | Coming soon |
Events And Data
| Feature | Status | Comment |
|---|---|---|
| SimConnect_RequestDataOnSimObject | ✓ | Only for SIMCONNECT_OBJECT_ID_USER |
| SimConnect_RequestDataOnSimObjectType | - | Coming soon |
| SimConnect_AddClientEventToNotificationGroup | - | Coming soon |
| SimConnect_RemoveClientEvent | ||
| SimConnect_TransmitClientEvent | ||
| SimConnect_TransmitClientEvent_EX1 | ||
| SimConnect_MapClientDataNameToID | ||
| SimConnect_RequestClientData | ||
| SimConnect_CreateClientData | ||
| SimConnect_AddToClientDataDefinition | ||
| SimConnect_AddToDataDefinition | ✓ | Supports f64, bool and String |
| SimConnect_SetClientData | ||
| SimConnect_SetDataOnSimObject | ||
| SimConnect_ClearClientDataDefinition | ||
| SimConnect_ClearDataDefinition | ✓ | |
| SimConnect_MapInputEventToClientEvent | ||
| SimConnect_RequestNotificationGroup | ||
| SimConnect_ClearInputGroup | ||
| SimConnect_ClearNotificationGroup | ||
| SimConnect_RequestReservedKey | ||
| SimConnect_SetInputGroupPriority | ||
| SimConnect_SetInputGroupState | ||
| SimConnect_RemoveInputEvent |
AI Objects
| Feature | Status | Comment |
|---|---|---|
| SimConnect_AICreateEnrouteATCAircraft | ||
| SimConnect_AICreateNonATCAircraft | ||
| SimConnect_AICreateParkedATCAircraft | ||
| SimConnect_AICreateSimulatedObject | ||
| SimConnect_AIReleaseControl | ||
| SimConnect_AIRemoveObject | ||
| SimConnect_AISetAircraftFlightPlan |
Flights
| Feature | Status | Comment |
|---|---|---|
| SimConnect_FlightLoad | ||
| SimConnect_FlightSave | ||
| SimConnect_FlightPlanLoad |
Debug
| Feature | Status | Comment |
|---|---|---|
| SimConnect_GetLastSentPacketID | ||
| SimConnect_RequestResponseTimes | ||
| SimConnect_InsertString | ||
| SimConnect_RetrieveString |
Facilities
| Feature | Status | Comment |
|---|---|---|
| SimConnect_AddToFacilityDefinition | ||
| SimConnect_RequestFacilitesList | ✓ | |
| SimConnect_RequestFacilitiesList_EX1 | ||
| SimConnect_RequestFacilityData | ||
| SimConnect_SubscribeToFacilities | ✓ | |
| SimConnect_SubscribeToFacilities_EX1 | ||
| SimConnect_UnsubscribeToFacilities | ✓ | |
| SimConnect_UnsubscribeToFacilities_EX1 |
Missions
| Feature | Status | Comment |
|---|---|---|
| SimConnect_CompleteCustomMissionAction | ||
| SimConnect_ExecuteMissionAction |
Credits
Inspired by Sequal32/simconnect-rust.