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

Public Member Functions

template<class T >
void resetNotify (GridRefMgr< T > &m)
 
template<class T >
void Visit (GridRefMgr< T > &)
 
void Visit (CreatureMapType &m)
 
void Visit (PlayerMapType &m)
 

Detailed Description

Member Function Documentation

◆ resetNotify()

template<class T >
void ResetNotifier::resetNotify ( GridRefMgr< T > &  m)
inline
905 {
906 for (typename GridRefMgr<T>::iterator iter = m.begin(); iter != m.end(); ++iter)
907 iter->GetSource()->ResetAllNotifies();
908 }
Definition: LinkedList.h:139
iterator begin()
Definition: GridRefMgr.h:35
iterator end()
Definition: GridRefMgr.h:36

References GridRefMgr< OBJECT >::begin(), and GridRefMgr< OBJECT >::end().

◆ Visit() [1/3]

void ResetNotifier::Visit ( CreatureMapType m)
inline
910{ resetNotify<Creature>(m);}

◆ Visit() [2/3]

template<class T >
void ResetNotifier::Visit ( GridRefMgr< T > &  )
inline
909{}

◆ Visit() [3/3]

void ResetNotifier::Visit ( PlayerMapType m)
inline
911{ resetNotify<Player>(m);}