Class Prediction.MenuSelected
Inheritance
Inherited Members
Namespace: Oasys.SDK
Assembly: Oasys.SDK.dll
Syntax
public class MenuSelected
Methods
GetPrediction(Prediction.MenuSelected.PredictionInput)
Get a prediction result based on prediction input and the menu selected SDK prediction mode.
Declaration
public static Prediction.MenuSelected.PredictionOutput GetPrediction(Prediction.MenuSelected.PredictionInput input)
Parameters
Type | Name | Description |
---|---|---|
Prediction.MenuSelected.PredictionInput | input | The prediction input. |
Returns
Type | Description |
---|---|
Prediction.MenuSelected.PredictionOutput | The prediction output. |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException |
GetPrediction(Prediction.MenuSelected.PredictionType, GameObjectBase, Single, Single, Single, Single, Vector3, Boolean)
Get a prediction result based on prediction input and the menu selected SDK prediction mode.
Declaration
public static Prediction.MenuSelected.PredictionOutput GetPrediction(Prediction.MenuSelected.PredictionType type, GameObjectBase target, float range, float radius, float delay, float speed, Vector3 sourcePosition, bool collisionCheck = true)
Parameters
Type | Name | Description |
---|---|---|
Prediction.MenuSelected.PredictionType | type | The prediction type. |
GameObjectBase | target | The target to predict. |
System.Single | range | The spell range. |
System.Single | radius | The spell width/radius/angle. |
System.Single | delay | The delay/cast time/animation time in seconds. |
System.Single | speed | The speed in units per second. |
SharpDX.Vector3 | sourcePosition | The source position. Ex: Victor's E can be placed somewhere else. Normally source position is Localplayer position. |
System.Boolean | collisionCheck | The CollisionCheck. |
Returns
Type | Description |
---|---|
Prediction.MenuSelected.PredictionOutput | The prediction output. |
GetPrediction(Prediction.MenuSelected.PredictionType, GameObjectBase, Single, Single, Single, Single, Boolean)
Get a prediction result based on prediction input and the menu selected SDK prediction mode.
Declaration
public static Prediction.MenuSelected.PredictionOutput GetPrediction(Prediction.MenuSelected.PredictionType type, GameObjectBase target, float range, float radius, float delay, float speed, bool collisionCheck = true)
Parameters
Type | Name | Description |
---|---|---|
Prediction.MenuSelected.PredictionType | type | The prediction type. |
GameObjectBase | target | The target to predict. |
System.Single | range | The spell range. |
System.Single | radius | The spell width/radius/angle. |
System.Single | delay | The delay/cast time/animation time in seconds. |
System.Single | speed | The speed in units per second. |
System.Boolean | collisionCheck | The CollisionCheck. |
Returns
Type | Description |
---|---|
Prediction.MenuSelected.PredictionOutput | The prediction output. |