mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[11753] Show pending auction sales from all auctionhouses.
This commit is contained in:
parent
ab062be208
commit
28759f9ed4
2 changed files with 6 additions and 2 deletions
|
|
@ -715,7 +715,11 @@ void WorldSession::HandleAuctionListPendingSales(WorldPacket & recv_data)
|
||||||
|
|
||||||
WorldPacket data(SMSG_AUCTION_LIST_PENDING_SALES, 4);
|
WorldPacket data(SMSG_AUCTION_LIST_PENDING_SALES, 4);
|
||||||
data << uint32(count); // count
|
data << uint32(count); // count
|
||||||
auctionHouse->BuildListPendingSales(data, _player, count);
|
|
||||||
|
// pending list include all auction house entries for character
|
||||||
|
for (int i = 0; i < MAX_AUCTION_HOUSE_TYPE; ++i)
|
||||||
|
sAuctionMgr.GetAuctionsMap(AuctionHouseType(i))->BuildListPendingSales(data, _player, count);
|
||||||
|
|
||||||
data.put<uint32>(0, count);
|
data.put<uint32>(0, count);
|
||||||
SendPacket(&data);
|
SendPacket(&data);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11752"
|
#define REVISION_NR "11753"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue