AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
DynamicTreeAreaInfoCallback Struct Reference

Public Member Functions

 DynamicTreeAreaInfoCallback (uint32 phaseMask)
 
void operator() (G3D::Vector3 const &p, GameObjectModel const &obj)
 
VMAP::AreaInfo const & GetAreaInfo () const
 

Private Attributes

uint32 _phaseMask
 
VMAP::AreaInfo _areaInfo
 

Detailed Description

Constructor & Destructor Documentation

◆ DynamicTreeAreaInfoCallback()

DynamicTreeAreaInfoCallback::DynamicTreeAreaInfoCallback ( uint32  phaseMask)
inline
175: _phaseMask(phaseMask) { }
uint32 _phaseMask
Definition: DynamicTree.cpp:188

Member Function Documentation

◆ GetAreaInfo()

VMAP::AreaInfo const & DynamicTreeAreaInfoCallback::GetAreaInfo ( ) const
inline
183 {
184 return _areaInfo;
185 }
VMAP::AreaInfo _areaInfo
Definition: DynamicTree.cpp:189

References _areaInfo.

Referenced by DynamicMapTree::GetAreaInfo().

◆ operator()()

void DynamicTreeAreaInfoCallback::operator() ( G3D::Vector3 const &  p,
GameObjectModel const &  obj 
)
inline
178 {
179 obj.IntersectPoint(p, _areaInfo, _phaseMask);
180 }

References _areaInfo, _phaseMask, and GameObjectModel::IntersectPoint().

Member Data Documentation

◆ _areaInfo

VMAP::AreaInfo DynamicTreeAreaInfoCallback::_areaInfo
private

Referenced by GetAreaInfo(), and operator()().

◆ _phaseMask

uint32 DynamicTreeAreaInfoCallback::_phaseMask
private

Referenced by operator()().