Class LS.PredictionOutput
The output after calculating the prediction.
Inheritance
System.Object
LS.PredictionOutput
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Oasys.Common.Logic
Assembly: Oasys.Common.dll
Syntax
public class PredictionOutput
Constructors
PredictionOutput()
Declaration
public PredictionOutput()
PredictionOutput(EB.PredictionResult)
Declaration
public PredictionOutput(EB.PredictionResult predictionResult)
Parameters
Type | Name | Description |
---|---|---|
EB.PredictionResult | predictionResult |
Fields
AoeTargetsHit
The list of the targets that the spell will hit (only if aoe was enabled).
Declaration
public List<AIHeroClient> AoeTargetsHit
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<AIHeroClient> |
CollisionObjects
The list of the units that the skillshot will collide with.
Declaration
public List<GameObjectBase> CollisionObjects
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<GameObjectBase> |
Hitchance
Returns the hitchance.
Declaration
public LS.HitChance Hitchance
Field Value
Type | Description |
---|---|
LS.HitChance |
Input
The input
Declaration
public LS.PredictionInput Input
Field Value
Type | Description |
---|---|
LS.PredictionInput |
Properties
AoeTargetsHitCount
The number of targets the skillshot will hit (only if aoe was enabled).
Declaration
public int AoeTargetsHitCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The aoe targets hit count. |
CastPosition
The position where the skillshot should be casted to increase the accuracy.
Declaration
public Vector3 CastPosition { get; set; }
Property Value
Type | Description |
---|---|
SharpDX.Vector3 | The cast position. |
UnitPosition
The position where the unit is going to be when the skillshot reaches his position.
Declaration
public Vector3 UnitPosition { get; set; }
Property Value
Type | Description |
---|---|
SharpDX.Vector3 | The unit position. |