Version: 1.4.3
Frequency: Consistently
Severity: High
Marketplace package name: N/A
Context: Documentation
Similar MSFS 2020 issue: N/A
Bug description:
The documentation for SIMCONNECT_SIMOBJECT_TYPE is missing:
SIMCONNECT_SIMOBJECT_TYPE_USER_AIRCRAFTas an alias forSIMCONNECT_SIMOBJECT_TYPE_USER,SIMCONNECT_SIMOBJECT_TYPE_USER_CURRENT
Note that, using bitfields would be a bit more flexible. Currently SIMCONNECT_SIMOBJECT_TYPE_ALL is the only way to get multiple types in a single request, but then you have to include “CATEGORY” in order to be able to find out the kind. Adding
SIMCONNECT_SIMOBJECT_TYPE dwObjectType;
as a field to SIMCONNECT_RECV_SIMOBJECT_DATA_BYTYPE would solve that.
BTW the information on the site is even older.
Repro steps: See documentation.
Attachments: See code in “5-2 - RequestDataByObjectType in C++”.