C# Class WoWmapper.WorldOfWarcraft.WoWInput

Exibir arquivo Open project: topher-au/WoWmapper

Private Properties

Property Type Description
GetForegroundWindow System.IntPtr
PostMessage bool
mouse_event void

Public Methods

Method Description
SendKeyDown ( Key key, bool forceDirect = false ) : void
SendKeyUp ( Key key, bool forceDirect = false ) : void
SendMouseClick ( MouseButton button, bool forceDirect = false ) : void
SendMouseDown ( MouseButton button, bool forceDirect = false ) : void
SendMouseUp ( MouseButton button, bool forceDirect = false ) : void

Private Methods

Method Description
GetForegroundWindow ( ) : IntPtr
PostMessage ( HandleRef hWnd, uint Msg, IntPtr wParam, IntPtr lParam ) : bool
mouse_event ( uint dwFlags, uint dx, uint dy, uint dwData, int dwExtraInfo ) : void

Method Details

SendKeyDown() public static method

public static SendKeyDown ( Key key, bool forceDirect = false ) : void
key Key
forceDirect bool
return void

SendKeyUp() public static method

public static SendKeyUp ( Key key, bool forceDirect = false ) : void
key Key
forceDirect bool
return void

SendMouseClick() public static method

public static SendMouseClick ( MouseButton button, bool forceDirect = false ) : void
button MouseButton
forceDirect bool
return void

SendMouseDown() public static method

public static SendMouseDown ( MouseButton button, bool forceDirect = false ) : void
button MouseButton
forceDirect bool
return void

SendMouseUp() public static method

public static SendMouseUp ( MouseButton button, bool forceDirect = false ) : void
button MouseButton
forceDirect bool
return void