# SIMCONNECT_RECV_EVENT_OBJECT_ADDREMOVE The **SIMCONNECT\_RECV\_EVENT\_OBJECT\_ADDREMOVE** structure is used to return the type and ID of an AI object that has been added or removed from the simulation, by any client.   ##### Syntax ``` cpp struct #SIMCONNECT_RECV_EVENT_OBJECT_ADDREMOVE : SIMCONNECT_RECV_EVENT { SIMCONNECT_SIMOBJECT_TYPE eObjType; }; ```   ##### Members {{< table-wrapper >}} | Member | Description | |------------|-----------------------------------------------------------------------------------------------------------------------------------------------------| | `eObjType` | Specifies the type of object that was added or removed. One member of the [SIMCONNECT\_SIMOBJECT\_TYPE](simconnect-simobject-type/) enumeration. | {{< /table-wrapper >}}   ##### Remarks   This structure inherits the [`SIMCONNECT_RECV_EVENT`](simconnect-recv-event/) structure, which inherits the [`SIMCONNECT_RECV`](simconnect-recv/) structure, and is returned when the dwID parameter of [`SIMCONNECT_RECV`](simconnect-recv/) is set to [`SIMCONNECT_RECV_ID_EVENT_ADDREMOVE`](simconnect-recv-id/). A client can determine whether the object was added or removed from its own event ID that was provided as a parameter to the [SimConnect\_SubscribeToSystemEvent](../general/simconnect-subscribetosystemevent/) function.   The ID of the object added or removed is returned in the `dwData` parameter (a member of the `SIMCONNECT_RECV_EVENT` structure).