#include <GridNotifiers.h>
Trinity::VisibleChangesNotifier::VisibleChangesNotifier |
( |
WorldObject & |
object | ) |
|
|
inlineexplicit |
WorldObject & i_object
Definition: GridNotifiers.h:57
96 iter->GetSource()->UpdateVisibilityOf(&
i_object);
98 if (iter->GetSource()->HasSharedVision())
100 for (SharedVisionList::const_iterator i = iter->GetSource()->GetSharedVisionList().begin();
101 i != iter->GetSource()->GetSharedVisionList().end(); ++i)
103 if ((*i)->m_seer == iter->GetSource())
104 (*i)->UpdateVisibilityOf(&
i_object);
Definition: LinkedList.h:141
iterator begin()
Definition: GridRefManager.h:36
WorldObject & i_object
Definition: GridNotifiers.h:57
iterator end()
Definition: GridRefManager.h:37
113 if (iter->GetSource()->HasSharedVision())
114 for (SharedVisionList::const_iterator i = iter->GetSource()->GetSharedVisionList().begin();
115 i != iter->GetSource()->GetSharedVisionList().end(); ++i)
116 if ((*i)->m_seer == iter->GetSource())
117 (*i)->UpdateVisibilityOf(&
i_object);
Definition: LinkedList.h:141
iterator begin()
Definition: GridRefManager.h:36
WorldObject & i_object
Definition: GridNotifiers.h:57
iterator end()
Definition: GridRefManager.h:37
123 if (
Unit* caster = iter->GetSource()->GetCaster())
124 if (
Player* player = caster->ToPlayer())
125 if (player->m_seer == iter->GetSource())
126 player->UpdateVisibilityOf(&
i_object);
Definition: LinkedList.h:141
iterator begin()
Definition: GridRefManager.h:36
WorldObject & i_object
Definition: GridNotifiers.h:57
iterator end()
Definition: GridRefManager.h:37
The documentation for this struct was generated from the following files: