C# Class Hearthstone_Deck_Tracker.DeckExporter

Mostrar archivo Open project: stdscatchemall/HDTCompatabilityWindow Class Usage Examples

Public Methods

Method Description
Export ( Deck deck ) : System.Threading.Tasks.Task
GetXPos ( double left, int width, double ratio ) : double

Private Methods

Method Description
AddCardToDeck ( Card card, Point searchBoxPos, double cardPosX, double card2PosX, double cardPosY, int height, int width, IntPtr hsHandle ) : Task
CardExists ( IntPtr wndHandle, int posX, int posY, int width, int height ) : bool
CardHasLock ( IntPtr wndHandle, int posX, int posY, int width, int height ) : bool
CheckForCardsInDeck ( IntPtr wndHandle, int width, int height, double ratio ) : bool
CheckForSpecialCases ( Card card, double cardPosX, double card2PosX, double cardPosY, IntPtr hsHandle ) : Task
ClearDeck ( int width, int height, IntPtr handle, double ratio ) : System.Threading.Tasks.Task
ClearZeroCrystal ( double ratio, int width, int height, IntPtr hsHandle ) : System.Threading.Tasks.Task
ClickAllCrystal ( double ratio, int width, int height, IntPtr hsHandle ) : System.Threading.Tasks.Task
ClickOnKnownPoint ( IntPtr wndHandle, Point p ) : System.Threading.Tasks.Task
ClickOnPoint ( IntPtr wndHandle, Point clientPoint ) : System.Threading.Tasks.Task
ColorDistance ( Color color, Color target, double distance ) : bool
GetAverageHueAndBrightness ( Bitmap bmp, double saturationThreshold = 0.05 ) : HueAndBrightness
IsZeroCrystalSelected ( IntPtr wndHandle, double ratio, int width, int height ) : bool
SetDeckName ( string name, double ratio, int width, int height, IntPtr hsHandle ) : System.Threading.Tasks.Task

Method Details

Export() public static method

public static Export ( Deck deck ) : System.Threading.Tasks.Task
deck Deck
return System.Threading.Tasks.Task

GetXPos() public static method

public static GetXPos ( double left, int width, double ratio ) : double
left double
width int
ratio double
return double