![]() |
TrinityCore
|
#include <GridNotifiers.h>
Inheritance diagram for Trinity::VisibleNotifier:Public Member Functions | |
| VisibleNotifier (Player &player) | |
| template<class T > | |
| void | Visit (GridRefManager< T > &m) |
| void | SendToSelf (void) |
Public Attributes | |
| Player & | i_player |
| UpdateData | i_data |
| std::set< Unit * > | i_visibleNow |
| GuidUnorderedSet | vis_guids |
Definition at line 44 of file GridNotifiers.h.
|
inline |
Definition at line 51 of file GridNotifiers.h.
| void VisibleNotifier::SendToSelf | ( | void | ) |
Definition at line 29 of file GridNotifiers.cpp.
References UpdateData::AddOutOfRangeGUID(), UpdateData::BuildPacket(), ObjectAccessor::FindPlayer(), WorldObject::GetTransport(), UpdateData::HasData(), i_data, i_player, i_visibleNow, WorldObject::isNeedNotify(), Player::m_clientGUIDs, NOTIFY_VISIBILITY_CHANGED, Player::SendDirectMessage(), Player::SendInitialVisiblePackets(), TYPEID_DYNAMICOBJECT, TYPEID_GAMEOBJECT, TYPEID_PLAYER, TYPEID_UNIT, Player::UpdateVisibilityOf(), and vis_guids.
Referenced by Player::UpdateVisibilityForPlayer(), and Trinity::DelayedUnitRelocation::Visit().
|
inline |
Definition at line 31 of file GridNotifiersImpl.h.
References GridRefManager< OBJECT >::begin(), GridRefManager< OBJECT >::end(), i_data, i_player, i_visibleNow, Player::UpdateVisibilityOf(), and vis_guids.
| UpdateData Trinity::VisibleNotifier::i_data |
Definition at line 47 of file GridNotifiers.h.
Referenced by SendToSelf(), Trinity::PlayerRelocationNotifier::Visit(), Visit(), and Trinity::PlayerRelocationNotifier::Visit().
| Player& Trinity::VisibleNotifier::i_player |
Definition at line 46 of file GridNotifiers.h.
Referenced by SendToSelf(), Trinity::PlayerRelocationNotifier::Visit(), Visit(), and Trinity::PlayerRelocationNotifier::Visit().
| std::set<Unit*> Trinity::VisibleNotifier::i_visibleNow |
Definition at line 48 of file GridNotifiers.h.
Referenced by SendToSelf(), Trinity::PlayerRelocationNotifier::Visit(), Visit(), and Trinity::PlayerRelocationNotifier::Visit().
| GuidUnorderedSet Trinity::VisibleNotifier::vis_guids |
Definition at line 49 of file GridNotifiers.h.
Referenced by SendToSelf(), Trinity::PlayerRelocationNotifier::Visit(), Visit(), and Trinity::PlayerRelocationNotifier::Visit().