public static SendKeystroke ( |
||
windowHandle | ||
virtualKey | byte | |
includeCharMessage | bool | |
return | void |
public static void Disarm(this Player client) { client.Update(PlayerFieldFlags.Equipment); if (!client.Equipment.IsEmpty(EquipmentSlot.Weapon | EquipmentSlot.Shield)) { WindowAutomator.SendKeystroke(client.Process.WindowHandle, '`'); } }
public static void CancelDialog(this Player client) { WindowAutomator.SendKeystroke(client.Process.WindowHandle, WindowAutomator.VK_ESCAPE); }
public static void Assail(this Player client) { WindowAutomator.SendKeystroke(client.Process.WindowHandle, WindowAutomator.VK_SPACE); }