Core/AH: Add search delay to SMSG_AUCTION_BIDDER_LIST_RESULT and SMSG_AUCTION_OWNER_LIST_RESULT (#26915)

This commit is contained in:
HelloKitty
2021-10-01 09:32:36 -05:00
committed by GitHub
parent 389979e8a3
commit 82aca86d87

View File

@@ -700,7 +700,7 @@ void WorldSession::HandleAuctionListBidderItems(WorldPacket& recvData)
auctionHouse->BuildListBidderItems(data, player, count, totalcount);
data.put<uint32>(0, count); // add count to placeholder
data << totalcount;
data << (uint32)300; //unk 2.3.0
data << (uint32)sWorld->getIntConfig(CONFIG_AUCTION_SEARCH_DELAY);
SendPacket(&data);
}
@@ -737,7 +737,7 @@ void WorldSession::HandleAuctionListOwnerItems(WorldPacket& recvData)
auctionHouse->BuildListOwnerItems(data, _player, count, totalcount);
data.put<uint32>(0, count);
data << (uint32) totalcount;
data << (uint32) 0;
data << (uint32) sWorld->getIntConfig(CONFIG_AUCTION_SEARCH_DELAY);
SendPacket(&data);
}