Sorry, my english too bad for understanding what do you mean.
If you dont have access to modify some class you can add some functions by Extension methods:
Soo we added function IsAfterburner wich will return true if our module is afterburner. Simple example:
if (Bot?.MemoryMeasurementAccu?.ShipUiModule?.First()?.IsAfterburner(Bot) ?? false)
{
//do something if first module is Afterburner
}
I use hotkey Shift+R
//recall drones to dronebay
yield return new BotTask
{
Effects = new[] { MotionParamExtension.KeyboardPressCombined(new[] {
WindowsInput.Native.VirtualKeyCode.SHIFT, WindowsInput.Native.VirtualKeyCode.VK_R
}) }
};
(also see Ctrl+click).