I would like to know which good methods do we have to update measurement. I’m writing my code outside of your interface, so I would like to see “native” names for the methods and classes, not parsed for scripts.
To create s “starting point”, I will give two examples:
1). I want to warp to a bookmark. I emulate mouseRightClick on space and need to wait while menu appears. Because I’m doing all that under virtual machine, sometimes it lags and menu appearsnot immeniatly, but only a second ot two after the click. What’s the best way to update measurement for such a changes?
2). I’m getting #Measurement#.ShipUi.SpeedLabel.Text to decide whether we are in a warp or not. I manually click “warp …” in game and want my code to wait until warp ends (e.g. wait until #Measurement#.ShipUi.SpeedLabel.Text equals to “(Warping)” and then wait until it doesn’t). What’s the best way (speaking of CPU load) to do so?