Core/Authserver: Added battle.net presence channel opcode definitions

This commit is contained in:
Shauren committed 2014-10-05 12:17:17 +02:00
1 parent b4a6aa1de0
commit f4a62a178d
3 files changed
+41 -1

No files matched your search

@@ -22,5 +22,6 @@
#include "ConnectionPackets.h"
#include "WoWRealmPackets.h"
#include "FriendsPackets.h"
#include "PresencePackets.h"
#endif // BattlenetPackets_h__
@@ -38,7 +38,7 @@ namespace Battlenet
CMSG_SOCIAL_NETWORK_CONNECT = 0x0F, // Not implemented
CMSG_SOCIAL_NETWORK_DISCONNECT = 0x11, // Not implemented
CMSG_SOCIAL_NETWORK_CHECK_CONNECTED = 0x13, // Not implemented
CMSG_SEND_RID_FRIEND_INVITE = 0x16, // Not implemented
CMSG_REALID_FRIEND_INVITE = 0x16, // Not implemented
SMSG_FRIEND_INVITE_NOTIFY = 0x01, // Not implemented
SMSG_FRIEND_INVITE_RESULT = 0x03, // Not implemented
@@ -0,0 +1,39 @@
/*
* Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef PresencePackets_h__
#define PresencePackets_h__
#include "BattlenetPacketsBase.h"
namespace Battlenet
{
namespace Presence
{
enum Opcode
{
CMSG_UPDATE_REQUEST = 0x0,
CMSG_STATISTIC_SUBSCRIBE = 0x2,
SMSG_UPDATE_NOTIFY = 0x0,
SMSG_FIELD_SPEC_ANNOUNCE = 0x1,
SMSG_STATISTICS_UPDATE = 0x3
};
}
}
#endif // PresencePackets_h__