C# Class Ensage.Common.Extensions.HeroExtensions

The hero extensions.
Exibir arquivo Open project: EnsageSharp/Ensage.Common

Public Methods

Method Description
AghanimState ( this hero ) : bool

Checks if given hero has AghanimScepter

AttackBackswing ( this hero ) : double

The attack backswing.

AttackPoint ( this hero ) : double

The attack point.

AttackRate ( this hero ) : double

The attack rate.

CanDie ( this hero, string sourceAbilityName = null, bool ignoreReincarnation = false ) : bool

The can die.

CanGoInvis ( this hero ) : bool

Checks if given unit can become invisible

CanReincarnate ( this hero ) : bool

The can reincarnate.

GetAttackRange ( this hero ) : float

Returns actual attack range of a hero

GetRealName ( this hero ) : string

Returns real name of the hero

IsIllusion ( this hero ) : bool

The is illusion.

Player ( this hero ) : Player

The player.

ProjectileSpeed ( this hero ) : double

The projectile speed.

Private Methods

Method Description
Init ( ) : void

The initialize.

Method Details

AghanimState() public static method

Checks if given hero has AghanimScepter
public static AghanimState ( this hero ) : bool
hero this /// The hero. ///
return bool

AttackBackswing() public static method

The attack backswing.
public static AttackBackswing ( this hero ) : double
hero this /// The hero. ///
return double

AttackPoint() public static method

The attack point.
public static AttackPoint ( this hero ) : double
hero this /// The hero. ///
return double

AttackRate() public static method

The attack rate.
public static AttackRate ( this hero ) : double
hero this /// The hero. ///
return double

CanDie() public static method

The can die.
public static CanDie ( this hero, string sourceAbilityName = null, bool ignoreReincarnation = false ) : bool
hero this /// The hero. ///
sourceAbilityName string /// The source ability name. ///
ignoreReincarnation bool /// The ignore reincarnation. ///
return bool

CanGoInvis() public static method

Checks if given unit can become invisible
public static CanGoInvis ( this hero ) : bool
hero this /// The hero. ///
return bool

CanReincarnate() public static method

The can reincarnate.
public static CanReincarnate ( this hero ) : bool
hero this /// The hero. ///
return bool

GetAttackRange() public static method

Returns actual attack range of a hero
public static GetAttackRange ( this hero ) : float
hero this /// The hero. ///
return float

GetRealName() public static method

Returns real name of the hero
public static GetRealName ( this hero ) : string
hero this /// The hero. ///
return string

IsIllusion() public static method

The is illusion.
public static IsIllusion ( this hero ) : bool
hero this /// The hero. ///
return bool

Player() public static method

The player.
public static Player ( this hero ) : Player
hero this /// The hero. ///
return Player

ProjectileSpeed() public static method

The projectile speed.
public static ProjectileSpeed ( this hero ) : double
hero this /// The hero. ///
return double