Class LS.PredictionInput
Contains information necessary to calculate the prediction.
Inheritance
System.Object
LS.PredictionInput
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 PredictionInput
Constructors
PredictionInput()
Declaration
public PredictionInput()
PredictionInput(EB.Prediction.Position.PredictionData)
Declaration
public PredictionInput(EB.Prediction.Position.PredictionData predictionData)
Parameters
Type | Name | Description |
---|---|---|
EB.Prediction.Position.PredictionData | predictionData |
Fields
Aoe
If set to true
the prediction will hit as many enemy heroes as posible.
Declaration
public bool Aoe
Field Value
Type | Description |
---|---|
System.Boolean |
Collision
true
if the spell collides with units.
Declaration
public bool Collision
Field Value
Type | Description |
---|---|
System.Boolean |
CollisionObjects
Array that contains the unit types that the skillshot can collide with.
Declaration
public LS.CollisionableObjects[] CollisionObjects
Field Value
Type | Description |
---|---|
LS.CollisionableObjects[] |
Delay
The skillshot delay in seconds.
Declaration
public float Delay
Field Value
Type | Description |
---|---|
System.Single |
Radius
The skillshot width's radius or the angle in case of the cone skillshots.
Declaration
public float Radius
Field Value
Type | Description |
---|---|
System.Single |
Range
The skillshot range in units.
Declaration
public float Range
Field Value
Type | Description |
---|---|
System.Single |
Speed
The skillshot speed in units per second.
Declaration
public float Speed
Field Value
Type | Description |
---|---|
System.Single |
Type
The skillshot type.
Declaration
public LS.SkillshotType Type
Field Value
Type | Description |
---|---|
LS.SkillshotType |
Unit
The unit that the prediction will made for.
Declaration
public GameObjectBase Unit
Field Value
Type | Description |
---|---|
GameObjectBase |
UseBoundingRadius
Set to true to increase the prediction radius by the unit bounding radius.
Declaration
public bool UseBoundingRadius
Field Value
Type | Description |
---|---|
System.Boolean |
Properties
From
The position from where the skillshot missile gets fired.
Declaration
public Vector3 From { get; set; }
Property Value
Type | Description |
---|---|
SharpDX.Vector3 | From. |
RangeCheckFrom
The position from where the range is checked.
Declaration
public Vector3 RangeCheckFrom { get; set; }
Property Value
Type | Description |
---|---|
SharpDX.Vector3 | The range check from. |