mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Change AH hooks to work with TC
This commit is contained in:
@@ -41,6 +41,7 @@ typedef int Difficulty;
|
||||
|
||||
struct AreaTriggerEntry;
|
||||
class AuctionHouseObject;
|
||||
struct AuctionEntry;
|
||||
#ifdef TRINITY
|
||||
class Battleground;
|
||||
typedef Battleground BattleGround;
|
||||
@@ -442,10 +443,10 @@ public:
|
||||
void OnChange(Weather* weather, uint32 zone, WeatherState state, float grade);
|
||||
|
||||
/* Auction House */
|
||||
void OnAdd(AuctionHouseEntry const* auctionHouseEntry, Player* pPlayer, Item* pItem, uint32 bid, uint32 buyout, uint32 etime);
|
||||
void OnRemove(AuctionHouseEntry const* auctionHouseEntry, Player* pPlayer, Item* pItem);
|
||||
void OnSuccessful(AuctionHouseEntry const* auctionHouseEntry);
|
||||
void OnExpire(AuctionHouseEntry const* auctionHouseEntry);
|
||||
void OnAdd(AuctionHouseObject* ah, AuctionEntry* entry);
|
||||
void OnRemove(AuctionHouseObject* ah, AuctionEntry* entry);
|
||||
void OnSuccessful(AuctionHouseObject* ah, AuctionEntry* entry);
|
||||
void OnExpire(AuctionHouseObject* ah, AuctionEntry* entry);
|
||||
|
||||
/* Guild */
|
||||
void OnAddMember(Guild* guild, Player* player, uint32 plRank);
|
||||
|
||||
Reference in New Issue
Block a user