Core/PacketIO: Implemented SMSG_SPELL_HEAL_ABSORB_LOG
Port From (https://github.com/TrinityCore/TrinityCore/commit/53b7c4d47c35f7823f5f50578beb0140f4279e03)
This commit is contained in:
@@ -626,6 +626,36 @@ namespace Game.Networking.Packets
|
||||
public bool Unk;
|
||||
}
|
||||
|
||||
class SpellHealAbsorbLog : ServerPacket
|
||||
{
|
||||
public SpellHealAbsorbLog() : base(ServerOpcodes.SpellHealAbsorbLog, ConnectionType.Instance) { }
|
||||
|
||||
public override void Write()
|
||||
{
|
||||
_worldPacket.WritePackedGuid(Target);
|
||||
_worldPacket.WritePackedGuid(AbsorbCaster);
|
||||
_worldPacket.WritePackedGuid(Healer);
|
||||
_worldPacket.WriteInt32(AbsorbSpellID);
|
||||
_worldPacket.WriteInt32(AbsorbedSpellID);
|
||||
_worldPacket.WriteInt32(Absorbed);
|
||||
_worldPacket.WriteInt32(OriginalHeal);
|
||||
_worldPacket.WriteBit(ContentTuning != null);
|
||||
_worldPacket.FlushBits();
|
||||
|
||||
if (ContentTuning != null)
|
||||
ContentTuning.Write(_worldPacket);
|
||||
}
|
||||
|
||||
public ObjectGuid Healer;
|
||||
public ObjectGuid Target;
|
||||
public ObjectGuid AbsorbCaster;
|
||||
public int AbsorbSpellID;
|
||||
public int AbsorbedSpellID;
|
||||
public int Absorbed;
|
||||
public int OriginalHeal;
|
||||
public ContentTuningParams ContentTuning;
|
||||
}
|
||||
|
||||
//Structs
|
||||
public struct SpellLogEffectPowerDrainParams
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user