XPLMSetDatavi

Function XPLMSetDatavi 

Source
pub unsafe extern "C" fn XPLMSetDatavi(
    inDataRef: XPLMDataRef,
    inValues: *mut c_int,
    inoffset: c_int,
    inCount: c_int,
)
Expand description

XPLMSetDatavi

Write part or all of an integer array dataref. The values passed by inValues are written into the dataref starting at inOffset. Up to inCount values are written; however if the values would write past the end of the dataref array, then fewer values are written.

Note: the semantics of array datarefs are entirely implemented by the plugin (or X-Plane) that provides the dataref, not the SDK itself; the above description is how these datarefs are intended to work, but a rogue plugin may have different behavior.