VS2019 developing frontend for MP, how to parse mavlink current state datas

Hey all,

I have been working on a project to develop frontend of MP. Well so far i was successful with all the stuff that i wanted to implement but reading current state variables from autopilot. I am developing under VS2019. Is there and particular way to get mavlink data and assign it into new integer i was not able to get it done so need some experienced tips. What i do want to archive is lets say reading current yaw degree and assigning it into a new variable so it will parse it into my new designed MP frontend code it will show some more visualized version of what it was before.

would like to hear more about this isseu that i have ! cheers!

It is not clear what you want to achieve.
Do you want to add new variable to the current state, which is populated from incoming mavlink data from the vehicle ?
Do you develop a plugin or manipulating the base code ?