Greetings! I'm trying to add a UI element to display an icon or some text or something if the player has toggled off the flight assist systems. I can see how to get some state data out; for instance, the code to MoveUI's PowerSystems.lua has
local ES = ReadOnlyEnergySystem(player.craftIndex)
So I'm confident this sort of thing is feasible.
But for the life of me I can't find anywhere to dig out anything that'll contain whether or not the player has toggled off the flight assist systems. Indeed, the only references I can see to it in the API are down in the enums--one in ComponentType and one in ControlAction.
I'd kinda expect Player() to return it somehow, as Player [Client] does yield some state information:
property PlayerStateType state
Which will answer which major mode the player is in (per the PlayerStateType enums)--but not what I'm looking for.
Am I just missing it?