XPLMNavRef

From X-Plane SDK
Jump to: navigation, search

XPLMNavRef

typedef int XPLMNavRef;

XPLMNavRef is an iterator into the navigation database. The navigation database is essentially an array, but it is not necessarily densely populated. The only assumption you can safely make is that like-typed nav-aids are grouped together.

Use XPLMNavRef to refer to a nav-aid.

XPLM_NAV_NOT_FOUND is returned by functions that return an XPLMNavRef when the iterator must be invalid.

There is no function to directly find out which navaid is currently displayed on the cockpit instruments, or if a navaid tuned in the radios is actually received.