AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
ObjectGridCleaner Class Reference

#include "ObjectGridLoader.h"

Public Member Functions

template<class T >
void Visit (GridRefMgr< T > &)
 

Detailed Description

Member Function Documentation

◆ Visit()

template<class T >
template void ObjectGridCleaner::Visit< Corpse > ( GridRefMgr< T > &  )
233{
234 for (typename GridRefMgr<T>::iterator iter = m.begin(); iter != m.end(); ++iter)
235 iter->GetSource()->CleanupsBeforeDelete();
236}
Definition: LinkedList.h:139
iterator begin()
Definition: GridRefMgr.h:35
iterator end()
Definition: GridRefMgr.h:36

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