Core/AuctionHouse: Fixed buying commodities

Port From (https://github.com/TrinityCore/TrinityCore/commit/61a7026f1765271595377be0c37a8228fe620c0d)
This commit is contained in:
hondacrx
2021-06-24 00:10:23 -04:00
parent 6b45e87c92
commit 1be17e7ff3
3 changed files with 16 additions and 7 deletions
@@ -465,7 +465,7 @@ namespace Game.Networking.Packets
public Optional<ulong> TotalPrice;
public Optional<uint> Quantity;
public Optional<int> QuoteDuration;
public int Unknown830;
public int ItemID;
public uint DesiredDelay;
public AuctionGetCommodityQuoteResult() : base(ServerOpcodes.AuctionGetCommodityQuoteResult) { }
@@ -475,7 +475,7 @@ namespace Game.Networking.Packets
_worldPacket.WriteBit(TotalPrice.HasValue);
_worldPacket.WriteBit(Quantity.HasValue);
_worldPacket.WriteBit(QuoteDuration.HasValue);
_worldPacket.WriteInt32(Unknown830);
_worldPacket.WriteInt32(ItemID);
_worldPacket.WriteUInt32(DesiredDelay);
if (TotalPrice.HasValue)