Core/PacketIO: Implemented CMSG_UPDATE_SPELL_VISUAL

Port From (https://github.com/TrinityCore/TrinityCore/commit/0d475eac5f2fdee58d79b1f3361da6d3f22b0232)
This commit is contained in:
Hondacrx
2025-08-14 21:27:54 -04:00
parent b788c67030
commit a66b484370
3 changed files with 42 additions and 0 deletions
@@ -1216,6 +1216,22 @@ namespace Game.Networking.Packets
public MovementInfo Status;
}
class UpdateAuraVisual : ClientPacket
{
public uint SpellID;
public SpellCastVisual Visual;
public ObjectGuid TargetGUID;
public UpdateAuraVisual(WorldPacket packet) : base(packet) { }
public override void Read()
{
SpellID = _worldPacket.ReadUInt32();
Visual.Read(_worldPacket);
TargetGUID = _worldPacket.ReadPackedGuid();
}
}
public class SpellDelayed : ServerPacket
{
public SpellDelayed() : base(ServerOpcodes.SpellDelayed, ConnectionType.Instance) { }