Core/Spells: enable and implement SMSG_MISSILE_CANCEL

Port From (https://github.com/TrinityCore/TrinityCore/commit/71db17220ae67dc6a354e88451ffc0700fe6c5f9)
This commit is contained in:
hondacrx
2020-08-22 12:58:19 -04:00
parent 9c4ce970b1
commit b3ebc2f8b5
4 changed files with 59 additions and 1 deletions
@@ -1118,6 +1118,23 @@ namespace Game.Networking.Packets
public uint Result;
}
class MissileCancel : ServerPacket
{
public MissileCancel() : base(ServerOpcodes.MissileCancel) { }
public override void Write()
{
_worldPacket.WritePackedGuid(OwnerGUID);
_worldPacket.WriteUInt32(SpellID);
_worldPacket.WriteBit(Reverse);
_worldPacket.FlushBits();
}
public ObjectGuid OwnerGUID;
public bool Reverse;
public uint SpellID;
}
//Structs
public struct SpellLogPowerData