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

#include "AsyncAuctionListing.h"

Static Public Member Functions

static void Update (Milliseconds diff)
 
static Milliseconds GetDiff ()
 
static void ResetDiff ()
 
static std::list< AuctionListItemsDelayEvent > & GetList ()
 
static std::list< AuctionListItemsDelayEvent > & GetTempList ()
 
static std::mutex & GetTempLock ()
 

Static Private Attributes

static Milliseconds auctionListingDiff = Milliseconds::zero()
 
static std::list< AuctionListItemsDelayEventauctionListingList
 
static std::list< AuctionListItemsDelayEventauctionListingListTemp
 
static std::mutex auctionListingTempLock
 

Detailed Description

Member Function Documentation

◆ GetDiff()

static Milliseconds AsyncAuctionListingMgr::GetDiff ( )
inlinestatic
67{ return auctionListingDiff; }
static Milliseconds auctionListingDiff
Definition: AsyncAuctionListing.h:74

References auctionListingDiff.

Referenced by AuctionListingRunnable().

◆ GetList()

static std::list< AuctionListItemsDelayEvent > & AsyncAuctionListingMgr::GetList ( )
inlinestatic
69{ return auctionListingList; }
static std::list< AuctionListItemsDelayEvent > auctionListingList
Definition: AsyncAuctionListing.h:75

References auctionListingList.

Referenced by AuctionListingRunnable().

◆ GetTempList()

static std::list< AuctionListItemsDelayEvent > & AsyncAuctionListingMgr::GetTempList ( )
inlinestatic
70{ return auctionListingListTemp; }
static std::list< AuctionListItemsDelayEvent > auctionListingListTemp
Definition: AsyncAuctionListing.h:76

References auctionListingListTemp.

Referenced by AuctionListingRunnable(), and WorldSession::HandleAuctionListItems().

◆ GetTempLock()

static std::mutex & AsyncAuctionListingMgr::GetTempLock ( )
inlinestatic
71{ return auctionListingTempLock; }
static std::mutex auctionListingTempLock
Definition: AsyncAuctionListing.h:77

References auctionListingTempLock.

Referenced by AuctionListingRunnable(), and WorldSession::HandleAuctionListItems().

◆ ResetDiff()

static void AsyncAuctionListingMgr::ResetDiff ( )
inlinestatic
68{ auctionListingDiff = Milliseconds::zero(); }

References auctionListingDiff.

Referenced by AuctionListingRunnable().

◆ Update()

static void AsyncAuctionListingMgr::Update ( Milliseconds  diff)
inlinestatic
66{ auctionListingDiff += diff; }

References auctionListingDiff.

Referenced by World::Update().

Member Data Documentation

◆ auctionListingDiff

Milliseconds AsyncAuctionListingMgr::auctionListingDiff = Milliseconds::zero()
staticprivate

Referenced by GetDiff(), ResetDiff(), and Update().

◆ auctionListingList

std::list< AuctionListItemsDelayEvent > AsyncAuctionListingMgr::auctionListingList
staticprivate

Referenced by GetList().

◆ auctionListingListTemp

std::list< AuctionListItemsDelayEvent > AsyncAuctionListingMgr::auctionListingListTemp
staticprivate

Referenced by GetTempList().

◆ auctionListingTempLock

std::mutex AsyncAuctionListingMgr::auctionListingTempLock
staticprivate

Referenced by GetTempLock().