Property | Type | Description | |
---|---|---|---|
LastPosition | System.Vector3 | ||
LastRotR | float | ||
Lasttick | float | ||
RotSpeed | float | ||
RotSpeedDictionary | double>.Dictionary | ||
RotTimeDictionary | float>.Dictionary | ||
Speed | System.Vector3 | ||
SpeedDictionary | Vector3>.Dictionary | ||
TrackTable | List |
||
UnitClassId | ClassID | ||
UnitName | string |
Method | Description | |
---|---|---|
AbilityMove ( Unit unit ) : bool |
The ability move.
|
|
CalculateReachTime ( Unit target, float speed, System.Vector3 dePos ) : float |
The calculate reach time.
|
|
DrawPredictions ( float delay = 1000 ) : void |
The draw predictions.
|
|
InFront ( Unit unit, float distance ) : System.Vector3 |
Returns vector in facing direction of given unit with given distance
|
|
IsIdle ( Unit unit ) : bool |
Checks if enemy is not moving
|
|
IsTurning ( Unit unit, double tolerancy ) : bool |
Checks if a unit is currently changing their direction
|
|
PredictedXYZ ( Unit unit, float delay ) : System.Vector3 |
Returns predicted location of given unit after given delay in ms
|
|
Prediction ( string unitName, ClassID unitClassId, System.Vector3 speed, float rotSpeed, System.Vector3 lastPosition, float lastRotR, float lasttick ) : System |
Initializes a new instance of the Prediction class.
|
|
SkillShotXYZ ( Unit source, Unit target, float delay, float speed, float radius ) : System.Vector3 |
The skill shot xyz.
|
|
SpeedTrack ( |
Tracks heroes movements
|
|
StraightTime ( Unit unit ) : float |
Returns in miliseconds how long is unit walking straight
|
Method | Description | |
---|---|---|
Events_OnClose ( object sender, |
The events_ on close.
|
|
Events_OnLoad ( object sender, |
The events_ on load.
|
|
Prediction ( ) : System |
Initializes static members of the Prediction class.
|
public static AbilityMove ( Unit unit ) : bool | ||
unit | Unit | /// The unit. /// |
return | bool |
public static CalculateReachTime ( Unit target, float speed, System.Vector3 dePos ) : float | ||
target | Unit | /// The target. /// |
speed | float | /// The speed. /// |
dePos | System.Vector3 | /// The de pos. /// |
return | float |
public static DrawPredictions ( float delay = 1000 ) : void | ||
delay | float | /// The delay. /// |
return | void |
public static InFront ( Unit unit, float distance ) : System.Vector3 | ||
unit | Unit | /// The unit. /// |
distance | float | /// The distance. /// |
return | System.Vector3 |
public static IsIdle ( Unit unit ) : bool | ||
unit | Unit | /// The unit. /// |
return | bool |
public static IsTurning ( Unit unit, double tolerancy ) : bool | ||
unit | Unit | /// The unit. /// |
tolerancy | double | /// tolerancy of rotation speed /// |
return | bool |
public static PredictedXYZ ( Unit unit, float delay ) : System.Vector3 | ||
unit | Unit | /// The unit. /// |
delay | float | /// The delay. /// |
return | System.Vector3 |
public Prediction ( string unitName, ClassID unitClassId, System.Vector3 speed, float rotSpeed, System.Vector3 lastPosition, float lastRotR, float lasttick ) : System | ||
unitName | string | /// The unit name. /// |
unitClassId | ClassID | /// The unit class id. /// |
speed | System.Vector3 | /// The speed. /// |
rotSpeed | float | /// The rot speed. /// |
lastPosition | System.Vector3 | /// The last position. /// |
lastRotR | float | /// The last rot r. /// |
lasttick | float | /// The lasttick. /// |
return | System |
public static SkillShotXYZ ( Unit source, Unit target, float delay, float speed, float radius ) : System.Vector3 | ||
source | Unit | /// The source. /// |
target | Unit | /// The target. /// |
delay | float | /// The delay. /// |
speed | float | /// The speed. /// |
radius | float | /// The radius. /// |
return | System.Vector3 |
public static SpeedTrack ( |
||
args | /// The args. /// | |
return | void |
public static StraightTime ( Unit unit ) : float | ||
unit | Unit | /// The unit. /// |
return | float |
public static Dictionary |
||
return | double>.Dictionary |
public static Dictionary |
||
return | float>.Dictionary |
public static Dictionary |
||
return | Vector3>.Dictionary |