AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
LFGUpdateRequest Class Reference
Inheritance diagram for LFGUpdateRequest:
UpdateRequest

Public Member Functions

 LFGUpdateRequest (MapUpdater &u, uint32 d)
 
void call () override
 
- Public Member Functions inherited from UpdateRequest
 UpdateRequest ()=default
 
virtual ~UpdateRequest ()=default
 
virtual void call ()=0
 

Private Attributes

MapUpdaterm_updater
 
uint32 m_diff
 

Detailed Description

Constructor & Destructor Documentation

◆ LFGUpdateRequest()

LFGUpdateRequest::LFGUpdateRequest ( MapUpdater u,
uint32  d 
)
inline
58: m_updater(u), m_diff(d) {}
MapUpdater & m_updater
Definition: MapUpdater.cpp:66
uint32 m_diff
Definition: MapUpdater.cpp:67

Member Function Documentation

◆ call()

void LFGUpdateRequest::call ( )
inlineoverridevirtual

Implements UpdateRequest.

61 {
62 sLFGMgr->Update(m_diff, 1);
64 }
#define sLFGMgr
Definition: LFGMgr.h:641
void update_finished()
Definition: MapUpdater.cpp:133

References m_diff, m_updater, sLFGMgr, and MapUpdater::update_finished().

Member Data Documentation

◆ m_diff

uint32 LFGUpdateRequest::m_diff
private

Referenced by call().

◆ m_updater

MapUpdater& LFGUpdateRequest::m_updater
private

Referenced by call().