Search Results for

    Show / Hide Table of Contents

    Class EB.Prediction.Position.PredictionData

    Holds all the necessary data needed to perform prediction.

    Inheritance
    System.Object
    EB.Prediction.Position.PredictionData
    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 PredictionData

    Constructors

    PredictionData(EB.Prediction.Position.PredictionData.PredictionType, Int32, Int32, Int32, Int32, Int32, Int32, Nullable<Vector3>)

    Initializes a new instance of the PredictionData class.

    Declaration
    public PredictionData(EB.Prediction.Position.PredictionData.PredictionType type, int range, int radius, int angle, int delay, int speed, int allowCollisionCount = 0, Vector3? sourcePosition = default(Vector3? ))
    Parameters
    Type Name Description
    EB.Prediction.Position.PredictionData.PredictionType type

    The prediction type.

    System.Int32 range

    The maximum range of the skillshot.

    System.Int32 radius

    The radius of the skillshot.

    System.Int32 angle

    The angle in degrees of the skillshot. It is used only in cone spells.

    System.Int32 delay

    The delay (or cast time) of the skillshot in milliseconds/ticks.

    System.Int32 speed

    The movement speed of the missile.

    System.Int32 allowCollisionCount

    The number of collision objects the skillshot can pass through. It is used only in Linear skillshots

    System.Nullable<SharpDX.Vector3> sourcePosition

    The start position of the skillshot. Player's position is considered the starting point by default.

    PredictionData(EB.Prediction.Position.PredictionData.PredictionType, Int32, Int32, Int32, Single, Int32, Int32, Nullable<Vector3>)

    Initializes a new instance of the PredictionData class.

    Declaration
    public PredictionData(EB.Prediction.Position.PredictionData.PredictionType type, int range, int radius, int angle, float delay, int speed, int allowCollisionCount = 0, Vector3? sourcePosition = default(Vector3? ))
    Parameters
    Type Name Description
    EB.Prediction.Position.PredictionData.PredictionType type

    The prediction type.

    System.Int32 range

    The maximum range of the skillshot.

    System.Int32 radius

    The radius of the skillshot.

    System.Int32 angle

    The angle in degrees of the skillshot. It is used only in cone spells.

    System.Single delay

    The delay (or cast time) of the skillshot in seconds.

    System.Int32 speed

    The movement speed of the missile.

    System.Int32 allowCollisionCount

    The number of collision objects the skillshot can pass through. It is used only in Linear skillshots

    System.Nullable<SharpDX.Vector3> sourcePosition

    The start position of the skillshot. Player's position is considered the starting point by default.

    PredictionData(LS.PredictionInput)

    Declaration
    public PredictionData(LS.PredictionInput predictionInput)
    Parameters
    Type Name Description
    LS.PredictionInput predictionInput

    Properties

    AllowCollisionCount

    Declaration
    public int AllowCollisionCount { get; set; }
    Property Value
    Type Description
    System.Int32

    Angle

    Declaration
    public int Angle { get; set; }
    Property Value
    Type Description
    System.Int32

    Delay

    The skillshot delay in milliseconds/ticks.

    Declaration
    public int Delay { get; set; }
    Property Value
    Type Description
    System.Int32

    Radius

    Spell Radius / Width

    Declaration
    public int Radius { get; set; }
    Property Value
    Type Description
    System.Int32

    Range

    Declaration
    public int Range { get; set; }
    Property Value
    Type Description
    System.Int32

    SourcePosition

    Declaration
    public Vector3 SourcePosition { get; set; }
    Property Value
    Type Description
    SharpDX.Vector3

    Speed

    Declaration
    public float Speed { get; set; }
    Property Value
    Type Description
    System.Single

    Type

    Declaration
    public EB.Prediction.Position.PredictionData.PredictionType Type { get; set; }
    Property Value
    Type Description
    EB.Prediction.Position.PredictionData.PredictionType

    Extension Methods

    Extensions.In<T>(T, T[])
    ☀
    ☾
    In This Article
    Back to top
    Generated by DocFX
    ☀
    ☾