add bid to AUCTION_EVENT_ON_ADD

Signed-off-by: Salja <salja8840@gmail.com>
This commit is contained in:
Salja
2015-01-25 23:44:26 +01:00
parent 81b049cdcd
commit 540c351460
3 changed files with 4 additions and 3 deletions

View File

@@ -82,7 +82,7 @@ void Eluna::OnChange(Weather* weather, uint32 zone, WeatherState state, float gr
}
// Auction House
void Eluna::OnAdd(AuctionHouseEntry const* auctionHouseEntry, Player* pPlayer, Item* pItem, uint32 buyout, uint32 etime)
void Eluna::OnAdd(AuctionHouseEntry const* auctionHouseEntry, Player* pPlayer, Item* pItem, uint32 bid, uint32 buyout, uint32 etime)
{
if (!ServerEventBindings->HasEvents(AUCTION_EVENT_ON_ADD))
return;
@@ -91,6 +91,7 @@ void Eluna::OnAdd(AuctionHouseEntry const* auctionHouseEntry, Player* pPlayer, I
Push(auctionHouseEntry);
Push(pPlayer);
Push(pItem);
Push(bid);
Push(buyout);
Push(etime);
CallAllFunctions(ServerEventBindings, AUCTION_EVENT_ON_ADD);