void Battlefield::DoPlaySoundToAll(uint32 SoundID) { WorldPacket data; data.Initialize(SMSG_PLAY_SOUND, 4); data << uint32(SoundID); BroadcastPacketToWar(data); }
void Battlefield::DoPlaySoundToAll(uint32 soundID) { BroadcastPacketToWar(WorldPackets::Misc::PlaySound(ObjectGuid::Empty, soundID).Write()); }