NpcDB..::..GetNpcNearby Method (NpcType, FactionType, ContinentId, Vector3, Boolean, NpcVendorItemClass)
Get closest NPC by type.
Namespace:
wManager.Wow.HelpersAssembly: wManager (in wManager.dll)
Syntax
public static Npc GetNpcNearby( Npc..::..NpcType type, Npc..::..FactionType faction, ContinentId continentId, Vector3 currentPosition, bool forceFlying, Npc..::..NpcVendorItemClass npcVendorItemClass )
Public Shared Function GetNpcNearby ( _ type As Npc..::..NpcType, _ faction As Npc..::..FactionType, _ continentId As ContinentId, _ currentPosition As Vector3, _ forceFlying As Boolean, _ npcVendorItemClass As Npc..::..NpcVendorItemClass _ ) As Npc
public: static Npc^ GetNpcNearby( Npc..::..NpcType^ type, Npc..::..FactionType^ faction, ContinentId^ continentId, Vector3^ currentPosition, bool^ forceFlying, Npc..::..NpcVendorItemClass^ npcVendorItemClass )
Parameters
- type
- Type: wManager.Wow.Class..::..Npc..::..NpcType
The type.
- faction
- Type: wManager.Wow.Class..::..Npc..::..FactionType
The faction.
- continentId
- Type: wManager.Wow.Enums..::..ContinentId
The continent id.
- currentPosition
- Type: robotManager.Helpful..::..Vector3
The current position.
- npcVendorItemClass
- Type: wManager.Wow.Class..::..Npc..::..NpcVendorItemClass
The NPC vendor item class.