Class SpellCastProvider
Provides spell casting emulation.
Inheritance
System.Object
SpellCastProvider
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()
Assembly: Oasys.SDK.dll
Syntax
public class SpellCastProvider
Methods
CastMultiSpell(CastSlot[])
Casts multiple spells at/towards the position of the mouse.
Declaration
public static void CastMultiSpell(CastSlot[] slotArray)
Parameters
Type |
Name |
Description |
CastSlot[] |
slotArray |
|
CastMultiSpell(CastSlot[], Vector2)
Casts multiple spells at/towards the given vector2 position parameter.
Declaration
public static void CastMultiSpell(CastSlot[] slotArray, Vector2 screenPosition)
Parameters
Type |
Name |
Description |
CastSlot[] |
slotArray |
|
SharpDX.Vector2 |
screenPosition |
|
CastMultiSpell(CastSlot[], Vector3)
Casts multiple spells at/towards the given vector3 position parameter.
Declaration
public static void CastMultiSpell(CastSlot[] slotArray, Vector3 objectPosition)
Parameters
Type |
Name |
Description |
CastSlot[] |
slotArray |
|
SharpDX.Vector3 |
objectPosition |
|
CastMultiSpell(Tuple<CastSlot, Vector2>[])
Casts multiple spells at/towards the given each vector2 position array in a tuple.
Declaration
public static void CastMultiSpell(Tuple<CastSlot, Vector2>[] respectiveSpells)
Parameters
Type |
Name |
Description |
System.Tuple<CastSlot, SharpDX.Vector2>[] |
respectiveSpells |
|
CastMultiSpell(Tuple<CastSlot, Vector3>[])
Casts multiple spells at/towards the given each vector3 position array in a tuple.
Declaration
public static void CastMultiSpell(Tuple<CastSlot, Vector3>[] respectiveSpells)
Parameters
Type |
Name |
Description |
System.Tuple<CastSlot, SharpDX.Vector3>[] |
respectiveSpells |
|
CastSpell(CastSlot)
Casts a spell at/towards the position of the mouse.
Declaration
public static bool CastSpell(CastSlot slot)
Parameters
Returns
Type |
Description |
System.Boolean |
|
CastSpell(CastSlot, Vector2)
Casts a spell at/towards the given vector2 position parameter.
Declaration
public static bool CastSpell(CastSlot slot, Vector2 screenPosition)
Parameters
Type |
Name |
Description |
CastSlot |
slot |
|
SharpDX.Vector2 |
screenPosition |
|
Returns
Type |
Description |
System.Boolean |
|
CastSpell(CastSlot, Vector2, Single)
Casts a spell at/towards the given vector2 position parameter.
Declaration
public static bool CastSpell(CastSlot slot, Vector2 screenPosition, float castTime)
Parameters
Type |
Name |
Description |
CastSlot |
slot |
|
SharpDX.Vector2 |
screenPosition |
|
System.Single |
castTime |
|
Returns
Type |
Description |
System.Boolean |
|
CastSpell(CastSlot, Vector3)
Casts a spell at/towards the given vector3 position parameter
Declaration
public static bool CastSpell(CastSlot slot, Vector3 objectPosition)
Parameters
Type |
Name |
Description |
CastSlot |
slot |
|
SharpDX.Vector3 |
objectPosition |
|
Returns
Type |
Description |
System.Boolean |
|
CastSpell(CastSlot, Vector3, Single)
Casts a spell at/towards the given vector3 position parameter
Declaration
public static bool CastSpell(CastSlot slot, Vector3 objectPosition, float castTime)
Parameters
Type |
Name |
Description |
CastSlot |
slot |
|
SharpDX.Vector3 |
objectPosition |
|
System.Single |
castTime |
|
Returns
Type |
Description |
System.Boolean |
|
CastSpell(CastSlot, Single)
Casts a spell at/towards the position of the mouse.
Declaration
public static bool CastSpell(CastSlot slot, float castTime)
Parameters
Type |
Name |
Description |
CastSlot |
slot |
|
System.Single |
castTime |
|
Returns
Type |
Description |
System.Boolean |
|
ReleaseChargeSpell(SpellCastSlot)
Declaration
public static bool ReleaseChargeSpell(SpellCastSlot slot)
Parameters
Returns
Type |
Description |
System.Boolean |
|
ReleaseChargeSpell(SpellCastSlot, Vector2, Single)
Release charged spell that has cast time
Declaration
public static bool ReleaseChargeSpell(SpellCastSlot slot, Vector2 screenPosition, float castTime)
Parameters
Type |
Name |
Description |
SpellCastSlot |
slot |
|
SharpDX.Vector2 |
screenPosition |
|
System.Single |
castTime |
|
Returns
Type |
Description |
System.Boolean |
|
ReleaseChargeSpell(SpellCastSlot, Vector3, Single)
Release charged spell that has cast time
Declaration
public static bool ReleaseChargeSpell(SpellCastSlot slot, Vector3 objectPosition, float castTime)
Parameters
Type |
Name |
Description |
SpellCastSlot |
slot |
|
SharpDX.Vector3 |
objectPosition |
|
System.Single |
castTime |
|
Returns
Type |
Description |
System.Boolean |
|
ReleaseChargeSpell(SpellCastSlot, Single)
Release charged spell that has cast time
Declaration
public static bool ReleaseChargeSpell(SpellCastSlot slot, float castTime)
Parameters
Returns
Type |
Description |
System.Boolean |
|
StartChargeSpell(SpellCastSlot)
Declaration
public static bool StartChargeSpell(SpellCastSlot slot)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Extension Methods