C# Class BoringHeroes.ScreenReader

Afficher le fichier Open project: lances101/BoringHeroes

Méthodes publiques

Свойство Type Description
ShouldBringToFront bool

Méthodes publiques

Méthode Description
AreTalentsOpen ( ) : bool
DebugPlotVectorOnMap ( CurrentGameState state, System points = null ) : void
DetectSide ( CurrentGameState state ) : void
FindOnScreen ( string path ) : TemplateMatch
FindOnScreen ( string path, float percentage ) : TemplateMatch
FindOnScreen ( string path, float percentage, bool shouldResize ) : TemplateMatch
FindOnScreen ( string path, float percentage, bool shouldResize, Rectangle cropRect ) : TemplateMatch
TestTemplateOnScreen ( string path, float percentage ) : float
TickNow ( ) : long
UpdateCurrentTalentLevel ( CurrentGameState state ) : void
UpdateEverythingOptimized ( CurrentGameState state ) : void
UpdateHasTalents ( CurrentGameState state ) : void
UpdateHeroHP ( CurrentGameState state ) : void
UpdateHeroMounted ( CurrentGameState state ) : bool
UpdateHeroes ( CurrentGameState state ) : void
UpdateMinimap ( CurrentGameState state ) : void
UpdateTowers ( CurrentGameState state ) : void
UpdateUnits ( CurrentGameState state ) : void

Private Methods

Méthode Description
ChangePixelFormat ( Bitmap inputImage, PixelFormat newFormat ) : Bitmap
FindCamera ( Point p, List blobs ) : Point?
GrabScreenGDI ( Rectangle rect ) : Bitmap
InRange ( float val, float bot, float top ) : bool
ToPointsArray ( List corners ) : System.Drawing.Point[]

Method Details

AreTalentsOpen() public static méthode

public static AreTalentsOpen ( ) : bool
Résultat bool

DebugPlotVectorOnMap() public static méthode

public static DebugPlotVectorOnMap ( CurrentGameState state, System points = null ) : void
state BoringHeroes.GameLogic.CurrentGameState
points System
Résultat void

DetectSide() public static méthode

public static DetectSide ( CurrentGameState state ) : void
state BoringHeroes.GameLogic.CurrentGameState
Résultat void

FindOnScreen() public static méthode

public static FindOnScreen ( string path ) : TemplateMatch
path string
Résultat AForge.Imaging.TemplateMatch

FindOnScreen() public static méthode

public static FindOnScreen ( string path, float percentage ) : TemplateMatch
path string
percentage float
Résultat AForge.Imaging.TemplateMatch

FindOnScreen() public static méthode

public static FindOnScreen ( string path, float percentage, bool shouldResize ) : TemplateMatch
path string
percentage float
shouldResize bool
Résultat AForge.Imaging.TemplateMatch

FindOnScreen() public static méthode

public static FindOnScreen ( string path, float percentage, bool shouldResize, Rectangle cropRect ) : TemplateMatch
path string
percentage float
shouldResize bool
cropRect System.Drawing.Rectangle
Résultat AForge.Imaging.TemplateMatch

TestTemplateOnScreen() public static méthode

public static TestTemplateOnScreen ( string path, float percentage ) : float
path string
percentage float
Résultat float

TickNow() public static méthode

public static TickNow ( ) : long
Résultat long

UpdateCurrentTalentLevel() public static méthode

public static UpdateCurrentTalentLevel ( CurrentGameState state ) : void
state BoringHeroes.GameLogic.CurrentGameState
Résultat void

UpdateEverythingOptimized() public static méthode

public static UpdateEverythingOptimized ( CurrentGameState state ) : void
state BoringHeroes.GameLogic.CurrentGameState
Résultat void

UpdateHasTalents() public static méthode

public static UpdateHasTalents ( CurrentGameState state ) : void
state BoringHeroes.GameLogic.CurrentGameState
Résultat void

UpdateHeroHP() public static méthode

public static UpdateHeroHP ( CurrentGameState state ) : void
state BoringHeroes.GameLogic.CurrentGameState
Résultat void

UpdateHeroMounted() public static méthode

public static UpdateHeroMounted ( CurrentGameState state ) : bool
state BoringHeroes.GameLogic.CurrentGameState
Résultat bool

UpdateHeroes() public static méthode

public static UpdateHeroes ( CurrentGameState state ) : void
state BoringHeroes.GameLogic.CurrentGameState
Résultat void

UpdateMinimap() public static méthode

public static UpdateMinimap ( CurrentGameState state ) : void
state BoringHeroes.GameLogic.CurrentGameState
Résultat void

UpdateTowers() public static méthode

public static UpdateTowers ( CurrentGameState state ) : void
state BoringHeroes.GameLogic.CurrentGameState
Résultat void

UpdateUnits() public static méthode

public static UpdateUnits ( CurrentGameState state ) : void
state BoringHeroes.GameLogic.CurrentGameState
Résultat void

Property Details

ShouldBringToFront public_oe static_oe property

public static bool ShouldBringToFront
Résultat bool