Core/Packets: converted SMSG_PLAY_SOUND and SMSG_PLAY_OBJECT_SOUND to packet class and corrected packet structure of
SMSG_PLAY_OBJECT_SOUND
This commit is contained in:
1 parent
c7f5732571
commit
9bf01799f0
11 files changed
+74
-48
No files matched your search
@@ -137,3 +137,20 @@ WorldPacket const* WorldPackets::Misc::UITime::Write()
|
||||
|
||||
return &_worldPacket;
|
||||
}
|
||||
|
||||
WorldPacket const* WorldPackets::Misc::PlaySound::Write()
|
||||
{
|
||||
_worldPacket << uint32(SoundKitID);
|
||||
_worldPacket << SourceObjectGUID;
|
||||
|
||||
return &_worldPacket;
|
||||
}
|
||||
|
||||
WorldPacket const* WorldPackets::Misc::PlayObjectSound::Write()
|
||||
{
|
||||
_worldPacket << uint32(SoundKitID);
|
||||
_worldPacket << SourceObjectGUID;
|
||||
_worldPacket << TargetObjectGUID;
|
||||
|
||||
return &_worldPacket;
|
||||
}
|
||||
Reference in new issue
Block a user