TrinityCore
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Class List
Class Index
Class Hierarchy
Class Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Public Member Functions
|
List of all members
ObjectGridStoper Class Reference
#include <
ObjectGridLoader.h
>
Public Member Functions
void
Visit
(
CreatureMapType
&m)
template<class T >
void
Visit
(
GridRefManager
< T > &)
Member Function Documentation
void ObjectGridStoper::Visit
(
CreatureMapType
&
m
)
215
{
216
// stop any fights at grid de-activation and remove dynobjects created at cast by creatures
217
for
(
CreatureMapType::iterator
iter = m.
begin
(); iter != m.
end
(); ++iter)
218
{
219
iter->GetSource()->RemoveAllDynObjects();
220
if
(iter->GetSource()->IsInCombat())
221
{
222
iter->GetSource()->CombatStop();
223
iter->GetSource()->DeleteThreatList();
224
iter->GetSource()->AI()->EnterEvadeMode();
225
}
226
}
227
}
LinkedListHead::Iterator
Definition:
LinkedList.h:141
GridRefManager::begin
iterator begin()
Definition:
GridRefManager.h:36
GridRefManager::end
iterator end()
Definition:
GridRefManager.h:37
Here is the call graph for this function:
template<class T >
void ObjectGridStoper::Visit
(
GridRefManager
< T > &
)
inline
63
{ }
The documentation for this class was generated from the following files:
src/server/game/Grids/
ObjectGridLoader.h
src/server/game/Grids/
ObjectGridLoader.cpp
Generated on Tue Apr 5 2016 20:21:59 for TrinityCore by
1.8.8