Core/PacketIO: Implemented CMSG_UPDATE_SPELL_VISUAL
Port From (https://github.com/TrinityCore/TrinityCore/commit/0d475eac5f2fdee58d79b1f3361da6d3f22b0232)
This commit is contained in:
@@ -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) { }
|
||||
|
||||
Reference in New Issue
Block a user