395 {
398 {
400 if (
Map* map = go->GetMap())
401 map->DoForAllPlayers([&](
Player* player) {
404 go->BuildValuesUpdateBlockForPlayer(&data, player);
407 });
408 }
409 }
@ GO_STATE_ACTIVE
Definition: GameObjectData.h:689
Definition: GameObject.h:120
Definition: UpdateData.h:52
bool BuildPacket(WorldPacket &packet)
Definition: UpdateData.cpp:48
Definition: Player.h:1081
WorldSession * GetSession() const
Definition: Player.h:1998
Definition: WorldPacket.h:26
void PreventHitDefaultEffect(SpellEffIndex effIndex)
Definition: SpellScript.cpp:590
GameObject * GetHitGObj()
Definition: SpellScript.cpp:494