wManager.Wow.Helpers Namespace
wManager.Wow.ObjectManager Namespace
WRobot

ObjectManager..::..GetNearestWoWUnit Method (List<(Of <(<'WoWUnit>)>)>, Boolean)

Gets the nearest unit.

Namespace:  wManager.Wow.ObjectManager
Assembly:  wManager (in wManager.dll)

Syntax


public static WoWUnit GetNearestWoWUnit(
	List<WoWUnit> listWoWUnit,
	bool ignoreBlackListed
)
Public Shared Function GetNearestWoWUnit ( _
	listWoWUnit As List(Of WoWUnit), _
	ignoreBlackListed As Boolean _
) As WoWUnit
public:
static WoWUnit^ GetNearestWoWUnit(
	List<WoWUnit^>^ listWoWUnit, 
	bool^ ignoreBlackListed
)

Parameters

listWoWUnit
Type: List<(Of <(<'WoWUnit>)>)>
The list unit.
ignoreBlackListed
Type: Boolean
if set to true ignore black listed.

Return Value

WoWUnit.