AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "GridNotifiers.h"
Public Member Functions | |
VisibleNotifier (Player &player, bool gobjOnly, bool largeOnly) | |
void | Visit (GameObjectMapType &) |
template<class T > | |
void | Visit (GridRefMgr< T > &m) |
void | SendToSelf (void) |
Public Attributes | |
Player & | i_player |
GuidUnorderedSet | vis_guids |
std::vector< Unit * > & | i_visibleNow |
bool | i_gobjOnly |
bool | i_largeOnly |
UpdateData | i_data |
|
inline |
References i_visibleNow.
void VisibleNotifier::SendToSelf | ( | void | ) |
References UpdateData::AddOutOfRangeGUID(), UpdateData::BuildPacket(), WorldObject::CanSeeOrDetect(), ObjectAccessor::FindPlayer(), Map::GetGameObject(), Player::GetInitialVisiblePackets(), WorldObject::GetMap(), Player::GetSession(), WorldObject::GetTransport(), ObjectAccessor::GetWorldObject(), UpdateData::HasData(), i_data, i_largeOnly, i_player, i_visibleNow, WorldObject::IsInMap(), Player::m_clientGUIDs, WorldSession::SendPacket(), TYPEID_GAMEOBJECT, TYPEID_PLAYER, TYPEID_UNIT, Player::UpdateVisibilityOf(), and vis_guids.
Referenced by Unit::ExecuteDelayedUnitRelocationEvent(), and Player::UpdateVisibilityForPlayer().
void VisibleNotifier::Visit | ( | GameObjectMapType & | m | ) |
References GridRefMgr< OBJECT >::begin(), GridRefMgr< OBJECT >::end(), Object::GetGUID(), i_data, i_largeOnly, i_player, i_visibleNow, WorldObject::IsVisibilityOverridden(), Player::UpdateVisibilityOf(), and vis_guids.
Referenced by Acore::PlayerRelocationNotifier::Visit().
|
inline |
References GridRefMgr< OBJECT >::begin(), GridRefMgr< OBJECT >::end(), i_data, i_gobjOnly, i_largeOnly, i_player, i_visibleNow, Player::UpdateVisibilityOf(), and vis_guids.
UpdateData Acore::VisibleNotifier::i_data |
Referenced by SendToSelf(), Visit(), and Acore::PlayerRelocationNotifier::Visit().
bool Acore::VisibleNotifier::i_gobjOnly |
Referenced by Visit().
bool Acore::VisibleNotifier::i_largeOnly |
Referenced by SendToSelf(), and Visit().
Player& Acore::VisibleNotifier::i_player |
Referenced by SendToSelf(), Visit(), and Acore::PlayerRelocationNotifier::Visit().
std::vector<Unit*>& Acore::VisibleNotifier::i_visibleNow |
Referenced by SendToSelf(), VisibleNotifier(), Visit(), and Acore::PlayerRelocationNotifier::Visit().
GuidUnorderedSet Acore::VisibleNotifier::vis_guids |
Referenced by SendToSelf(), Visit(), and Acore::PlayerRelocationNotifier::Visit().