Core/PacketIO: Update some files

Port From (https://github.com/TrinityCore/TrinityCore/commit/76352cb391b4ff239ef70ff85ede4f09fcffc069)
This commit is contained in:
Hondacrx
2025-06-15 20:24:24 -04:00
parent 56e3f80366
commit f105edae7c
9 changed files with 43 additions and 37 deletions
@@ -512,18 +512,18 @@ namespace Game.Networking.Packets
class AuctionHelloResponse : ServerPacket
{
public ObjectGuid Guid;
public uint PurchasedItemDeliveryDelay;
public uint CancelledItemDeliveryDelay;
public ObjectGuid Auctioneer;
public uint PurchaseDeliveryDelay;
public uint CancelDeliveryDelay;
public bool OpenForBusiness = true;
public AuctionHelloResponse() : base(ServerOpcodes.AuctionHelloResponse) { }
public override void Write()
{
_worldPacket.WritePackedGuid(Guid);
_worldPacket.WriteUInt32(PurchasedItemDeliveryDelay);
_worldPacket.WriteUInt32(CancelledItemDeliveryDelay);
_worldPacket.WritePackedGuid(Auctioneer);
_worldPacket.WriteUInt32(PurchaseDeliveryDelay);
_worldPacket.WriteUInt32(CancelDeliveryDelay);
_worldPacket.WriteBit(OpenForBusiness);
_worldPacket.FlushBits();
}