Click or drag to resize

Building Class

Inheritance Hierarchy

Namespace:  Ensage
Assembly:  Ensage (in Ensage.dll) Version: 0.0.0.1
Syntax
C#
public class Building : Unit

The Building type exposes the following members.

Constructors
  NameDescription
Public methodBuilding
Initializes a new instance of the Building class
Top
Properties
  NameDescription
Public propertyActiveShop
Returns the current shop the unit has access to.
(Inherited from Unit.)
Public propertyAngles (Inherited from Entity.)
Public propertyAnimation (Inherited from Entity.)
Public propertyArmor
Returns the total armor of the unit.
(Inherited from Unit.)
Public propertyArmorType (Inherited from Unit.)
Public propertyAttackCapability
Returns the attack capability of the unit.
(Inherited from Unit.)
Public propertyAttackDamageType (Inherited from Unit.)
Public propertyAttackRange
Returns the base attack range of the unit.
(Inherited from Unit.)
Public propertyAttackSpeedValue
Returns the attack speed value.
(Inherited from Unit.)
Public propertyAttacksPerSecond
Returns the amount of auto-attacks in one second.
(Inherited from Unit.)
Public propertyAvailableShops
Returns all available shops which are in the range of the current unit.
(Inherited from Unit.)
Public propertyBaseArmor
Returns the base armor of the unit.
(Inherited from Unit.)
Public propertyBaseAttackTime (Inherited from Unit.)
Public propertyBaseHealthRegeneration (Inherited from Unit.)
Public propertyBaseManaRegeneration (Inherited from Unit.)
Public propertyBaseMovementSpeed (Inherited from Unit.)
Public propertyBKBChargesUsed
Returns the amount of BKB charges which were used by this unit.
(Inherited from Unit.)
Public propertyBonusDamage (Inherited from Unit.)
Public propertyClassId Obsolete. (Inherited from Entity.)
Public propertyClassNetworkId
Gets an id representing a networked source engine class. This id will change very often.
(Inherited from Entity.)
Public propertyClassNetworkName
Gets the name of the id representing a networked source engine class.
(Inherited from Entity.)
Public propertyCollisionPadding (Inherited from Unit.)
Public propertyCreateTime (Inherited from Entity.)
Public propertyDamageAverage
Returns (Min + Max Damage) / 2
(Inherited from Unit.)
Public propertyDamageResist
Returns the physical damage reduction (value between 0 and 1).
(Inherited from Unit.)
Public propertyDayVision
Returns the base day vision value of the unit.
(Inherited from Unit.)
Public propertyDeathTime (Inherited from Unit.)
Public propertyDebuffState (Inherited from Unit.)
Public propertyHandle (Inherited from Entity.)
Public propertyHasArcana (Inherited from Unit.)
Public propertyHasBaseStatsChanged (Inherited from Unit.)
Public propertyHasInventory
Returns true if the unit can carry items.
(Inherited from Unit.)
Public propertyHasSharedAbilities (Inherited from Unit.)
Public propertyHasStolenScepter (Inherited from Unit.)
Public propertyHasUpgradeableAbilities (Inherited from Unit.)
Public propertyHealth (Inherited from Entity.)
Public propertyHealthBarOffset (Inherited from Unit.)
Public propertyHealthRegeneration (Inherited from Unit.)
Public propertyHeroStatuePlayerId
If the building is a hero statue, then it will give you the player Id of the owner.
Public propertyHullRadius (Inherited from Unit.)
Public propertyIndex (Inherited from Entity.)
Public propertyInventory (Inherited from Unit.)
Public propertyInvisiblityLevel (Inherited from Unit.)
Public propertyIsAlive (Inherited from Entity.)
Public propertyIsAncient (Inherited from Unit.)
Public propertyIsControllable
Tests if this unit is controllable by the local player.
(Inherited from Unit.)
Public propertyIsDominatable (Inherited from Unit.)
Public propertyIsDormant (Inherited from Entity.)
Public propertyIsHeroStatue
Returns true if the building is a hero statue.
Public propertyIsIllusion (Inherited from Unit.)
Public propertyIsMelee (Inherited from Unit.)
Public propertyIsMoving (Inherited from Unit.)
Public propertyIsNeutral (Inherited from Unit.)
Public propertyIsPhantom (Inherited from Unit.)
Public propertyIsRanged (Inherited from Unit.)
Public propertyIsSpawned (Inherited from Unit.)
Public propertyIsSummoned (Inherited from Unit.)
Public propertyIsValid (Inherited from Entity.)
Public propertyIsVisible (Inherited from Entity.)
Public propertyIsVisibleToEnemies (Inherited from Unit.)
Public propertyIsWaitingToSpawn
Returns true if a creep or neutral unit has not been spawned yet.
(Inherited from Unit.)
Public propertyLevel (Inherited from Unit.)
Public propertyLifeState (Inherited from Entity.)
Public propertyMagicDamageResist
Returns the magical damage reduction (value between 0 and 1).
(Inherited from Unit.)
Public propertyMana (Inherited from Unit.)
Public propertyManaRegeneration (Inherited from Unit.)
Public propertyMaximumDamage (Inherited from Unit.)
Public propertyMaximumHealth (Inherited from Entity.)
Public propertyMaximumMana (Inherited from Unit.)
Public propertyMinimapIcon (Inherited from Unit.)
Public propertyMinimapIconSize (Inherited from Unit.)
Public propertyMinimumDamage (Inherited from Unit.)
Public propertyModelFilename
Returns the filename of the model used.
(Inherited from Unit.)
Public propertyModifiers (Inherited from Unit.)
Public propertyMoveCapability
Returns the move capability of the unit.
(Inherited from Unit.)
Public propertyMovementSpeed
Gets the current movement speed.
(Inherited from Unit.)
Public propertyName (Inherited from Unit.)
Public propertyNetworkActivity (Inherited from Unit.)
Public propertyNetworkAngles (Inherited from Entity.)
Public propertyNetworkName (Inherited from Entity.)
Public propertyNetworkPosition (Inherited from Entity.)
Public propertyNetworkRotation (Inherited from Entity.)
Public propertyNetworkRotationRad (Inherited from Entity.)
Public propertyNightVision
Returns the base night vision of the unit.
(Inherited from Unit.)
Public propertyOwner (Inherited from Entity.)
Public propertyPosition (Inherited from Entity.)
Public propertyProjectileCollisionSize (Inherited from Unit.)
Public propertyRingRadius (Inherited from Unit.)
Public propertyRotation (Inherited from Entity.)
Public propertyRotationDifference
The current rotation difference of the unit.
(Inherited from Unit.)
Public propertyRotationRad (Inherited from Entity.)
Public propertyScale (Inherited from Entity.)
Public propertySecondsPerAttack
Returns the amount of seconds which are needed for one auto-attack.
(Inherited from Unit.)
Public propertySpeed (Inherited from Entity.)
Public propertySpellbook (Inherited from Unit.)
Public propertyTauntCooldown (Inherited from Unit.)
Public propertyTeam (Inherited from Entity.)
Public propertyTotalDamageTaken (Inherited from Unit.)
Public propertyUnitState (Inherited from Unit.)
Public propertyUnitType (Inherited from Unit.)
Top
Methods
  NameDescription
Public methodAddParticleEffect
Adds a particle effect to the entity.
(Inherited from Entity.)
Public methodAttack(Vector3)
Attack a target location.
(Inherited from Unit.)
Public methodAttack(PhysicalItem)
Attack a item on the ground.
(Inherited from Unit.)
Public methodAttack(Unit)
Attack a target unit.
(Inherited from Unit.)
Public methodAttack(Vector3, Boolean)
Attack a target location.
(Inherited from Unit.)
Public methodAttack(PhysicalItem, Boolean)
Attack a item on the ground.
(Inherited from Unit.)
Public methodAttack(Unit, Boolean)
Attack a target unit.
(Inherited from Unit.)
Public methodDropItem(Item, Vector3)
Drops an item to the ground.
(Inherited from Unit.)
Public methodDropItem(Item, Vector3, Boolean)
Drops an item to the ground.
(Inherited from Unit.)
Public methodEquals(Object) (Inherited from Entity.)
Public methodEquals(Entity) (Inherited from Entity.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFollow(Unit)
Move your unit to a target unit issuing the follow command.
(Inherited from Unit.)
Public methodFollow(Unit, Boolean)
Move your unit to a target unit issuing the follow command.
(Inherited from Unit.)
Public methodGetHashCode (Inherited from Entity.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGiveItem(Item, Unit)
Gives an item to another unit.
(Inherited from Unit.)
Public methodGiveItem(Item, Unit, Boolean)
Gives an item to another unit.
(Inherited from Unit.)
Public methodHold
Hold position.
(Inherited from Unit.)
Public methodHold(Boolean)
Hold position.
(Inherited from Unit.)
Public methodIsControllableByPlayer (Inherited from Unit.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMove(Vector3)
Move to the target location.
(Inherited from Unit.)
Public methodMove(Vector3, Boolean)
Move to the target location.
(Inherited from Unit.)
Public methodMove(Vector3, Boolean, Boolean)
Move to the target location.
(Inherited from Unit.)
Public methodMoveToDirection(Vector3)
Move to the target location.
(Inherited from Unit.)
Public methodMoveToDirection(Vector3, Boolean)
Move to the target location.
(Inherited from Unit.)
Public methodPatrol(Vector3)
Patrol to the target location.
(Inherited from Unit.)
Public methodPatrol(Vector3, Boolean)
Patrol to the target location.
(Inherited from Unit.)
Public methodPickUpItem(PhysicalItem)
Move your unit to a item and pick it up.
(Inherited from Unit.)
Public methodPickUpItem(PhysicalItem, Boolean)
Move your unit to a item and pick it up.
(Inherited from Unit.)
Public methodPickUpRune(Rune)
Move your unit to a rune and pick it up.
(Inherited from Unit.)
Public methodPickUpRune(Rune, Boolean)
Move your unit to a rune and pick it up.
(Inherited from Unit.)
Public methodPlaySound
Plays a sound and returns a handle to the sound event.
(Inherited from Entity.)
Public methodSelect
Clears the old selection and selects the current entity.
(Inherited from Entity.)
Public methodSelect(Boolean)
Selects the current entity.
(Inherited from Entity.)
Public methodStop
Stop the current action.
(Inherited from Unit.)
Public methodStop(Boolean)
Stop the current action.
(Inherited from Unit.)
Public methodStop(Boolean, Boolean)
Stop the current action.
(Inherited from Unit.)
Public methodStopSound(String)
Stops the sound event with the given name.
(Inherited from Entity.)
Public methodStopSound(UInt64)
Stops the sound event with the given handle.
(Inherited from Entity.)
Public methodToString (Inherited from Entity.)
Top
See Also