ace/Source/ACE.Server/Entity/CastQueue.cs
Ty Conner f51929ef62
Adjust UseWithTarget to support SourceContained spell casting (#3835)
* Adjust UseWithTarget to support SourceContained spell casting

* Update Player_Magic.cs

* Update RecipeManager.cs

* Update CastQueue.cs

* Update CastSpellParams.cs

* Update MagicState.cs

* Update WindupParams.cs

* Update Player_Magic.cs

* Update Player_Use.cs
2022-05-07 14:23:37 -04:00

31 lines
733 B
C#

using ACE.Server.WorldObjects;
namespace ACE.Server.Entity
{
/// <summary>
/// questionable if this was ever in retail
/// </summary>
public class CastQueue
{
public CastQueueType Type;
public uint TargetGuid;
public uint SpellId;
//public bool BuiltInSpell;
public WorldObject CasterItem;
public CastQueue(CastQueueType type, uint targetGuid, uint spellId, WorldObject casterItem)
{
Type = type;
TargetGuid = targetGuid;
SpellId = spellId;
//BuiltInSpell = builtInSpell;
CasterItem = casterItem;
}
}
public enum CastQueueType
{
Targeted,
Untargeted
}
}