SIMCONNECT_SIMOBJECT_TYPE

The SIMCONNECT_SIMOBJECT_TYPE enumeration type is used with the SimConnect_RequestDataOnSimObjectType call to request information on specific or nearby objects.

 

Syntax
enum SIMCONNECT_SIMOBJECT_TYPE{
    SIMCONNECT_SIMOBJECT_TYPE_USER,
    SIMCONNECT_SIMOBJECT_TYPE_ALL,
    SIMCONNECT_SIMOBJECT_TYPE_AIRCRAFT,
    SIMCONNECT_SIMOBJECT_TYPE_HELICOPTER,
    SIMCONNECT_SIMOBJECT_TYPE_BOAT,
    SIMCONNECT_SIMOBJECT_TYPE_GROUND
    };

 

Members
Member Description
SIMCONNECT_SIMOBJECT_TYPE_USER Specifies the user's aircraft.
SIMCONNECT_SIMOBJECT_TYPE_ALL Specifies all AI controlled objects.
SIMCONNECT_SIMOBJECT_TYPE_AIRCRAFT Specifies all aircraft.
SIMCONNECT_SIMOBJECT_TYPE_HELICOPTER Specifies all helicopters.
SIMCONNECT_SIMOBJECT_TYPE_BOAT Specifies all AI controlled boats.
SIMCONNECT_SIMOBJECT_TYPE_GROUND Specifies all AI controlled ground vehicles.

 

Remarks

This enum is used to specify the return of the object IDs of all objects created using the AI creation functions, whether they are created by this client, other clients, or Microsoft Flight Simulator itself. It can also be used to specify the return the object ID of the user aircraft. However it cannot be used to specify the IDs of objects like cars moving on freeways, which are not controlled by the AI component.

 

See the remarks and examples for SimConnect_AddToDataDefinition.

 

See Also