Dataref.owner Property

The owner property returns the plugin that created this dataref, and is therefore responsible for providing the value of the dataref.

Note: This property is not available in X-Plane 12.04 and below; null will be returned instead of the owner.

Example

> dataref = simulator.findDataref("laminar/c172/fuel/fuel_tank_selector")
Dataref{ name: "laminar/c172/fuel/fuel_tank_selector" }
> dataref.owner
Plugin{ name: "XLua 1.1.0r1", identifier: "com.x-plane.xlua.1.1.0r1", description: "A minimal scripting environment for aircraft authors." }

References