[8483] Implement glyph 43361.
[getmangos.git] / src / game / VoiceChatHandler.cpp
blobb799f0a185d2d0d2bc33c0116ed36da6b0ef9f8f
1 /*
2 * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #include "Common.h"
20 #include "WorldPacket.h"
21 #include "WorldSession.h"
22 #include "Opcodes.h"
23 #include "Log.h"
25 void WorldSession::HandleVoiceSessionEnableOpcode( WorldPacket & recv_data )
27 sLog.outDebug("WORLD: CMSG_VOICE_SESSION_ENABLE");
28 // uint8 isVoiceEnabled, uint8 isMicrophoneEnabled
29 recv_data.read_skip<uint8>();
30 recv_data.read_skip<uint8>();
31 recv_data.hexlike();
34 void WorldSession::HandleChannelVoiceOnOpcode( WorldPacket & recv_data )
36 sLog.outDebug("WORLD: CMSG_CHANNEL_VOICE_ON");
37 // Enable Voice button in channel context menu
38 recv_data.hexlike();
41 void WorldSession::HandleSetActiveVoiceChannel( WorldPacket & recv_data )
43 sLog.outDebug("WORLD: CMSG_SET_ACTIVE_VOICE_CHANNEL");
44 recv_data.read_skip<uint32>();
45 recv_data.read_skip<char*>();
46 recv_data.hexlike();