UnitCanAttack..::..CanAttack Method (UInt32, UInt32)
Returns true if the first unit can attack the second unit, false otherwise.
Namespace:
wManager.Wow.HelpersAssembly: wManager (in wManager.dll)
Syntax
Public Shared Function CanAttack ( _ baseAddressUnit1 As UInteger, _ baseAddressUnit2 As UInteger _ ) As Boolean
public: static bool^ CanAttack( unsigned int^ baseAddressUnit1, unsigned int^ baseAddressUnit2 )
Parameters
- baseAddressUnit1
- Type: UInt32
[WoWObject.GetBaseAddress] of first unit.
- baseAddressUnit2
- Type: UInt32
[WoWObject.GetBaseAddress] of second unit.