AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
AuctionListOwnerItemsDelayEvent Class Reference

#include "AsyncAuctionListing.h"

Inheritance diagram for AuctionListOwnerItemsDelayEvent:
BasicEvent

Public Member Functions

 AuctionListOwnerItemsDelayEvent (ObjectGuid _creatureGuid, ObjectGuid guid)
 
 ~AuctionListOwnerItemsDelayEvent () override
 
bool Execute (uint64 e_time, uint32 p_time) override
 
void Abort (uint64) override
 
- Public Member Functions inherited from BasicEvent
 BasicEvent ()=default
 
virtual ~BasicEvent ()=default
 
virtual bool Execute (uint64, uint32)
 
virtual bool IsDeletable () const
 
virtual void Abort (uint64)
 
void ScheduleAbort ()
 

Private Attributes

ObjectGuid creatureGuid
 
ObjectGuid playerguid
 

Detailed Description

Constructor & Destructor Documentation

◆ AuctionListOwnerItemsDelayEvent()

AuctionListOwnerItemsDelayEvent::AuctionListOwnerItemsDelayEvent ( ObjectGuid  _creatureGuid,
ObjectGuid  guid 
)
inline
28: creatureGuid(_creatureGuid), playerguid(guid) {}
ObjectGuid playerguid
Definition: AsyncAuctionListing.h:36
ObjectGuid creatureGuid
Definition: AsyncAuctionListing.h:35

◆ ~AuctionListOwnerItemsDelayEvent()

AuctionListOwnerItemsDelayEvent::~AuctionListOwnerItemsDelayEvent ( )
inlineoverride
29{}

Member Function Documentation

◆ Abort()

void AuctionListOwnerItemsDelayEvent::Abort ( uint64  )
inlineoverridevirtual

Reimplemented from BasicEvent.

32{}

◆ Execute()

bool AuctionListOwnerItemsDelayEvent::Execute ( uint64  e_time,
uint32  p_time 
)
overridevirtual

Reimplemented from BasicEvent.

31{
33 plr->GetSession()->HandleAuctionListOwnerItemsEvent(creatureGuid);
34 return true;
35}
Player * FindPlayer(ObjectGuid const guid)
Definition: ObjectAccessor.cpp:248
Definition: Player.h:1064

References creatureGuid, ObjectAccessor::FindPlayer(), and playerguid.

Member Data Documentation

◆ creatureGuid

ObjectGuid AuctionListOwnerItemsDelayEvent::creatureGuid
private

Referenced by Execute().

◆ playerguid

ObjectGuid AuctionListOwnerItemsDelayEvent::playerguid
private

Referenced by Execute().