36 for (Transport::PassengerSet::const_iterator itr = transport->GetPassengers().begin(); itr != transport->GetPassengers().end(); ++itr)
42 switch ((*itr)->GetTypeId())
50 (*itr)->ToPlayer()->UpdateVisibilityOf(&
i_player);
74 player->UpdateVisibilityOf(&
i_player);
83 i_player.GetSession()->SendPacket(&packet);
86 i_player.SendInitialVisiblePackets(*it);
UpdateData i_data
Definition: GridNotifiers.h:46
Definition: ObjectGuid.h:32
Definition: Transport.h:28
TC_GAME_API Player * FindPlayer(ObjectGuid const &)
Definition: ObjectAccessor.cpp:209
Definition: ObjectGuid.h:34
Player & i_player
Definition: GridNotifiers.h:45
Definition: ObjectGuid.h:33
void AddOutOfRangeGUID(GuidSet &guids)
Definition: UpdateData.cpp:27
bool HasData() const
Definition: UpdateData.h:73
std::set< Unit * > i_visibleNow
Definition: GridNotifiers.h:47
GuidUnorderedSet vis_guids
Definition: GridNotifiers.h:48
bool BuildPacket(WorldPacket *packet)
Definition: UpdateData.cpp:43
Definition: ObjectGuid.h:35
Definition: WorldPacket.h:26