mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[11465] non-ObjectGuid guids in random places.
Only ChannelMgr code wide use uint64 guids now, and Map object stores.
This commit is contained in:
parent
a925db80fa
commit
ef6a48fe03
44 changed files with 219 additions and 215 deletions
|
|
@ -213,7 +213,7 @@ void Object::BuildValuesUpdateBlockForPlayer(UpdateData *data, Player *target) c
|
|||
|
||||
void Object::BuildOutOfRangeUpdateBlock(UpdateData * data) const
|
||||
{
|
||||
data->AddOutOfRangeGUID(GetGUID());
|
||||
data->AddOutOfRangeGUID(GetObjectGuid());
|
||||
}
|
||||
|
||||
void Object::DestroyForPlayer( Player *target, bool anim ) const
|
||||
|
|
@ -1605,17 +1605,17 @@ void WorldObject::SendMessageToSetExcept(WorldPacket *data, Player const* skippe
|
|||
}
|
||||
}
|
||||
|
||||
void WorldObject::SendObjectDeSpawnAnim(uint64 guid)
|
||||
void WorldObject::SendObjectDeSpawnAnim(ObjectGuid guid)
|
||||
{
|
||||
WorldPacket data(SMSG_GAMEOBJECT_DESPAWN_ANIM, 8);
|
||||
data << uint64(guid);
|
||||
data << ObjectGuid(guid);
|
||||
SendMessageToSet(&data, true);
|
||||
}
|
||||
|
||||
void WorldObject::SendGameObjectCustomAnim(uint64 guid)
|
||||
void WorldObject::SendGameObjectCustomAnim(ObjectGuid guid)
|
||||
{
|
||||
WorldPacket data(SMSG_GAMEOBJECT_CUSTOM_ANIM, 8+4);
|
||||
data << uint64(guid);
|
||||
data << ObjectGuid(guid);
|
||||
data << uint32(0); // not known what this is
|
||||
SendMessageToSet(&data, true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue