Search Results for

    Show / Hide Table of Contents

    Class Prediction.EB

    Ported EloBuddy Prediction.

    Inheritance
    System.Object
    Prediction.EB
    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.SDK
    Assembly: Oasys.SDK.dll
    Syntax
    public class EB

    Methods

    GetPrediction(GameObjectBase, EB.Prediction.Position.PredictionData, Boolean)

    Predict cast position and collision for a specific target.

    Declaration
    public static EB.PredictionResult GetPrediction(GameObjectBase target, EB.Prediction.Position.PredictionData data, bool skipCollision = false)
    Parameters
    Type Name Description
    GameObjectBase target

    The unit that the prediction will made for.

    EB.Prediction.Position.PredictionData data

    The prediction data to predict.

    System.Boolean skipCollision

    Skip collision checks.

    Returns
    Type Description
    EB.PredictionResult

    The output after calculating the prediction.

    GetPredictionAoe(GameObjectBase[], EB.Prediction.Position.PredictionData)

    Predicts all the possible positions to hit as many targets as possible from a predifined group of targets.

    Declaration
    public static EB.PredictionResult[] GetPredictionAoe(GameObjectBase[] targets, EB.Prediction.Position.PredictionData data)
    Parameters
    Type Name Description
    GameObjectBase[] targets

    The targets to predict. If null then the enemy heroes will be chosen instead.

    EB.Prediction.Position.PredictionData data

    The prediction data to predict.

    Returns
    Type Description
    EB.PredictionResult[]

    PredictCircularMissile(GameObjectBase, Single, Int32, Int32, Single, Nullable<Vector3>, Boolean)

    Predict circular cast position and collision for a specific target.

    Declaration
    public static EB.PredictionResult PredictCircularMissile(GameObjectBase target, float range, int radius, int delay, float speed, Vector3? sourcePosition = default(Vector3? ), bool ignoreCollision = false)
    Parameters
    Type Name Description
    GameObjectBase target

    The unit that the prediction will made for.

    System.Single range

    The skillshot range in units.

    System.Int32 radius

    The skillshot width's radius or the angle in case of the cone skillshots.

    System.Int32 delay

    The skillshot delay in milliseconds/ticks.

    System.Single speed

    The skillshot speed in units per second.

    System.Nullable<SharpDX.Vector3> sourcePosition

    The position from where the skillshot missile gets fired.

    System.Boolean ignoreCollision

    Skip collision checks.

    Returns
    Type Description
    EB.PredictionResult

    The output after calculating the prediction.

    PredictCircularMissile(GameObjectBase, Single, Int32, Single, Single, Nullable<Vector3>, Boolean)

    Predict circular cast position and collision for a specific target.

    Declaration
    public static EB.PredictionResult PredictCircularMissile(GameObjectBase target, float range, int radius, float delay, float speed, Vector3? sourcePosition = default(Vector3? ), bool ignoreCollision = false)
    Parameters
    Type Name Description
    GameObjectBase target

    The unit that the prediction will made for.

    System.Single range

    The skillshot range in units.

    System.Int32 radius

    The skillshot width's radius or the angle in case of the cone skillshots.

    System.Single delay

    The skillshot delay in seconds.

    System.Single speed

    The skillshot speed in units per second.

    System.Nullable<SharpDX.Vector3> sourcePosition

    The position from where the skillshot missile gets fired.

    System.Boolean ignoreCollision

    Skip collision checks.

    Returns
    Type Description
    EB.PredictionResult

    The output after calculating the prediction.

    PredictCircularMissile(GameObjectBase, Single, Single, Single, Single, Nullable<Vector3>, Boolean)

    Predict circular cast position and collision for a specific target.

    Declaration
    public static EB.PredictionResult PredictCircularMissile(GameObjectBase target, float range, float radius, float delay, float speed, Vector3? sourcePosition = default(Vector3? ), bool ignoreCollision = false)
    Parameters
    Type Name Description
    GameObjectBase target

    The unit that the prediction will made for.

    System.Single range

    The skillshot range in units.

    System.Single radius

    The skillshot width's radius or the angle in case of the cone skillshots.

    System.Single delay

    The skillshot delay in seconds.

    System.Single speed

    The skillshot speed in units per second.

    System.Nullable<SharpDX.Vector3> sourcePosition

    The position from where the skillshot missile gets fired.

    System.Boolean ignoreCollision

    Skip collision checks.

    Returns
    Type Description
    EB.PredictionResult

    The output after calculating the prediction.

    PredictCircularMissileAoe(GameObjectBase[], Single, Int32, Int32, Single, Nullable<Vector3>)

    Predicts all the possible positions to hit as many targets as possible from a predifined group of targets.

    Declaration
    public static EB.PredictionResult[] PredictCircularMissileAoe(GameObjectBase[] targets, float range, int radius, int delay, float speed, Vector3? sourcePosition = default(Vector3? ))
    Parameters
    Type Name Description
    GameObjectBase[] targets

    The unit that the prediction will made for.

    System.Single range

    The skillshot range in units.

    System.Int32 radius

    The skillshot width's radius or the angle in case of the cone skillshots.

    System.Int32 delay

    The skillshot delay in milliseconds/ticks.

    System.Single speed

    The skillshot speed in units per second.

    System.Nullable<SharpDX.Vector3> sourcePosition

    The position from where the skillshot missile gets fired.

    Returns
    Type Description
    EB.PredictionResult[]

    The output after calculating the prediction.

    PredictCircularMissileAoe(GameObjectBase[], Single, Int32, Single, Single, Nullable<Vector3>)

    Predicts all the possible positions to hit as many targets as possible from a predifined group of targets.

    Declaration
    public static EB.PredictionResult[] PredictCircularMissileAoe(GameObjectBase[] targets, float range, int radius, float delay, float speed, Vector3? sourcePosition = default(Vector3? ))
    Parameters
    Type Name Description
    GameObjectBase[] targets

    The unit that the prediction will made for.

    System.Single range

    The skillshot range in units.

    System.Int32 radius

    The skillshot width's radius or the angle in case of the cone skillshots.

    System.Single delay

    The skillshot delay in seconds.

    System.Single speed

    The skillshot speed in units per second.

    System.Nullable<SharpDX.Vector3> sourcePosition

    The position from where the skillshot missile gets fired.

    Returns
    Type Description
    EB.PredictionResult[]

    The output after calculating the prediction.

    PredictCircularMissileAoe(GameObjectBase[], Single, Single, Single, Single, Nullable<Vector3>)

    Predicts all the possible positions to hit as many targets as possible from a predifined group of targets.

    Declaration
    public static EB.PredictionResult[] PredictCircularMissileAoe(GameObjectBase[] targets, float range, float radius, float delay, float speed, Vector3? sourcePosition = default(Vector3? ))
    Parameters
    Type Name Description
    GameObjectBase[] targets

    The unit that the prediction will made for.

    System.Single range

    The skillshot range in units.

    System.Single radius

    The skillshot width's radius or the angle in case of the cone skillshots.

    System.Single delay

    The skillshot delay in seconds.

    System.Single speed

    The skillshot speed in units per second.

    System.Nullable<SharpDX.Vector3> sourcePosition

    The position from where the skillshot missile gets fired.

    Returns
    Type Description
    EB.PredictionResult[]

    The output after calculating the prediction.

    PredictConeSpell(GameObjectBase, Single, Int32, Int32, Single, Nullable<Vector3>, Boolean)

    Predict cone cast position and collision for a specific target.

    Declaration
    public static EB.PredictionResult PredictConeSpell(GameObjectBase target, float range, int angle, int delay, float speed, Vector3? sourcePosition = default(Vector3? ), bool ignoreCollision = false)
    Parameters
    Type Name Description
    GameObjectBase target

    The unit that the prediction will made for.

    System.Single range

    The skillshot range in units.

    System.Int32 angle

    The skillshot width's radius or the angle in case of the cone skillshots.

    System.Int32 delay

    The skillshot delay in milliseconds/ticks.

    System.Single speed

    The skillshot speed in units per second.

    System.Nullable<SharpDX.Vector3> sourcePosition

    The position from where the skillshot missile gets fired.

    System.Boolean ignoreCollision

    Skip collision checks.

    Returns
    Type Description
    EB.PredictionResult

    The output after calculating the prediction.

    PredictConeSpell(GameObjectBase, Single, Int32, Single, Single, Nullable<Vector3>, Boolean)

    Predict cone cast position and collision for a specific target.

    Declaration
    public static EB.PredictionResult PredictConeSpell(GameObjectBase target, float range, int angle, float delay, float speed, Vector3? sourcePosition = default(Vector3? ), bool ignoreCollision = false)
    Parameters
    Type Name Description
    GameObjectBase target

    The unit that the prediction will made for.

    System.Single range

    The skillshot range in units.

    System.Int32 angle

    The skillshot width's radius or the angle in case of the cone skillshots.

    System.Single delay

    The skillshot delay in seconds.

    System.Single speed

    The skillshot speed in units per second.

    System.Nullable<SharpDX.Vector3> sourcePosition

    The position from where the skillshot missile gets fired.

    System.Boolean ignoreCollision

    Skip collision checks.

    Returns
    Type Description
    EB.PredictionResult

    The output after calculating the prediction.

    PredictConeSpell(GameObjectBase, Single, Single, Single, Single, Nullable<Vector3>, Boolean)

    Predict cone cast position and collision for a specific target.

    Declaration
    public static EB.PredictionResult PredictConeSpell(GameObjectBase target, float range, float angle, float delay, float speed, Vector3? sourcePosition = default(Vector3? ), bool ignoreCollision = false)
    Parameters
    Type Name Description
    GameObjectBase target

    The unit that the prediction will made for.

    System.Single range

    The skillshot range in units.

    System.Single angle

    The skillshot width's radius or the angle in case of the cone skillshots.

    System.Single delay

    The skillshot delay in seconds.

    System.Single speed

    The skillshot speed in units per second.

    System.Nullable<SharpDX.Vector3> sourcePosition

    The position from where the skillshot missile gets fired.

    System.Boolean ignoreCollision

    Skip collision checks.

    Returns
    Type Description
    EB.PredictionResult

    The output after calculating the prediction.

    PredictConeSpellAoe(GameObjectBase[], Single, Int32, Int32, Single, Nullable<Vector3>)

    Predicts all the possible positions to hit as many targets as possible from a predifined group of targets.

    Declaration
    public static EB.PredictionResult[] PredictConeSpellAoe(GameObjectBase[] targets, float range, int angle, int delay, float speed, Vector3? sourcePosition = default(Vector3? ))
    Parameters
    Type Name Description
    GameObjectBase[] targets

    The units that the prediction will made for.

    System.Single range

    The skillshot range in units.

    System.Int32 angle

    The skillshot angle in case of the cone skillshots.

    System.Int32 delay

    The skillshot delay in milliseconds/ticks.

    System.Single speed

    The skillshot speed in units per second.

    System.Nullable<SharpDX.Vector3> sourcePosition

    The position from where the skillshot missile gets fired.

    Returns
    Type Description
    EB.PredictionResult[]

    The output after calculating the prediction.

    PredictConeSpellAoe(GameObjectBase[], Single, Int32, Single, Single, Nullable<Vector3>)

    Predicts all the possible positions to hit as many targets as possible from a predifined group of targets.

    Declaration
    public static EB.PredictionResult[] PredictConeSpellAoe(GameObjectBase[] targets, float range, int angle, float delay, float speed, Vector3? sourcePosition = default(Vector3? ))
    Parameters
    Type Name Description
    GameObjectBase[] targets

    The units that the prediction will made for.

    System.Single range

    The skillshot range in units.

    System.Int32 angle

    The skillshot angle in case of the cone skillshots.

    System.Single delay

    The skillshot delay in seconds.

    System.Single speed

    The skillshot speed in units per second.

    System.Nullable<SharpDX.Vector3> sourcePosition

    The position from where the skillshot missile gets fired.

    Returns
    Type Description
    EB.PredictionResult[]

    The output after calculating the prediction.

    PredictConeSpellAoe(GameObjectBase[], Single, Single, Single, Single, Nullable<Vector3>)

    Predicts all the possible positions to hit as many targets as possible from a predifined group of targets.

    Declaration
    public static EB.PredictionResult[] PredictConeSpellAoe(GameObjectBase[] targets, float range, float angle, float delay, float speed, Vector3? sourcePosition = default(Vector3? ))
    Parameters
    Type Name Description
    GameObjectBase[] targets

    The units that the prediction will made for.

    System.Single range

    The skillshot range in units.

    System.Single angle

    The skillshot angle in case of the cone skillshots.

    System.Single delay

    The skillshot delay in seconds.

    System.Single speed

    The skillshot speed in units per second.

    System.Nullable<SharpDX.Vector3> sourcePosition

    The position from where the skillshot missile gets fired.

    Returns
    Type Description
    EB.PredictionResult[]

    The output after calculating the prediction.

    PredictLinearMissile(GameObjectBase, Single, Int32, Int32, Single, Int32, Nullable<Vector3>, Boolean)

    Predict linear cast position and collision for a specific target.

    Declaration
    public static EB.PredictionResult PredictLinearMissile(GameObjectBase target, float range, int radius, int delay, float speed, int allowedCollisionCount = 0, Vector3? sourcePosition = default(Vector3? ), bool ignoreCollision = false)
    Parameters
    Type Name Description
    GameObjectBase target

    The unit that the prediction will made for.

    System.Single range

    The skillshot range in units.

    System.Int32 radius

    The skillshot width's radius or the angle in case of the cone skillshots.

    System.Int32 delay

    The skillshot delay in milliseconds/ticks.

    System.Single speed

    The skillshot speed in units per second.

    System.Int32 allowedCollisionCount

    The allowed collision count.

    System.Nullable<SharpDX.Vector3> sourcePosition

    The position from where the skillshot missile gets fired.

    System.Boolean ignoreCollision

    Skip collision checks.

    Returns
    Type Description
    EB.PredictionResult

    The output after calculating the prediction.

    PredictLinearMissile(GameObjectBase, Single, Int32, Single, Single, Int32, Nullable<Vector3>, Boolean)

    Predict linear cast position and collision for a specific target.

    Declaration
    public static EB.PredictionResult PredictLinearMissile(GameObjectBase target, float range, int radius, float delay, float speed, int allowedCollisionCount = 0, Vector3? sourcePosition = default(Vector3? ), bool ignoreCollision = false)
    Parameters
    Type Name Description
    GameObjectBase target

    The unit that the prediction will made for.

    System.Single range

    The skillshot range in units.

    System.Int32 radius

    The skillshot width's radius or the angle in case of the cone skillshots.

    System.Single delay

    The skillshot delay in seconds.

    System.Single speed

    The skillshot speed in units per second.

    System.Int32 allowedCollisionCount

    The allowed collision count.

    System.Nullable<SharpDX.Vector3> sourcePosition

    The position from where the skillshot missile gets fired.

    System.Boolean ignoreCollision

    Skip collision checks.

    Returns
    Type Description
    EB.PredictionResult

    The output after calculating the prediction.

    PredictLinearMissile(GameObjectBase, Single, Single, Single, Single, Int32, Nullable<Vector3>, Boolean)

    Predict linear cast position and collision for a specific target.

    Declaration
    public static EB.PredictionResult PredictLinearMissile(GameObjectBase target, float range, float radius, float delay, float speed, int allowedCollisionCount = 0, Vector3? sourcePosition = default(Vector3? ), bool ignoreCollision = false)
    Parameters
    Type Name Description
    GameObjectBase target

    The unit that the prediction will made for.

    System.Single range

    The skillshot range in units.

    System.Single radius

    The skillshot width's radius or the angle in case of the cone skillshots.

    System.Single delay

    The skillshot delay in seconds.

    System.Single speed

    The skillshot speed in units per second.

    System.Int32 allowedCollisionCount

    The allowed collision count.

    System.Nullable<SharpDX.Vector3> sourcePosition

    The position from where the skillshot missile gets fired.

    System.Boolean ignoreCollision

    Skip collision checks.

    Returns
    Type Description
    EB.PredictionResult

    The output after calculating the prediction.

    PredictLinearMissileAoe(GameObjectBase[], Single, Int32, Int32, Single, Nullable<Vector3>)

    Predicts all the possible positions to hit as many targets as possible from a predifined group of targets.

    Declaration
    public static EB.PredictionResult[] PredictLinearMissileAoe(GameObjectBase[] targets, float range, int radius, int delay, float speed, Vector3? sourcePosition = default(Vector3? ))
    Parameters
    Type Name Description
    GameObjectBase[] targets

    The unit that the prediction will made for.

    System.Single range

    The skillshot range in units.

    System.Int32 radius

    The skillshot width's radius or the angle in case of the cone skillshots.

    System.Int32 delay

    The skillshot delay in milliseconds/ticks.

    System.Single speed

    The skillshot speed in units per second.

    System.Nullable<SharpDX.Vector3> sourcePosition

    The position from where the skillshot missile gets fired.

    Returns
    Type Description
    EB.PredictionResult[]

    The output after calculating the prediction.

    PredictLinearMissileAoe(GameObjectBase[], Single, Int32, Single, Single, Nullable<Vector3>)

    Predicts all the possible positions to hit as many targets as possible from a predifined group of targets.

    Declaration
    public static EB.PredictionResult[] PredictLinearMissileAoe(GameObjectBase[] targets, float range, int radius, float delay, float speed, Vector3? sourcePosition = default(Vector3? ))
    Parameters
    Type Name Description
    GameObjectBase[] targets

    The unit that the prediction will made for.

    System.Single range

    The skillshot range in units.

    System.Int32 radius

    The skillshot width's radius or the angle in case of the cone skillshots.

    System.Single delay

    The skillshot delay in seconds.

    System.Single speed

    The skillshot speed in units per second.

    System.Nullable<SharpDX.Vector3> sourcePosition

    The position from where the skillshot missile gets fired.

    Returns
    Type Description
    EB.PredictionResult[]

    The output after calculating the prediction.

    PredictLinearMissileAoe(GameObjectBase[], Single, Single, Single, Single, Nullable<Vector3>)

    Predicts all the possible positions to hit as many targets as possible from a predifined group of targets.

    Declaration
    public static EB.PredictionResult[] PredictLinearMissileAoe(GameObjectBase[] targets, float range, float radius, float delay, float speed, Vector3? sourcePosition = default(Vector3? ))
    Parameters
    Type Name Description
    GameObjectBase[] targets

    The unit that the prediction will made for.

    System.Single range

    The skillshot range in units.

    System.Single radius

    The skillshot width's radius or the angle in case of the cone skillshots.

    System.Single delay

    The skillshot delay in seconds.

    System.Single speed

    The skillshot speed in units per second.

    System.Nullable<SharpDX.Vector3> sourcePosition

    The position from where the skillshot missile gets fired.

    Returns
    Type Description
    EB.PredictionResult[]

    The output after calculating the prediction.

    Extension Methods

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