|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <UpdateData.h>
Public Member Functions | |
| void | AddOutOfRangeGUID (std::set< uint64 > &guids) |
| void | AddOutOfRangeGUID (uint64 guid) |
| void | AddUpdateBlock (const ByteBuffer &block) |
| bool | BuildPacket (WorldPacket *packet) |
| void | Clear () |
| std::set< uint64 > const & | GetOutOfRangeGUIDs () const |
| bool | HasData () const |
| UpdateData (uint16 map) | |
Protected Attributes | |
| uint32 | m_blockCount |
| ByteBuffer | m_data |
| uint16 | m_map |
| std::set< uint64 > | m_outOfRangeGUIDs |
Definition at line 41 of file UpdateData.h.
| UpdateData::UpdateData | ( | uint16 | map | ) |
Definition at line 15 of file UpdateData.cpp.
References m_blockCount, and m_map.
| void UpdateData::AddOutOfRangeGUID | ( | std::set< uint64 > & | guids | ) |
Definition at line 17 of file UpdateData.cpp.
References m_outOfRangeGUIDs.
Referenced by Object::BuildOutOfRangeUpdateBlock().
| void UpdateData::AddOutOfRangeGUID | ( | uint64 | guid | ) |
Definition at line 22 of file UpdateData.cpp.
References m_outOfRangeGUIDs.
| void UpdateData::AddUpdateBlock | ( | const ByteBuffer & | block | ) |
Definition at line 27 of file UpdateData.cpp.
References m_blockCount, and m_data.
Referenced by Object::BuildCreateUpdateBlockForPlayer(), and Object::BuildValuesUpdateBlockForPlayer().
| bool UpdateData::BuildPacket | ( | WorldPacket * | packet | ) |
Definition at line 33 of file UpdateData.cpp.
References ByteBuffer::append(), ByteBuffer::appendPackGUID(), ASSERT, ByteBuffer::empty(), WorldPacket::Initialize(), m_blockCount, m_data, m_map, m_outOfRangeGUIDs, SMSG_UPDATE_OBJECT, and UPDATETYPE_OUT_OF_RANGE_OBJECTS.
Referenced by Group::AddMember(), Map::AddToMap(), BattlegroundSA::SendBoatTransportUpdates(), Map::SendInitSelf(), Map::SendInitTransports(), Map::SendRemoveTransports(), BattlegroundSA::SendTransportInit(), BattlegroundSA::SendTransportsRemove(), Object::SendUpdateToPlayer(), Unit::SetOwnerGUID(), Transport::TeleportTransport(), GameObject::Update(), Player::UpdateForQuestWorldObjects(), and Player::UpdateTriggerVisibility().
| void UpdateData::Clear | ( | ) |
Definition at line 54 of file UpdateData.cpp.
References m_blockCount, m_data, m_map, and m_outOfRangeGUIDs.
|
inline |
Definition at line 53 of file UpdateData.h.
References m_outOfRangeGUIDs.
|
inline |
Definition at line 50 of file UpdateData.h.
References m_blockCount, and m_outOfRangeGUIDs.
Referenced by Group::AddMember(), Player::UpdateForQuestWorldObjects(), and Player::UpdateTriggerVisibility().
|
protected |
Definition at line 57 of file UpdateData.h.
Referenced by AddUpdateBlock(), BuildPacket(), Clear(), HasData(), and UpdateData().
|
protected |
Definition at line 59 of file UpdateData.h.
Referenced by AddUpdateBlock(), BuildPacket(), and Clear().
|
protected |
Definition at line 56 of file UpdateData.h.
Referenced by BuildPacket(), Clear(), and UpdateData().
|
protected |
Definition at line 58 of file UpdateData.h.
Referenced by AddOutOfRangeGUID(), AddOutOfRangeGUID(), BuildPacket(), Clear(), GetOutOfRangeGUIDs(), and HasData().