Click or drag to resize

Player Class

Inheritance Hierarchy

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

The Player type exposes the following members.

Constructors
  NameDescription
Public methodPlayer
Initializes a new instance of the Player class
Public methodPlayer(EntityHandle)
Initializes a new instance of the Player class
Top
Properties
  NameDescription
Public propertyAngles (Inherited from Entity.)
Public propertyAnimation (Inherited from Entity.)
Public propertyAssists
Public propertyBattleBonusRate
Public propertyBuybackCooldownTime
Returns the cooldown on buyback in seconds.
Public propertyBuybackCostTime
Public propertyBuybackGoldLimitTime
Returns the duration of the limited farm debuf from using buyback.
Public propertyStatic memberCameraPosition
Public propertyCampsStacked
Amount of camps stacked.
Public propertyClaimedDenyCount
Public propertyClaimedMissCount
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 propertyCompendiumLevel
Public propertyConnectionState
Public propertyCreateTime (Inherited from Entity.)
Public propertyCreepKillGold
Public propertyCreepsStacked
Public propertyCustomBuybackCooldown
Public propertyDeaths
Public propertyDenyCount
Public propertyGoldSpentOnSupport
Public propertyHandle (Inherited from Entity.)
Public propertyHasRandomed
Public propertyHasRepicked
Public propertyHealing
Total amount of inflicted healing to allied heroes.
Public propertyHealth (Inherited from Entity.)
Public propertyHero
Chosen hero.
Public propertyHeroDamage
Public propertyHeroKillGold
Public propertyId
Player Id.
Public propertyIncomeGold
Public propertyIndex (Inherited from Entity.)
Public propertyIsAFK
Public propertyIsAlive (Inherited from Entity.)
Public propertyIsBattleBonusActive
Public propertyIsBroadcaster
Public propertyIsDormant (Inherited from Entity.)
Public propertyIsFakeClient
Returns true if the Player is a Bot
Public propertyIsFullyJoinedServer
Public propertyIsPredictingVictory
Public propertyIsValid (Inherited from Entity.)
Public propertyIsVisible (Inherited from Entity.)
Public propertyIsVoiceChatBanned
Public propertyKills
Public propertyKillStreak
Public propertyLastBuybackTime
Public propertyLastHitCount
Public propertyLastHitMultikill
Public propertyLastHitStreak
Public propertyLevel
Public propertyLifeState (Inherited from Entity.)
Public propertyMaximumHealth (Inherited from Entity.)
Public propertyMissCount
Public propertyName (Overrides EntityName.)
Public propertyNearbyCreepDeathCount
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 propertyObserverWardsPlaced
Public propertyOwner (Inherited from Entity.)
Public propertyPlayerSteamId
Will return 0 for the local player.
Public propertyPosition (Inherited from Entity.)
Public propertyQueryUnit
Returns the currently selected unit which is not a controllable entity (player clicks on an enemy unit to look it up).
Public propertyStatic memberQuickBuyItems
Returns the quickbuy itemIds of the local player.
Public propertyReliableGold
Public propertyRespawnSeconds
Public propertyRoshanKills
Amount of roshan kills the player was involved.
Public propertyRotation (Inherited from Entity.)
Public propertyRotationRad (Inherited from Entity.)
Public propertyRunePickups
Public propertyScale (Inherited from Entity.)
Public propertySelectedHeroId
Returns the Id of the selected hero. Of no hero has been selected yet, then it'll return -1.
Public propertySelection
All entities which are selected for ordering (not querying).
Public propertySentryWardsPlaced
Public propertySharedGold
Public propertySpeed (Inherited from Entity.)
Public propertyStatic memberStickyItemId
Returns the sticky itemIds of the local player, or 0 if no item is specified.
Public propertyStuns
Total duration of inflicted stuns in seconds to enemy heroes.
Public propertyTeam (Inherited from Entity.)
Public propertyTeamSlot
Public propertyTotalEarnedGold
Public propertyTotalEarnedXP
Public propertyTowerKills
Amount of tower kills the player had.
Public propertyUnreliableGold
Public propertyWardsDestroyed
Public propertyWardsPurchased
Top
Methods
  NameDescription
Public methodAddParticleEffect
Adds a particle effect to the entity.
(Inherited from Entity.)
Public methodStatic memberAnnounce
Announces an ability.
Public methodStatic memberAttackEntity(Unit, PhysicalItem)
Attack an item on the ground.
Public methodStatic memberAttackEntity(Unit, Unit)
Attack with one or more units a target unit.
Public methodStatic memberAttackEntity(Unit, PhysicalItem, Boolean)
Attack an item on the ground.
Public methodStatic memberAttackEntity(Unit, Unit, Boolean)
Attack with one or more units a target unit.
Public methodStatic memberBuyback
Uses buyback on your hero.
Public methodStatic memberBuyItem
Buys an item with the given id.
Public methodStatic memberDestroyItem(Unit, Item)
Exploit: Destroys any droppable item (including gem, rapier etc).
Public methodStatic memberDestroyItem(Unit, Item, Boolean)
Exploit: Destroys any droppable item (including gem, rapier etc).
Public methodStatic memberDisassembleItem
Disassembles an item.
Public methodStatic memberDropFromStash
Drop an item from the stash.
Public methodStatic memberDropItem(Unit, Item, Vector3)
Drops an item to the ground.
Public methodStatic memberDropItem(Unit, Item, Vector3, Boolean)
Drops an item to the ground.
Public methodStatic memberEntitiesAttack(IEnumerableUnit, Unit)
Public methodStatic memberEntitiesAttack(IEnumerableUnit, Vector3)
Public methodStatic memberEntitiesAttack(IEnumerableUnit, Unit, Boolean)
Public methodStatic memberEntitiesAttack(IEnumerableUnit, Vector3, Boolean)
Public methodStatic memberEntitiesFollow(IEnumerableUnit, Unit)
Public methodStatic memberEntitiesFollow(IEnumerableUnit, Unit, Boolean)
Public methodStatic memberEntitiesHold(IEnumerableUnit)
Public methodStatic memberEntitiesHold(IEnumerableUnit, Boolean)
Public methodStatic memberEntitiesMove(IEnumerableUnit, Vector3)
Public methodStatic memberEntitiesMove(IEnumerableUnit, Vector3, Boolean)
Public methodStatic memberEntitiesOrder
Public methodStatic memberEntitiesStop(IEnumerableUnit)
Public methodStatic memberEntitiesStop(IEnumerableUnit, Boolean)
Public methodStatic memberEntityAttack(Unit, Vector3)
Attack with one or more units a target location.
Public methodStatic memberEntityAttack(Unit, Vector3, Boolean)
Attack with one or more units a target location.
Public methodStatic memberEntityHold(Unit)
Hold position with your unit.
Public methodStatic memberEntityHold(Unit, Boolean)
Hold position with your unit.
Public methodStatic memberEntityStop(Unit)
Stop the current action of your unit.
Public methodStatic memberEntityStop(Unit, Boolean)
Stop the current action of your unit.
Public methodStatic memberEntityStop(Unit, Boolean, Boolean)
Stop the current action of your 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 methodStatic memberFollowEntity(Unit, Unit)
Move your unit to a target unit issuing the follow command.
Public methodStatic memberFollowEntity(Unit, Unit, Boolean)
Move your unit to a target unit issuing the follow command.
Public methodGetHashCode (Inherited from Entity.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberGiveItem(Unit, Item, Unit)
Gives an item to another unit.
Public methodStatic memberGiveItem(Unit, Item, Unit, Boolean)
Gives an item to another unit.
Public methodStatic memberGlyph
Uses the glyph of fortification.
Public methodStatic memberLockItemCombining
Locks combining for the given item item.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberMoveEntity(Unit, Vector3)
Move one unit to the target location.
Public methodStatic memberMoveEntity(Unit, Vector3, Boolean)
Move one unit to the target location.
Public methodStatic memberMoveEntity(Unit, Vector3, Boolean, Boolean)
Move one unit to the target location.
Public methodStatic memberMoveEntityToDirection(Unit, Vector3)
Move one unit to the target location.
Public methodStatic memberMoveEntityToDirection(Unit, Vector3, Boolean)
Move one unit to the target location.
Public methodStatic memberMoveItem
Moves an item to the given position.
Public methodStatic memberPatrolEntity(Unit, Vector3)
Let one unit patrol to the target location.
Public methodStatic memberPatrolEntity(Unit, Vector3, Boolean)
Let one unit patrol to the target location.
Public methodStatic memberPickUpItem(Unit, PhysicalItem)
Picks up a physical item from ground.
Public methodStatic memberPickUpItem(Unit, PhysicalItem, Boolean)
Picks up a physical item from ground.
Public methodStatic memberPickUpRune(Unit, Rune)
Picks up a rune.
Public methodStatic memberPickUpRune(Unit, Rune, Boolean)
Picks up a rune.
Public methodPlaySound
Plays a sound and returns a handle to the sound event.
(Inherited from Entity.)
Public methodStatic memberScan
Uses the ingame scan function.
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 methodStatic memberSelectEntity(Entity)
Clears the old selection and selects the given entity.
Public methodStatic memberSelectEntity(Entity, Boolean)
Selects the given entity.
Public methodStatic memberSellItem
Sells an item.
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 methodStatic memberToggleAbility(Unit, Ability)
Toggle an ability (such as Pudge's Rot)
Public methodStatic memberToggleAbility(Unit, Ability, Boolean)
Toggle an ability (such as Pudge's Rot)
Public methodStatic memberToggleAutocastAbility
Toggle autocast of an ability.
Public methodToString (Inherited from Entity.)
Public methodStatic memberUnlockCombining
Unlocks combining for the given item.
Public methodStatic memberUpgradeAbility
Level up an ability.
Public methodStatic memberUseAbility(Unit, Ability)
Use an ability without a target.
Public methodStatic memberUseAbility(Unit, Ability, Rune)
Use an ability on a rune.
Public methodStatic memberUseAbility(Unit, Ability, Tree)
Use an ability on a tree.
Public methodStatic memberUseAbility(Unit, Ability, Unit)
Use an ability on a target unit.
Public methodStatic memberUseAbility(Unit, Ability, Vector3)
Use an ability on a target location.
Public methodStatic memberUseAbility(Unit, Ability, Boolean)
Use an ability without a target.
Public methodStatic memberUseAbility(Unit, Ability, Rune, Boolean)
Use an ability on a rune.
Public methodStatic memberUseAbility(Unit, Ability, Tree, Boolean)
Use an ability on a tree.
Public methodStatic memberUseAbility(Unit, Ability, Unit, Boolean)
Use an ability on a target unit.
Public methodStatic memberUseAbility(Unit, Ability, Vector3, Boolean)
Use an ability on a target location.
Top
Events
  NameDescription
Public eventStatic memberOnExecuteOrder
Top
See Also