C# Класс Ensage.Common.Extensions.HeroExtensions

The hero extensions.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
Init ( ) : void

The initialize.

Описание методов

AghanimState() публичный статический Метод

Checks if given hero has AghanimScepter
public static AghanimState ( this hero ) : bool
hero this /// The hero. ///
Результат bool

AttackBackswing() публичный статический Метод

The attack backswing.
public static AttackBackswing ( this hero ) : double
hero this /// The hero. ///
Результат double

AttackPoint() публичный статический Метод

The attack point.
public static AttackPoint ( this hero ) : double
hero this /// The hero. ///
Результат double

AttackRate() публичный статический Метод

The attack rate.
public static AttackRate ( this hero ) : double
hero this /// The hero. ///
Результат double

CanDie() публичный статический Метод

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. ///
Результат bool

CanGoInvis() публичный статический Метод

Checks if given unit can become invisible
public static CanGoInvis ( this hero ) : bool
hero this /// The hero. ///
Результат bool

CanReincarnate() публичный статический Метод

The can reincarnate.
public static CanReincarnate ( this hero ) : bool
hero this /// The hero. ///
Результат bool

GetAttackRange() публичный статический Метод

Returns actual attack range of a hero
public static GetAttackRange ( this hero ) : float
hero this /// The hero. ///
Результат float

GetRealName() публичный статический Метод

Returns real name of the hero
public static GetRealName ( this hero ) : string
hero this /// The hero. ///
Результат string

IsIllusion() публичный статический Метод

The is illusion.
public static IsIllusion ( this hero ) : bool
hero this /// The hero. ///
Результат bool

Player() публичный статический Метод

The player.
public static Player ( this hero ) : Player
hero this /// The hero. ///
Результат Player

ProjectileSpeed() публичный статический Метод

The projectile speed.
public static ProjectileSpeed ( this hero ) : double
hero this /// The hero. ///
Результат double