C# 클래스 BoringHeroes.ScreenReader

파일 보기 프로젝트 열기: lances101/BoringHeroes

공개 프로퍼티들

프로퍼티 타입 설명
ShouldBringToFront bool

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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[]

메소드 상세

AreTalentsOpen() 공개 정적인 메소드

public static AreTalentsOpen ( ) : bool
리턴 bool

DebugPlotVectorOnMap() 공개 정적인 메소드

public static DebugPlotVectorOnMap ( CurrentGameState state, System points = null ) : void
state BoringHeroes.GameLogic.CurrentGameState
points System
리턴 void

DetectSide() 공개 정적인 메소드

public static DetectSide ( CurrentGameState state ) : void
state BoringHeroes.GameLogic.CurrentGameState
리턴 void

FindOnScreen() 공개 정적인 메소드

public static FindOnScreen ( string path ) : TemplateMatch
path string
리턴 AForge.Imaging.TemplateMatch

FindOnScreen() 공개 정적인 메소드

public static FindOnScreen ( string path, float percentage ) : TemplateMatch
path string
percentage float
리턴 AForge.Imaging.TemplateMatch

FindOnScreen() 공개 정적인 메소드

public static FindOnScreen ( string path, float percentage, bool shouldResize ) : TemplateMatch
path string
percentage float
shouldResize bool
리턴 AForge.Imaging.TemplateMatch

FindOnScreen() 공개 정적인 메소드

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

TestTemplateOnScreen() 공개 정적인 메소드

public static TestTemplateOnScreen ( string path, float percentage ) : float
path string
percentage float
리턴 float

TickNow() 공개 정적인 메소드

public static TickNow ( ) : long
리턴 long

UpdateCurrentTalentLevel() 공개 정적인 메소드

public static UpdateCurrentTalentLevel ( CurrentGameState state ) : void
state BoringHeroes.GameLogic.CurrentGameState
리턴 void

UpdateEverythingOptimized() 공개 정적인 메소드

public static UpdateEverythingOptimized ( CurrentGameState state ) : void
state BoringHeroes.GameLogic.CurrentGameState
리턴 void

UpdateHasTalents() 공개 정적인 메소드

public static UpdateHasTalents ( CurrentGameState state ) : void
state BoringHeroes.GameLogic.CurrentGameState
리턴 void

UpdateHeroHP() 공개 정적인 메소드

public static UpdateHeroHP ( CurrentGameState state ) : void
state BoringHeroes.GameLogic.CurrentGameState
리턴 void

UpdateHeroMounted() 공개 정적인 메소드

public static UpdateHeroMounted ( CurrentGameState state ) : bool
state BoringHeroes.GameLogic.CurrentGameState
리턴 bool

UpdateHeroes() 공개 정적인 메소드

public static UpdateHeroes ( CurrentGameState state ) : void
state BoringHeroes.GameLogic.CurrentGameState
리턴 void

UpdateMinimap() 공개 정적인 메소드

public static UpdateMinimap ( CurrentGameState state ) : void
state BoringHeroes.GameLogic.CurrentGameState
리턴 void

UpdateTowers() 공개 정적인 메소드

public static UpdateTowers ( CurrentGameState state ) : void
state BoringHeroes.GameLogic.CurrentGameState
리턴 void

UpdateUnits() 공개 정적인 메소드

public static UpdateUnits ( CurrentGameState state ) : void
state BoringHeroes.GameLogic.CurrentGameState
리턴 void

프로퍼티 상세

ShouldBringToFront 공개적으로 정적으로 프로퍼티

public static bool ShouldBringToFront
리턴 bool