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
664 {
665 for (typename GridRefMgr<T>::iterator iter = m.begin(); iter != m.end(); ++iter)
666 iter->GetSource()->ResetAllNotifies();
667 }
iterator begin()
Definition GridRefMgr.h:35
iterator end()
Definition GridRefMgr.h:36
Definition LinkedList.h:139

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

◆ Visit() [1/3]

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

◆ Visit() [2/3]

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

◆ Visit() [3/3]

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

The documentation for this struct was generated from the following file: