C# 클래스 EasyFarm.Classes.UnitFilters

Helper functions for filtering units.
파일 보기 프로젝트 열기: EasyFarm/EasyFarm

공개 메소드들

메소드 설명
MobFilter ( IMemoryAPI fface, Unit mob ) : bool

Returns true if a mob is attackable by the player based on the various settings in the Config class.

비공개 메소드들

메소드 설명
Distance ( Unit mob, Position waypoint ) : double

Return the 2-D distance between the unit and a position.

MatchAny ( string input, IList patterns, RegexOptions options ) : bool

Check multiple patterns for a match.

메소드 상세

MobFilter() 공개 정적인 메소드

Returns true if a mob is attackable by the player based on the various settings in the Config class.
public static MobFilter ( IMemoryAPI fface, Unit mob ) : bool
fface IMemoryAPI
mob Unit
리턴 bool