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 = 0,
SIMCONNECT_SIMOBJECT_TYPE_USER_AIRCRAFT = 0,
SIMCONNECT_SIMOBJECT_TYPE_ALL,
SIMCONNECT_SIMOBJECT_TYPE_AIRCRAFT,
SIMCONNECT_SIMOBJECT_TYPE_HELICOPTER,
SIMCONNECT_SIMOBJECT_TYPE_BOAT,
SIMCONNECT_SIMOBJECT_TYPE_GROUND,
SIMCONNECT_SIMOBJECT_TYPE_HOT_AIR_BALLOON,
SIMCONNECT_SIMOBJECT_TYPE_ANIMAL,
SIMCONNECT_SIMOBJECT_TYPE_USER_AVATAR,
SIMCONNECT_SIMOBJECT_TYPE_USER_CURRENT,
};Members
| Member | Description |
|---|---|
SIMCONNECT_SIMOBJECT_TYPE_USER | Specifies the user aircraft (this is a legacy value, as its naming is ambiguous as to whether the user is the avatar or the aircraft). |
SIMCONNECT_SIMOBJECT_TYPE_USER_AIRCRAFT | Specifies the user 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. |
SIMCONNECT_SIMOBJECT_TYPE_HOT_AIR_BALLOON | Specifies all hot air balloons. |
SIMCONNECT_SIMOBJECT_TYPE_ANIMAL | Specifies all animals. |
SIMCONNECT_SIMOBJECT_TYPE_USER_AVATAR | Specifies the user avatar. |
SIMCONNECT_SIMOBJECT_TYPE_USER_CURRENT | Specifies the user, regardless of whether it is the aircraft or avatar. |
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 2024 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.
Prev
SIMCONNECT_RECVNext
SIMCONNECT_STATE