Sign in to follow this  
Guest flying-w

Finding out the AI object type when a new one is added.

Recommended Posts

In my c# application, I am registered to receive notifications when new AI objects are added. In the recEvent structure that is passed in, eObjType contains the type of AI object. However, in c# this field is protected so I can't access it:'Microsoft.FlightSimulator.SimConnect.SIMCONNECT_RECV_EVENT_OBJECT_ADDREMOVE.eObjType' is inaccessible due to its protection level.Is there any other way to figure out the object type? If I try to request aircraft data on say a ground vehicle, FSX does a nice CTD.

Share this post

Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this