mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[9180] Add function to send custom animation for GameObject
Replace in code where packet used explicit. Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
c4b0406e7d
commit
a461652636
4 changed files with 11 additions and 5 deletions
|
|
@ -1649,6 +1649,14 @@ void WorldObject::SendObjectDeSpawnAnim(uint64 guid)
|
|||
SendMessageToSet(&data, true);
|
||||
}
|
||||
|
||||
void WorldObject::SendGameObjectCustomAnim(uint64 guid)
|
||||
{
|
||||
WorldPacket data(SMSG_GAMEOBJECT_CUSTOM_ANIM, 8+4);
|
||||
data << uint64(guid);
|
||||
data << uint32(0); // not known what this is
|
||||
SendMessageToSet(&data, true);
|
||||
}
|
||||
|
||||
void WorldObject::SetMap(Map * map)
|
||||
{
|
||||
ASSERT(map);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue