Click or drag to resize

Ability Class

Inheritance Hierarchy

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

The Ability type exposes the following members.

Constructors
  NameDescription
Public methodAbility
Initializes a new instance of the Ability class
Top
Properties
  NameDescription
Public propertyAbilityBehavior
Public propertyAbilityData
Public propertyAbilityIndex
Public propertyAbilitySlot
Returns the slot of the current ability or "-1" if it's an hidden ability or not found.
Public propertyAbilitySpecialData
Public propertyAbilityState
Public propertyAbilityType
Public propertyAngles (Inherited from Entity.)
Public propertyAnimation (Inherited from Entity.)
Public propertyCastRange
Returns the cast range of the ablity for the current level.
Public propertyChannelStartTime
Public propertyChannelTime
Returns the time in seconds the ability is being channeled.
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 propertyCooldown
Current remaining cooldown of the ability.
Public propertyCooldownLength
Returns the cooldown of the spell for the current level.
Public propertyCreateTime (Inherited from Entity.)
Public propertyDamageType
Public propertyDispellableType
Public propertyEnemyLevel
Public propertyHandle (Inherited from Entity.)
Public propertyHasAltCastState
Public propertyHasIndefiniteCooldown
Public propertyHealth (Inherited from Entity.)
Public propertyId
Unique ability/item id.
Public propertyIndex (Inherited from Entity.)
Public propertyIsActivated
Public propertyIsAlive (Inherited from Entity.)
Public propertyIsAutoCastEnabled
Public propertyIsChanneling
Public propertyIsCooldownFrozen
Public propertyIsDormant (Inherited from Entity.)
Public propertyIsGrantedByScepter
Public propertyIsHidden
Public propertyIsInAbilityPhase
Public propertyIsInIndefiniteCooldown
Public propertyIsReplicated
Public propertyIsStolen
Public propertyIsToggled
Public propertyIsValid (Inherited from Entity.)
Public propertyIsVisible (Inherited from Entity.)
Public propertyKeyValues
Public propertyLastCastClickTime
Returns the cast point of the spell for the current level.
Public propertyLevel
Public propertyLevelsBeetweenUpgrades
Public propertyLifeState (Inherited from Entity.)
Public propertyManaCost
Returns the mana cost of the spell for the current level.
Public propertyMaximumHealth (Inherited from Entity.)
Public propertyMaximumLevel
Public propertyName (Overrides EntityName.)
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 propertyOverrideCastPoint
Returns the cast point of the spell for the current level.
Public propertyOwner (Inherited from Entity.)
Public propertyPosition (Inherited from Entity.)
Public propertyRequiredLevel
Public propertyRotation (Inherited from Entity.)
Public propertyRotationRad (Inherited from Entity.)
Public propertyScale (Inherited from Entity.)
Public propertySharedCooldownName
Public propertySpeed (Inherited from Entity.)
Public propertySpellPierceImmunityType
Public propertyTargetFlags
Public propertyTargetTeamType
Public propertyTargetType
Public propertyTeam (Inherited from Entity.)
Public propertyTextureName
Top
Methods
  NameDescription
Public methodAddParticleEffect
Adds a particle effect to the entity.
(Inherited from Entity.)
Public methodAnnounce
Announces an ability.
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 methodStatic memberGetAbilityDataById
Finds the AbilityData for the given ability id.
Public methodStatic memberGetAbilityDataByName
Finds the AbilityData for the given ability name.
Public methodGetCastPoint
Returns the cast point of the spell for the given level. The index must be (Ability.Level-1) and >= 0.
Public methodGetChannelTime
Returns the total channel time of the spell for the given level. The index must be (Ability.Level-1) and >= 0.
Public methodGetCooldown
Returns the cooldown of the spell for the given level. The index must be (Ability.Level-1) and >= 0.
Public methodGetDamage
Returns the damage of the spell for the given level. The index must be (Ability.Level-1) and >= 0.
Public methodGetDuration
Returns the duration of the spell (how long it will stay active) or the duration of the applied modifier (e.g. the duration of the applied stun). The index must be (Ability.Level-1) and >= 0.
Public methodGetHashCode (Inherited from Entity.)
Public methodGetManaCost
Returns the mana cost of the spell for the given level. The index must be (Ability.Level-1) and >= 0.
Public methodGetRange
Returns the range of the spell for the given level. The index must be (Ability.Level-1) and >= 0.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
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 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 methodTargetPosition(Vector3)
Sets a target position for the next ability used.
Public methodTargetPosition(Vector3, Boolean)
Sets a target position for the next ability used.
Public methodTargetPosition(Vector3, Boolean, Boolean)
Sets a target position for the next ability used.
Public methodToggleAbility
Toggle the ability (such as Pudge's Rot)
Public methodToggleAbility(Boolean)
Toggle the ability (such as Pudge's Rot)
Public methodToggleAbility(Boolean, Boolean)
Toggle the ability (such as Pudge's Rot)
Public methodToggleAutocastAbility
Toggle autocast of the ability.
Public methodToString (Inherited from Entity.)
Public methodUpgradeAbility
Level up an ability.
Public methodUseAbility
Use the ability without a target.
Public methodUseAbility(Vector3)
Use the ability on a target location.
Public methodUseAbility(Boolean)
Use the ability without a target.
Public methodUseAbility(Rune)
Use the ability on a rune.
Public methodUseAbility(Tree)
Use the ability on a tree.
Public methodUseAbility(Unit)
Use the ability on a target unit.
Public methodUseAbility(Vector3, Boolean)
Use the ability on a target location.
Public methodUseAbility(Boolean, Boolean)
Use the ability without a target.
Public methodUseAbility(Rune, Boolean)
Use the ability on a rune.
Public methodUseAbility(Tree, Boolean)
Use the ability on a tree.
Public methodUseAbility(Unit, Boolean)
Use the ability on a target unit.
Public methodUseAbility(Vector3, Boolean, Boolean)
Use the ability on a target location.
Public methodUseAbility(Rune, Boolean, Boolean)
Use the ability on a rune.
Public methodUseAbility(Tree, Boolean, Boolean)
Use the ability on a tree.
Public methodUseAbility(Unit, Boolean, Boolean)
Use the ability on a target unit.
Top
See Also