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

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

Gets the nearest unit.

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

Syntax


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

Parameters

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

Return Value

WoWUnit.