Show / Hide Table of Contents

Class WoWUnit

Inheritance
System.Object
WoWObject
WoWUnit
WoWPlayer
Inherited Members
WoWObject._imuakurunuqaoh
WoWObject.GetBaseAddress
WoWObject.IsValid
WoWObject.GetDescriptorStartAddress
WoWObject.Guid
WoWObject.Type
WoWObject.Entry
WoWObject.Scale
WoWObject.ToString()
WoWObject.GetDescriptorAddress(Descriptors.ObjectFields)
WoWObject.GetDescriptorAddress(UInt32)
WoWObject.GetDescriptorAddress(UInt32, UInt32)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: wManager.Wow.ObjectManager
Assembly: wManager.dll
Syntax
public class WoWUnit : WoWObject

Constructors

WoWUnit(UInt32)

Declaration
public WoWUnit(uint address)
Parameters
Type Name Description
System.UInt32 address

Properties

AggroDistance

Declaration
public int AggroDistance { get; }
Property Value
Type Description
System.Int32

Alternate

Declaration
public uint Alternate { get; }
Property Value
Type Description
System.UInt32

AlternatePercentage

Declaration
public uint AlternatePercentage { get; }
Property Value
Type Description
System.UInt32

ArcaneCharges

Declaration
public uint ArcaneCharges { get; }
Property Value
Type Description
System.UInt32

ArcaneChargesPercentage

Declaration
public uint ArcaneChargesPercentage { get; }
Property Value
Type Description
System.UInt32

BurningEmbers

Declaration
public uint BurningEmbers { get; }
Property Value
Type Description
System.UInt32

BurningEmbersPercentage

Declaration
public uint BurningEmbersPercentage { get; }
Property Value
Type Description
System.UInt32

CanInterruptCasting

Declaration
[Obsolete]
public bool CanInterruptCasting { get; }
Property Value
Type Description
System.Boolean

CastingSpell

Declaration
public Spell CastingSpell { get; }
Property Value
Type Description
Spell

CastingSpellId

Declaration
public int CastingSpellId { get; }
Property Value
Type Description
System.Int32

CastingTimeLeft

Declaration
[Obsolete]
public int CastingTimeLeft { get; }
Property Value
Type Description
System.Int32

Chi

Declaration
public uint Chi { get; }
Property Value
Type Description
System.UInt32

ChiPercentage

Declaration
public uint ChiPercentage { get; }
Property Value
Type Description
System.UInt32

CombatReach

Declaration
public float CombatReach { get; }
Property Value
Type Description
System.Single

Confused

Declaration
public bool Confused { get; }
Property Value
Type Description
System.Boolean

CreatedBy

Declaration
public ulong CreatedBy { get; }
Property Value
Type Description
System.UInt64

CreatedBySpell

Declaration
public int CreatedBySpell { get; }
Property Value
Type Description
System.Int32

CreatureTypeTarget

Declaration
public string CreatureTypeTarget { get; }
Property Value
Type Description
System.String

DarkForce

Declaration
public uint DarkForce { get; }
Property Value
Type Description
System.UInt32

DarkForcePercentage

Declaration
public uint DarkForcePercentage { get; }
Property Value
Type Description
System.UInt32

DBCacheRow

Declaration
public uint DBCacheRow { get; }
Property Value
Type Description
System.UInt32

DemonicFury

Declaration
public uint DemonicFury { get; }
Property Value
Type Description
System.UInt32

DemonicFuryPercentage

Declaration
public uint DemonicFuryPercentage { get; }
Property Value
Type Description
System.UInt32

DisplayId

Declaration
public uint DisplayId { get; }
Property Value
Type Description
System.UInt32

Energy

Declaration
public uint Energy { get; }
Property Value
Type Description
System.UInt32

EnergyPercentage

Declaration
public uint EnergyPercentage { get; }
Property Value
Type Description
System.UInt32

Faction

Declaration
public uint Faction { get; }
Property Value
Type Description
System.UInt32

FactionTemplate

Declaration
public WoWFactionTemplate FactionTemplate { get; }
Property Value
Type Description
WoWFactionTemplate

Fleeing

Declaration
public bool Fleeing { get; }
Property Value
Type Description
System.Boolean

Focus

Declaration
public uint Focus { get; }
Property Value
Type Description
System.UInt32

FocusPercentage

Declaration
public uint FocusPercentage { get; }
Property Value
Type Description
System.UInt32

GetDistance

Declaration
public override float GetDistance { get; }
Property Value
Type Description
System.Single
Overrides
WoWObject.GetDistance

GetDistance2D

Declaration
public float GetDistance2D { get; }
Property Value
Type Description
System.Single

GetDistanceZ

Declaration
public float GetDistanceZ { get; }
Property Value
Type Description
System.Single

GetDynamicFlags

Declaration
public int GetDynamicFlags { get; }
Property Value
Type Description
System.Int32

GetMove

Declaration
public bool GetMove { get; }
Property Value
Type Description
System.Boolean

GetMoveFlag

Declaration
public int GetMoveFlag { get; }
Property Value
Type Description
System.Int32

GetUnitDynamicFlags

Declaration
public UnitDynamicFlags GetUnitDynamicFlags { get; }
Property Value
Type Description
UnitDynamicFlags

HasTarget

Declaration
public bool HasTarget { get; }
Property Value
Type Description
System.Boolean

Health

Declaration
public long Health { get; }
Property Value
Type Description
System.Int64

HealthPercent

Declaration
public double HealthPercent { get; }
Property Value
Type Description
System.Double

HealthRatio

Declaration
public double HealthRatio { get; }
Property Value
Type Description
System.Double

HolyPower

Declaration
public uint HolyPower { get; }
Property Value
Type Description
System.UInt32

HolyPowerPercentage

Declaration
public uint HolyPowerPercentage { get; }
Property Value
Type Description
System.UInt32

InCombat

Declaration
public virtual bool InCombat { get; }
Property Value
Type Description
System.Boolean

InCombatFlagOnly

Declaration
public bool InCombatFlagOnly { get; }
Property Value
Type Description
System.Boolean

InCombatWithMe

Declaration
public bool InCombatWithMe { get; }
Property Value
Type Description
System.Boolean

Influenced

Declaration
public bool Influenced { get; }
Property Value
Type Description
System.Boolean

InteractDistance

Declaration
public float InteractDistance { get; }
Property Value
Type Description
System.Single

InTransport

Declaration
public bool InTransport { get; }
Property Value
Type Description
System.Boolean

IsAlive

Declaration
public bool IsAlive { get; }
Property Value
Type Description
System.Boolean

IsAttackable

Declaration
public bool IsAttackable { get; }
Property Value
Type Description
System.Boolean

IsAuctioneer

Declaration
public bool IsAuctioneer { get; }
Property Value
Type Description
System.Boolean

IsBoss

Declaration
public bool IsBoss { get; }
Property Value
Type Description
System.Boolean

IsCast

Declaration
public virtual bool IsCast { get; }
Property Value
Type Description
System.Boolean

IsDead

Declaration
public virtual bool IsDead { get; }
Property Value
Type Description
System.Boolean

IsElite

Declaration
public bool IsElite { get; }
Property Value
Type Description
System.Boolean

IsFlightMaster

Declaration
public bool IsFlightMaster { get; }
Property Value
Type Description
System.Boolean

IsFlying

Declaration
public bool IsFlying { get; }
Property Value
Type Description
System.Boolean

IsGoodInteractDistance

Declaration
public bool IsGoodInteractDistance { get; }
Property Value
Type Description
System.Boolean

IsIndoors

Declaration
public bool IsIndoors { get; }
Property Value
Type Description
System.Boolean

IsLocalPlayer

Declaration
public bool IsLocalPlayer { get; }
Property Value
Type Description
System.Boolean

IsLootable

Declaration
public bool IsLootable { get; }
Property Value
Type Description
System.Boolean

IsMeOrMyPetOrPartyMemberTarget

Declaration
public bool IsMeOrMyPetOrPartyMemberTarget { get; }
Property Value
Type Description
System.Boolean

IsMeOrMyPetTarget

Declaration
public bool IsMeOrMyPetTarget { get; }
Property Value
Type Description
System.Boolean

IsMounted

Declaration
public virtual bool IsMounted { get; }
Property Value
Type Description
System.Boolean

IsMovingBackwards

Declaration
public bool IsMovingBackwards { get; }
Property Value
Type Description
System.Boolean

IsMovingForward

Declaration
public bool IsMovingForward { get; }
Property Value
Type Description
System.Boolean

IsMyPet

Declaration
public bool IsMyPet { get; }
Property Value
Type Description
System.Boolean

IsMyPetTarget

Declaration
public bool IsMyPetTarget { get; }
Property Value
Type Description
System.Boolean

IsMyTarget

Declaration
public bool IsMyTarget { get; }
Property Value
Type Description
System.Boolean

IsNpcInnkeeper

Declaration
public bool IsNpcInnkeeper { get; }
Property Value
Type Description
System.Boolean

IsNpcRepair

Declaration
public bool IsNpcRepair { get; }
Property Value
Type Description
System.Boolean

IsNpcSpiritHealer

Declaration
public bool IsNpcSpiritHealer { get; }
Property Value
Type Description
System.Boolean

IsNpcTrainer

Declaration
public bool IsNpcTrainer { get; }
Property Value
Type Description
System.Boolean

IsNpcVendor

Declaration
public bool IsNpcVendor { get; }
Property Value
Type Description
System.Boolean

IsNpcVendorFood

Declaration
[Obsolete]
public bool IsNpcVendorFood { get; }
Property Value
Type Description
System.Boolean

IsNpcWildPets

Declaration
public bool IsNpcWildPets { get; }
Property Value
Type Description
System.Boolean

IsOnTaxi

Declaration
public bool IsOnTaxi { get; }
Property Value
Type Description
System.Boolean

IsOutdoors

Declaration
public bool IsOutdoors { get; }
Property Value
Type Description
System.Boolean

IsPartyLeader

Declaration
public bool IsPartyLeader { get; }
Property Value
Type Description
System.Boolean

IsPartyMember

Declaration
public virtual bool IsPartyMember { get; }
Property Value
Type Description
System.Boolean

IsPartyMemberTarget

Declaration
public bool IsPartyMemberTarget { get; }
Property Value
Type Description
System.Boolean

IsPet

Declaration
public bool IsPet { get; }
Property Value
Type Description
System.Boolean

IsStrafingLeft

Declaration
public bool IsStrafingLeft { get; }
Property Value
Type Description
System.Boolean

IsStrafingRight

Declaration
public bool IsStrafingRight { get; }
Property Value
Type Description
System.Boolean

IsStunned

Declaration
public bool IsStunned { get; }
Property Value
Type Description
System.Boolean

IsSwimming

Declaration
public bool IsSwimming { get; }
Property Value
Type Description
System.Boolean

IsTargetingMe

Declaration
public bool IsTargetingMe { get; }
Property Value
Type Description
System.Boolean

IsTargetingMeOrMyPet

Declaration
public bool IsTargetingMeOrMyPet { get; }
Property Value
Type Description
System.Boolean

IsTargetingMeOrMyPetOrPartyMember

Declaration
public bool IsTargetingMeOrMyPetOrPartyMember { get; }
Property Value
Type Description
System.Boolean

IsTargetingMyPet

Declaration
public bool IsTargetingMyPet { get; }
Property Value
Type Description
System.Boolean

IsTargetingPartyMember

Declaration
public bool IsTargetingPartyMember { get; }
Property Value
Type Description
System.Boolean

IsTracked

Declaration
public bool IsTracked { get; set; }
Property Value
Type Description
System.Boolean

IsTurningLeft

Declaration
public bool IsTurningLeft { get; }
Property Value
Type Description
System.Boolean

IsTurningRight

Declaration
public bool IsTurningRight { get; }
Property Value
Type Description
System.Boolean

IsWorldBoss

Declaration
public bool IsWorldBoss { get; }
Property Value
Type Description
System.Boolean

Level

Declaration
public uint Level { get; }
Property Value
Type Description
System.UInt32

LightForce

Declaration
public uint LightForce { get; }
Property Value
Type Description
System.UInt32

LightForcePercentage

Declaration
public uint LightForcePercentage { get; }
Property Value
Type Description
System.UInt32

Mana

Declaration
public uint Mana { get; }
Property Value
Type Description
System.UInt32

ManaPercentage

Declaration
public uint ManaPercentage { get; }
Property Value
Type Description
System.UInt32

MaxAlternate

Declaration
public uint MaxAlternate { get; }
Property Value
Type Description
System.UInt32

MaxArcaneCharges

Declaration
public uint MaxArcaneCharges { get; }
Property Value
Type Description
System.UInt32

MaxBurningEmbers

Declaration
public uint MaxBurningEmbers { get; }
Property Value
Type Description
System.UInt32

MaxChi

Declaration
public uint MaxChi { get; }
Property Value
Type Description
System.UInt32

MaxDarkForce

Declaration
public uint MaxDarkForce { get; }
Property Value
Type Description
System.UInt32

MaxDemonicFury

Declaration
public uint MaxDemonicFury { get; }
Property Value
Type Description
System.UInt32

MaxEnergy

Declaration
public uint MaxEnergy { get; }
Property Value
Type Description
System.UInt32

MaxFocus

Declaration
public uint MaxFocus { get; }
Property Value
Type Description
System.UInt32

MaxHealth

Declaration
public long MaxHealth { get; }
Property Value
Type Description
System.Int64

MaxHolyPower

Declaration
public uint MaxHolyPower { get; }
Property Value
Type Description
System.UInt32

MaxLightForce

Declaration
public uint MaxLightForce { get; }
Property Value
Type Description
System.UInt32

MaxMana

Declaration
public uint MaxMana { get; }
Property Value
Type Description
System.UInt32

MaxRage

Declaration
public uint MaxRage { get; }
Property Value
Type Description
System.UInt32

MaxRunes

Declaration
public uint MaxRunes { get; }
Property Value
Type Description
System.UInt32

MaxRunicPower

Declaration
public uint MaxRunicPower { get; }
Property Value
Type Description
System.UInt32

MaxShadowOrbs

Declaration
public uint MaxShadowOrbs { get; }
Property Value
Type Description
System.UInt32

MaxSoulShards

Declaration
public uint MaxSoulShards { get; }
Property Value
Type Description
System.UInt32

MountDisplayId

Declaration
public int MountDisplayId { get; }
Property Value
Type Description
System.Int32

MyCharacterInFrontHim

Declaration
public bool MyCharacterInFrontHim { get; }
Property Value
Type Description
System.Boolean

Name

Declaration
public override string Name { get; }
Property Value
Type Description
System.String
Overrides
WoWObject.Name

NotSelectable

Declaration
public bool NotSelectable { get; }
Property Value
Type Description
System.Boolean

NpcFlightMastrerIsDiscover

Declaration
public bool NpcFlightMastrerIsDiscover { get; }
Property Value
Type Description
System.Boolean

NpcMarker

Declaration
public NpcMarker NpcMarker { get; }
Property Value
Type Description
NpcMarker

NpcMarkerId

Declaration
public int NpcMarkerId { get; }
Property Value
Type Description
System.Int32

Pacified

Declaration
public bool Pacified { get; }
Property Value
Type Description
System.Boolean

PetNumber

Declaration
public int PetNumber { get; }
Property Value
Type Description
System.Int32

PetOwnerGuid

Declaration
public ulong PetOwnerGuid { get; }
Property Value
Type Description
System.UInt64

PlayerControlled

Declaration
public bool PlayerControlled { get; }
Property Value
Type Description
System.Boolean

Position

Declaration
public override Vector3 Position { get; }
Property Value
Type Description
Vector3
Overrides
WoWObject.Position

PositionRelativeWithoutType

Declaration
public Vector3 PositionRelativeWithoutType { get; }
Property Value
Type Description
Vector3

PositionWithoutType

Declaration
public Vector3 PositionWithoutType { get; }
Property Value
Type Description
Vector3

Possessed

Declaration
public bool Possessed { get; }
Property Value
Type Description
System.Boolean

Rage

Declaration
public uint Rage { get; }
Property Value
Type Description
System.UInt32

RagePercentage

Declaration
public uint RagePercentage { get; }
Property Value
Type Description
System.UInt32

Reaction

Declaration
public Reaction Reaction { get; }
Property Value
Type Description
Reaction

Rooted

Declaration
public bool Rooted { get; }
Property Value
Type Description
System.Boolean

Rotation

Declaration
public float Rotation { get; set; }
Property Value
Type Description
System.Single

Runes

Declaration
public virtual uint Runes { get; }
Property Value
Type Description
System.UInt32

RunesPercentage

Declaration
public uint RunesPercentage { get; }
Property Value
Type Description
System.UInt32

RunicPower

Declaration
public uint RunicPower { get; }
Property Value
Type Description
System.UInt32

RunicPowerPercentage

Declaration
public uint RunicPowerPercentage { get; }
Property Value
Type Description
System.UInt32

ShadowOrbs

Declaration
public uint ShadowOrbs { get; }
Property Value
Type Description
System.UInt32

ShadowOrbsPercentage

Declaration
public uint ShadowOrbsPercentage { get; }
Property Value
Type Description
System.UInt32

Silenced

Declaration
public bool Silenced { get; }
Property Value
Type Description
System.Boolean

Skinnable

Declaration
public bool Skinnable { get; }
Property Value
Type Description
System.Boolean

SoulShards

Declaration
public uint SoulShards { get; }
Property Value
Type Description
System.UInt32

SoulShardsPercentage

Declaration
public uint SoulShardsPercentage { get; }
Property Value
Type Description
System.UInt32

SpeedMoving

Declaration
public float SpeedMoving { get; }
Property Value
Type Description
System.Single

Summon

Declaration
public ulong Summon { get; }
Property Value
Type Description
System.UInt64

SummonedBy

Declaration
public ulong SummonedBy { get; }
Property Value
Type Description
System.UInt64

Target

Declaration
public ulong Target { get; set; }
Property Value
Type Description
System.UInt64

TargetObject

Declaration
public WoWUnit TargetObject { get; }
Property Value
Type Description
WoWUnit

TransportGuid

Declaration
public ulong TransportGuid { get; }
Property Value
Type Description
System.UInt64

UnitClassification

Declaration
public UnitClassification UnitClassification { get; }
Property Value
Type Description
UnitClassification

UnitFlags

Declaration
public UnitFlags UnitFlags { get; }
Property Value
Type Description
UnitFlags

UnitNPCFlags

Declaration
public UnitNPCFlags UnitNPCFlags { get; }
Property Value
Type Description
UnitNPCFlags

WowClass

Declaration
public WoWClass WowClass { get; }
Property Value
Type Description
WoWClass

Methods

BuffCastedBy(String)

Declaration
public ulong BuffCastedBy(string spellName)
Parameters
Type Name Description
System.String spellName
Returns
Type Description
System.UInt64

BuffCastedByAll(String)

Declaration
public List<ulong> BuffCastedByAll(string spellName)
Parameters
Type Name Description
System.String spellName
Returns
Type Description
System.Collections.Generic.List<System.UInt64>

BuffStack(List<UInt32>)

Declaration
public int BuffStack(List<uint> idBuffs)
Parameters
Type Name Description
System.Collections.Generic.List<System.UInt32> idBuffs
Returns
Type Description
System.Int32

BuffStack(String)

Declaration
public int BuffStack(string spellName)
Parameters
Type Name Description
System.String spellName
Returns
Type Description
System.Int32

BuffStack(UInt32)

Declaration
public int BuffStack(uint idBuff)
Parameters
Type Name Description
System.UInt32 idBuff
Returns
Type Description
System.Int32

BuffTimeLeft(List<UInt32>)

Declaration
public int BuffTimeLeft(List<uint> idBuffs)
Parameters
Type Name Description
System.Collections.Generic.List<System.UInt32> idBuffs
Returns
Type Description
System.Int32

BuffTimeLeft(String)

Declaration
public int BuffTimeLeft(string spellName)
Parameters
Type Name Description
System.String spellName
Returns
Type Description
System.Int32

GetAllBuff()

Declaration
public List<Aura> GetAllBuff()
Returns
Type Description
System.Collections.Generic.List<Aura>

GetBuff(List<UInt32>)

Declaration
public Aura GetBuff(List<uint> idBuffs)
Parameters
Type Name Description
System.Collections.Generic.List<System.UInt32> idBuffs
Returns
Type Description
Aura

GetBuff(String)

Declaration
public Aura GetBuff(string spellName)
Parameters
Type Name Description
System.String spellName
Returns
Type Description
Aura

GetBuffs(List<UInt32>)

Declaration
public List<Aura> GetBuffs(List<uint> idBuffs)
Parameters
Type Name Description
System.Collections.Generic.List<System.UInt32> idBuffs
Returns
Type Description
System.Collections.Generic.List<Aura>

GetBuffs(String)

Declaration
public List<Aura> GetBuffs(string spellName)
Parameters
Type Name Description
System.String spellName
Returns
Type Description
System.Collections.Generic.List<Aura>

GetDescriptorAddress(Descriptors.UnitFields)

Declaration
public uint GetDescriptorAddress(Descriptors.UnitFields field)
Parameters
Type Name Description
Descriptors.UnitFields field
Returns
Type Description
System.UInt32

GetMaxPowerByPowerType(PowerType)

Declaration
public uint GetMaxPowerByPowerType(PowerType powerType)
Parameters
Type Name Description
PowerType powerType
Returns
Type Description
System.UInt32

GetMovementFlag(Int32)

Declaration
public bool GetMovementFlag(int flag)
Parameters
Type Name Description
System.Int32 flag
Returns
Type Description
System.Boolean

GetPowerByPowerType(PowerType)

Declaration
public uint GetPowerByPowerType(PowerType powerType)
Parameters
Type Name Description
PowerType powerType
Returns
Type Description
System.UInt32

HaveBuff(List<UInt32>)

Declaration
public bool HaveBuff(List<uint> idBuffs)
Parameters
Type Name Description
System.Collections.Generic.List<System.UInt32> idBuffs
Returns
Type Description
System.Boolean

HaveBuff(String)

Declaration
public bool HaveBuff(string spellName)
Parameters
Type Name Description
System.String spellName
Returns
Type Description
System.Boolean

HaveBuff(UInt32)

Declaration
public bool HaveBuff(uint idBuffs)
Parameters
Type Name Description
System.UInt32 idBuffs
Returns
Type Description
System.Boolean

IsBehind(Vector3, Single, Single)

Declaration
public bool IsBehind(Vector3 targetPosition, float targetRotationRadian, float arcRadians = 3.141593F)
Parameters
Type Name Description
Vector3 targetPosition
System.Single targetRotationRadian
System.Single arcRadians
Returns
Type Description
System.Boolean

IsFacing(Vector3, Single)

Declaration
public bool IsFacing(Vector3 targetPosition, float arcRadians = 0.2F)
Parameters
Type Name Description
Vector3 targetPosition
System.Single arcRadians
Returns
Type Description
System.Boolean

Extension Methods

Extensions.Serialize<T>(T)
Back to top Generated by DocFX