AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "UpdateData.h"
Public Member Functions | |
UpdateData () | |
void | AddOutOfRangeGUID (ObjectGuid guid) |
void | AddUpdateBlock (const ByteBuffer &block) |
void | AddUpdateBlock (const UpdateData &block) |
bool | BuildPacket (WorldPacket &packet) |
bool | HasData () const |
void | Clear () |
Protected Attributes | |
uint32 | m_blockCount |
GuidVector | m_outOfRangeGUIDs |
ByteBuffer | m_data |
UpdateData::UpdateData | ( | ) |
References m_outOfRangeGUIDs.
void UpdateData::AddOutOfRangeGUID | ( | ObjectGuid | guid | ) |
References m_outOfRangeGUIDs.
Referenced by Object::BuildOutOfRangeUpdateBlock(), Map::SendRemoveTransports(), and Acore::VisibleNotifier::SendToSelf().
void UpdateData::AddUpdateBlock | ( | const ByteBuffer & | block | ) |
References ByteBuffer::append(), m_blockCount, and m_data.
Referenced by Object::BuildCreateUpdateBlockForPlayer(), Object::BuildMovementUpdateBlock(), and Object::BuildValuesUpdateBlockForPlayer().
void UpdateData::AddUpdateBlock | ( | const UpdateData & | block | ) |
References ByteBuffer::append(), m_blockCount, and m_data.
bool UpdateData::BuildPacket | ( | WorldPacket & | packet | ) |
References ByteBuffer::append(), ASSERT, ByteBuffer::empty(), m_blockCount, m_data, m_outOfRangeGUIDs, ByteBuffer::reserve(), WorldPacket::SetOpcode(), SMSG_UPDATE_OBJECT, UPDATETYPE_OUT_OF_RANGE_OBJECTS, and ByteBuffer::wpos().
Referenced by Group::AddMember(), Map::AddToMap(), spell_madrigosa_activate_barrier::HandleActivateObject(), spell_madrigosa_deactivate_barrier::HandleActivateObject(), spell_pri_lightwell_renew::HandleUpdateSpellclick(), Map::RemoveFromMap(), Map::SendInitSelf(), Map::SendInitTransports(), Map::SendRemoveTransports(), Acore::VisibleNotifier::SendToSelf(), BattlegroundSA::SendTransportInit(), BattlegroundSA::SendTransportsRemove(), Object::SendUpdateToPlayer(), Unit::SetOwnerGUID(), BattlegroundSA::StartShips(), GameObject::Update(), Player::UpdateForQuestWorldObjects(), and Player::UpdateTriggerVisibility().
void UpdateData::Clear | ( | ) |
References ByteBuffer::clear(), m_blockCount, m_data, and m_outOfRangeGUIDs.
Referenced by Map::SendInitSelf().
|
inline |
References m_blockCount, and m_outOfRangeGUIDs.
Referenced by Group::AddMember(), Acore::VisibleNotifier::SendToSelf(), and Player::UpdateTriggerVisibility().
|
protected |
Referenced by AddUpdateBlock(), BuildPacket(), Clear(), and HasData().
|
protected |
Referenced by AddUpdateBlock(), BuildPacket(), and Clear().
|
protected |
Referenced by AddOutOfRangeGUID(), BuildPacket(), Clear(), HasData(), and UpdateData().