aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2014-10-05 16:36:19 +0200
committerShauren <shauren.trinity@gmail.com>2014-10-05 16:36:19 +0200
commit238b1947099a89b43d76fbfbb37afb47109adda1 (patch)
treee4ba422a2ab5e1e9b71f8d10ffcc590fdaf8ddf1 /src
parentdd26efa40b19412cc80ac7efddcc84d2170cc190 (diff)
Core/Authserver: Added battle.net profile channel opcode definitions
Diffstat (limited to 'src')
-rw-r--r--src/server/authserver/Server/BattlenetPackets/BattlenetPackets.h2
-rw-r--r--src/server/authserver/Server/BattlenetPackets/ProfilePackets.h44
2 files changed, 45 insertions, 1 deletions
diff --git a/src/server/authserver/Server/BattlenetPackets/BattlenetPackets.h b/src/server/authserver/Server/BattlenetPackets/BattlenetPackets.h
index 48e7a470ec5..3ceee794d03 100644
--- a/src/server/authserver/Server/BattlenetPackets/BattlenetPackets.h
+++ b/src/server/authserver/Server/BattlenetPackets/BattlenetPackets.h
@@ -27,6 +27,6 @@
#include "SupportPackets.h"
#include "AchievementPackets.h"
#include "CachePackets.h"
-//#include "ProfilePackets.h"
+#include "ProfilePackets.h"
#endif // BattlenetPackets_h__
diff --git a/src/server/authserver/Server/BattlenetPackets/ProfilePackets.h b/src/server/authserver/Server/BattlenetPackets/ProfilePackets.h
new file mode 100644
index 00000000000..d08fa4883c5
--- /dev/null
+++ b/src/server/authserver/Server/BattlenetPackets/ProfilePackets.h
@@ -0,0 +1,44 @@
+/*
+ * 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 ProfilePackets_h__
+#define ProfilePackets_h__
+
+#include "BattlenetPacketsBase.h"
+
+namespace Battlenet
+{
+ namespace Profile
+ {
+ enum Opcode
+ {
+ CMSG_READ_REQUEST = 0x0, // Not implemented
+ CMSG_ADDRESS_QUERY_REQUEST = 0x1, // Not implemented
+ CMSG_RESOLVE_TOON_HANDLE_TO_NAME_REQUEST = 0x2, // Not implemented
+ CMSG_RESOLVE_TOON_NAME_TO_HANDLE_REQUEST = 0x3, // Not implemented
+ CMSG_CHANGE_SETTINGS = 0x5, // Not implemented
+
+ SMSG_READ_RESPONSE = 0x0, // Not implemented
+ SMSG_ADDRESS_QUERY_RESPONSE = 0x1, // Not implemented
+ SMSG_RESOLVE_TOON_HANDLE_TO_NAME_RESPONSE = 0x2, // Not implemented
+ SMSG_RESOLVE_TOON_NAME_TO_HANDLE_RESPONSE = 0x3, // Not implemented
+ SMSG_SETTINGS_AVAILABLE = 0x4 // Not implemented
+ };
+ }
+}
+
+#endif // ProfilePackets_h__