Skip to content

Commit e74b6b3

Browse files
committed
Add 4.4.2 SMSG_AUCTION_GET_COMMODITY_QUOTE_RESULT
1 parent 4e4615b commit e74b6b3

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

WowPacketParserModule.V4_4_0_54481/Parsers/AuctionHandler.cs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,25 @@ public static void HandleAuctionListBiddedItemsResult(Packet packet)
463463
ReadCliAuctionItem(packet, "Items", i);
464464
}
465465

466+
[Parser(Opcode.SMSG_AUCTION_GET_COMMODITY_QUOTE_RESULT)]
467+
public static void HandleAuctionHouseGetCommodityQuoteResult(Packet packet)
468+
{
469+
var hasTotalPrice = packet.ReadBit();
470+
var hasQuantity = packet.ReadBit();
471+
var hasQuoteDuration = packet.ReadBit();
472+
packet.ReadInt32("ItemID");
473+
packet.ReadUInt32("DesiredDelay");
474+
475+
if (hasTotalPrice)
476+
packet.ReadUInt64("TotalPrice");
477+
478+
if (hasQuantity)
479+
packet.ReadUInt32("Quantity");
480+
481+
if (hasQuoteDuration)
482+
packet.ReadInt64("QuoteDuration");
483+
}
484+
466485
[Parser(Opcode.CMSG_AUCTION_LIST_PENDING_SALES)]
467486
public static void HandleAuctionZero(Packet packet)
468487
{

0 commit comments

Comments
 (0)