Core/PacketIO: Updated CMSG_VOICE_SESSION_ENABLE and CMSG_SET_ACTIVE_VOICE_CHANNEL for further usage

This commit is contained in:
Carbenium
2016-02-03 16:47:24 +01:00
parent 6715a91907
commit ca967f4374
6 changed files with 95 additions and 13 deletions

View File

@@ -16,20 +16,14 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "Common.h"
#include "WorldPacket.h"
#include "WorldSession.h"
#include "VoicePackets.h"
void WorldSession::HandleVoiceSessionEnableOpcode(WorldPacket& recvData)
void WorldSession::HandleVoiceSessionEnable(WorldPackets::Voice::VoiceSessionEnable& /*packet*/)
{
// uint8 isVoiceEnabled, uint8 isMicrophoneEnabled
recvData.read_skip<uint8>();
recvData.read_skip<uint8>();
}
void WorldSession::HandleSetActiveVoiceChannel(WorldPacket& recvData)
void WorldSession::HandleSetActiveVoiceChannel(WorldPackets::Voice::SetActiveVoiceChannel& /*packet*/)
{
recvData.read_skip<uint32>();
recvData.read_skip<char*>();
}