C# Class EasyFarm.Classes.UnitFilters

Helper functions for filtering units.
Afficher le fichier Open project: EasyFarm/EasyFarm

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat bool