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
743 {
744 for (typename GridRefMgr<T>::iterator iter = m.begin(); iter != m.end(); ++iter)
745 iter->GetSource()->ResetAllNotifies();
746 }
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
748{ resetNotify<Creature>(m);}

◆ Visit() [2/3]

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

◆ Visit() [3/3]

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

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