C# Class EasyFarm.Classes.UnitFilters

Helper functions for filtering units.
ファイルを表示 Open project: EasyFarm/EasyFarm

Public Methods

Method Description
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.

Private Methods

Method Description
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.

Method Details

MobFilter() public static method

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
return bool