#include "AuctionHouseScript.h"
|
virtual void | OnAuctionAdd (AuctionHouseObject *, AuctionEntry *) |
|
virtual void | OnAuctionRemove (AuctionHouseObject *, AuctionEntry *) |
|
virtual void | OnAuctionSuccessful (AuctionHouseObject *, AuctionEntry *) |
|
virtual void | OnAuctionExpire (AuctionHouseObject *, AuctionEntry *) |
|
virtual void | OnBeforeAuctionHouseMgrSendAuctionWonMail (AuctionHouseMgr *, AuctionEntry *, Player *, uint32 &, bool &, bool &, bool &) |
|
virtual void | OnBeforeAuctionHouseMgrSendAuctionSalePendingMail (AuctionHouseMgr *, AuctionEntry *, Player *, uint32 &, bool &) |
|
virtual void | OnBeforeAuctionHouseMgrSendAuctionSuccessfulMail (AuctionHouseMgr *, AuctionEntry *, Player *, uint32 &, uint32 &, bool &, bool &, bool &) |
|
virtual void | OnBeforeAuctionHouseMgrSendAuctionExpiredMail (AuctionHouseMgr *, AuctionEntry *, Player *, uint32 &, bool &, bool &) |
|
virtual void | OnBeforeAuctionHouseMgrSendAuctionOutbiddedMail (AuctionHouseMgr *, AuctionEntry *, Player *, uint32 &, Player *, uint32 &, bool &, bool &) |
|
virtual void | OnBeforeAuctionHouseMgrSendAuctionCancelledToBidderMail (AuctionHouseMgr *, AuctionEntry *, Player *, uint32 &, bool &) |
|
virtual void | OnBeforeAuctionHouseMgrUpdate () |
|
virtual bool | IsDatabaseBound () const |
|
virtual bool | isAfterLoadScript () const |
|
virtual void | checkValidity () |
|
const std::string & | GetName () const |
|
uint16 | GetTotalAvailableHooks () |
|
◆ AuctionHouseScript()
AuctionHouseScript::AuctionHouseScript |
( |
const char * |
name, |
|
|
std::vector< uint16 > |
enabledHooks = std::vector<uint16>() |
|
) |
| |
|
protected |
91{
92
93 if (enabledHooks.empty())
95 enabledHooks.emplace_back(i);
96
98}
std::uint16_t uint16
Definition: Define.h:108
@ AUCTIONHOUSEHOOK_END
Definition: AuctionHouseScript.h:37
static void AddScript(TScript *const script, std::vector< uint16 > enabledHooks={})
Definition: ScriptMgr.h:738
Definition: ScriptObject.h:43
References ScriptRegistry< TScript >::AddScript(), and AUCTIONHOUSEHOOK_END.
◆ OnAuctionAdd()
◆ OnAuctionExpire()
◆ OnAuctionRemove()
◆ OnAuctionSuccessful()
◆ OnBeforeAuctionHouseMgrSendAuctionCancelledToBidderMail()
◆ OnBeforeAuctionHouseMgrSendAuctionExpiredMail()
◆ OnBeforeAuctionHouseMgrSendAuctionOutbiddedMail()
◆ OnBeforeAuctionHouseMgrSendAuctionSalePendingMail()
◆ OnBeforeAuctionHouseMgrSendAuctionSuccessfulMail()
◆ OnBeforeAuctionHouseMgrSendAuctionWonMail()
◆ OnBeforeAuctionHouseMgrUpdate()
virtual void AuctionHouseScript::OnBeforeAuctionHouseMgrUpdate |
( |
| ) |
|
|
inlinevirtual |