Core: Update to 10.0.7
Port From (https://github.com/TrinityCore/TrinityCore/commit/922f60fa25569db05a7717b6b55568f321a02f64)
This commit is contained in:
@@ -460,6 +460,32 @@ namespace Game.Networking.Packets
|
||||
public byte Reason;
|
||||
}
|
||||
|
||||
class CanLocalWhisperTargetRequest : ClientPacket
|
||||
{
|
||||
public ObjectGuid WhisperTarget;
|
||||
|
||||
public CanLocalWhisperTargetRequest(WorldPacket packet) : base(packet) { }
|
||||
|
||||
public override void Read()
|
||||
{
|
||||
WhisperTarget = _worldPacket.ReadPackedGuid();
|
||||
}
|
||||
}
|
||||
|
||||
class CanLocalWhisperTargetResponse : ServerPacket
|
||||
{
|
||||
public ObjectGuid WhisperTarget;
|
||||
public ChatWhisperTargetStatus Status;
|
||||
|
||||
public CanLocalWhisperTargetResponse() : base(ServerOpcodes.ChatCanLocalWhisperTargetResponse) { }
|
||||
|
||||
public override void Write()
|
||||
{
|
||||
_worldPacket.WritePackedGuid(WhisperTarget);
|
||||
_worldPacket.WriteInt32((int)Status);
|
||||
}
|
||||
}
|
||||
|
||||
public class ChatAddonMessageParams
|
||||
{
|
||||
public void Read(WorldPacket data)
|
||||
|
||||
Reference in New Issue
Block a user