use auctionHouseEntry for all auctions hooks add buyout, etime to AUCTION_EVENT_ON_ADD

Signed-off-by: Salja <salja8840@gmail.com>
This commit is contained in:
Salja
2015-01-25 23:22:45 +01:00
parent 734f720aca
commit 81b049cdcd
4 changed files with 21 additions and 19 deletions

View File

@@ -1218,7 +1218,7 @@ ElunaRegister<Corpse> CorpseMethods[] =
{ NULL, NULL }
};
ElunaRegister<AuctionHouseObject> AuctionMethods[] =
ElunaRegister<AuctionHouseEntry> AuctionMethods[] =
{
{ NULL, NULL }
};
@@ -1380,8 +1380,8 @@ void RegisterFunctions(Eluna* E)
ElunaTemplate<Map>::Register(E, "Map");
ElunaTemplate<Map>::SetMethods(E, MapMethods);
ElunaTemplate<AuctionHouseObject>::Register(E, "AuctionHouseObject");
ElunaTemplate<AuctionHouseObject>::SetMethods(E, AuctionMethods);
ElunaTemplate<AuctionHouseEntry>::Register(E, "AuctionHouseEntry");
ElunaTemplate<AuctionHouseEntry>::SetMethods(E, AuctionMethods);
ElunaTemplate<BattleGround>::Register(E, "BattleGround");
ElunaTemplate<BattleGround>::SetMethods(E, BattleGroundMethods);