Class ItemCastProvider
Provides item casting emulation.
Inheritance
System.Object
ItemCastProvider
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.SpellCasting
Assembly: Oasys.SDK.dll
Syntax
public class ItemCastProvider
Methods
CastItem(ItemID)
Casts an item at/towards the position of the mouse, or self casts.
Declaration
public static void CastItem(ItemID iID)
Parameters
Type | Name | Description |
---|---|---|
ItemID | iID |
CastItem(ItemID, GameObjectBase)
Casts an item at/towards the given target.
Declaration
public static void CastItem(ItemID iID, GameObjectBase target)
Parameters
Type | Name | Description |
---|---|---|
ItemID | iID | |
GameObjectBase | target |
CastItem(ItemID, Vector2)
Casts an item at/towards the given vector3 position parameter
Declaration
public static void CastItem(ItemID iID, Vector2 screenPosition)
Parameters
Type | Name | Description |
---|---|---|
ItemID | iID | |
SharpDX.Vector2 | screenPosition |
CastItem(ItemID, Vector3)
Casts an item at/towards the given vector3 position parameter
Declaration
public static void CastItem(ItemID iID, Vector3 objectPosition)
Parameters
Type | Name | Description |
---|---|---|
ItemID | iID | |
SharpDX.Vector3 | objectPosition |