C# Class Ensage.Common.UnitDatabase

The unit database.
Afficher le fichier Open project: EnsageSharp/Ensage.Common Class Usage Examples

Méthodes publiques

Méthode Description
GetAttackBackswing ( Hero unit ) : double

Gets the attack backswing.

GetAttackBackswing ( Unit unit ) : double

Gets the attack backswing.

GetAttackPoint ( Hero unit ) : double

Gets the attack point.

GetAttackPoint ( Unit unit ) : double

Gets the attack point.

GetAttackRate ( Hero unit ) : double

Gets the attack rate.

GetAttackRate ( Unit unit ) : double

Gets the attack rate.

GetAttackSpeed ( Hero unit ) : float

Gets the attack speed.

GetAttackSpeed ( Unit unit ) : float

Gets the attack speed.

GetByClassId ( ClassID classId ) : AttackAnimationData

Gets the attack animation data by class id.

GetByName ( string unitName ) : AttackAnimationData

Gets the attack animation data by name.

GetProjectileSpeed ( Hero unit ) : double

Returns units projectile speed

GetProjectileSpeed ( Unit unit ) : double

Returns units projectile speed

Private Methods

Méthode Description
UnitDatabase ( ) : System

Method Details

GetAttackBackswing() public static méthode

Gets the attack backswing.
public static GetAttackBackswing ( Hero unit ) : double
unit Hero /// The unit. ///
Résultat double

GetAttackBackswing() public static méthode

Gets the attack backswing.
public static GetAttackBackswing ( Unit unit ) : double
unit Unit /// The unit. ///
Résultat double

GetAttackPoint() public static méthode

Gets the attack point.
public static GetAttackPoint ( Hero unit ) : double
unit Hero /// The unit. ///
Résultat double

GetAttackPoint() public static méthode

Gets the attack point.
public static GetAttackPoint ( Unit unit ) : double
unit Unit /// The unit. ///
Résultat double

GetAttackRate() public static méthode

Gets the attack rate.
public static GetAttackRate ( Hero unit ) : double
unit Hero /// The unit. ///
Résultat double

GetAttackRate() public static méthode

Gets the attack rate.
public static GetAttackRate ( Unit unit ) : double
unit Unit /// The unit. ///
Résultat double

GetAttackSpeed() public static méthode

Gets the attack speed.
public static GetAttackSpeed ( Hero unit ) : float
unit Hero /// The unit. ///
Résultat float

GetAttackSpeed() public static méthode

Gets the attack speed.
public static GetAttackSpeed ( Unit unit ) : float
unit Unit /// The unit. ///
Résultat float

GetByClassId() public static méthode

Gets the attack animation data by class id.
public static GetByClassId ( ClassID classId ) : AttackAnimationData
classId ClassID /// The class id. ///
Résultat AttackAnimationData

GetByName() public static méthode

Gets the attack animation data by name.
public static GetByName ( string unitName ) : AttackAnimationData
unitName string /// The unit name. ///
Résultat AttackAnimationData

GetProjectileSpeed() public static méthode

Returns units projectile speed
public static GetProjectileSpeed ( Hero unit ) : double
unit Hero /// The unit. ///
Résultat double

GetProjectileSpeed() public static méthode

Returns units projectile speed
public static GetProjectileSpeed ( Unit unit ) : double
unit Unit /// The unit. ///
Résultat double