public static void HandleDoKeyboardEvent(Packets.ServerPackets.DoKeyboardEvent command, Client client) { if (NativeMethodsHelper.IsScreensaverActive()) { NativeMethodsHelper.DisableScreensaver(); } NativeMethodsHelper.DoKeyPress(command.Key, command.KeyDown); }
public static void HandleDoKeyboardEvent(Packets.ServerPackets.DoKeyboardEvent command, Client client) { NativeMethodsHelper.DoKeyPress(command.Key, command.KeyDown); }