Skip to content

sim/aircraft/view/acf_descrip's value is not displaying the expected value #40

@ajcdev

Description

@ajcdev

So I used this code below to get the value of the dataref sim/aircraft/view/acf_descrip:

XPlaneConnector.XPlaneConnector Connector = new XPlaneConnector.XPlaneConnector();

Connector.Start();

Connector.Subscribe(DataRefs.AircraftViewAcfDescrip, 1, (e, v) => {

    Console.WriteLine($"{e.DataRef} : {v}");
});

What I expected was it will return the name of what the name of plane is. Instead it returns 0

Can someone help how to get the name of the plane? Would be really helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions