summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-05-14 20:51:36 +0300
committerAndrei Karas <akaras@inbox.ru>2019-05-14 20:51:36 +0300
commit5f82169b8d23d70760967da59709c86abc5ae949 (patch)
tree5ec68e9af60e6122ca9ae0af163a46be6c606df4
parentbb5f144ce9e58def9706e4fa15e5d2d676566c8b (diff)
downloadmanaverse-5f82169b8d23d70760967da59709c86abc5ae949.tar.gz
manaverse-5f82169b8d23d70760967da59709c86abc5ae949.tar.bz2
manaverse-5f82169b8d23d70760967da59709c86abc5ae949.tar.xz
manaverse-5f82169b8d23d70760967da59709c86abc5ae949.zip
Add packet SMSG_REFINE_WINDOW_OPEN 0x0aa0
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/Makefile.am2
-rw-r--r--src/net/eathena/network.cpp1
-rw-r--r--src/net/eathena/packetsin.inc6
-rw-r--r--src/net/eathena/refinerecv.cpp37
-rw-r--r--src/net/eathena/refinerecv.h37
6 files changed, 85 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 11acc2af8..5bd02a1a4 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1749,6 +1749,8 @@ SET(SRCS
net/eathena/questrecv.cpp
net/eathena/questrecv.h
net/eathena/recvpackets.inc
+ net/eathena/refinerecv.cpp
+ net/eathena/refinerecv.h
net/eathena/roulettehandler.cpp
net/eathena/roulettehandler.h
net/eathena/rouletterecv.cpp
diff --git a/src/Makefile.am b/src/Makefile.am
index 1c678f226..f73597d0b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2063,6 +2063,8 @@ SRC += gui/windows/bankwindow.cpp \
net/eathena/questrecv.cpp \
net/eathena/questrecv.h \
net/eathena/recvpackets.inc \
+ net/eathena/refinerecv.cpp \
+ net/eathena/refinerecv.h \
net/eathena/roulettehandler.cpp \
net/eathena/roulettehandler.h \
net/eathena/rouletterecv.cpp \
diff --git a/src/net/eathena/network.cpp b/src/net/eathena/network.cpp
index 4686190ff..a39238940 100644
--- a/src/net/eathena/network.cpp
+++ b/src/net/eathena/network.cpp
@@ -74,6 +74,7 @@
#include "net/eathena/petrecv.h"
#include "net/eathena/playerrecv.h"
#include "net/eathena/questrecv.h"
+#include "net/eathena/refinerecv.h"
#include "net/eathena/rouletterecv.h"
#include "net/eathena/searchstorerecv.h"
#include "net/eathena/skillrecv.h"
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index b3e442f9f..753b8a66f 100644
--- a/src/net/eathena/packetsin.inc
+++ b/src/net/eathena/packetsin.inc
@@ -1119,6 +1119,12 @@ if (packetVersion >= 20161026)
packet(SMSG_GUILD_MEMBER_LIST, 0x0aa5, -1, &GuildRecv::processGuildMemberList, 20161026);
}
+// 20161130 main
+if (packetVersionMain >= 20161130)
+{
+ packet(SMSG_REFINE_WINDOW_OPEN, 0x0aa0, 2, &RefineRecv::processRefineOpen, 20161130);
+}
+
// 20161130 re
if (packetVersionRe >= 20161130)
{
diff --git a/src/net/eathena/refinerecv.cpp b/src/net/eathena/refinerecv.cpp
new file mode 100644
index 000000000..5a9903864
--- /dev/null
+++ b/src/net/eathena/refinerecv.cpp
@@ -0,0 +1,37 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2011-2019 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * 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
+ * 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/>.
+ */
+
+#include "net/eathena/refinerecv.h"
+
+#include "logger.h"
+
+#include "net/messagein.h"
+
+#include "debug.h"
+
+namespace EAthena
+{
+
+void RefineRecv::processRefineOpen(Net::MessageIn &msg)
+{
+ UNIMPLEMENTEDPACKET;
+}
+
+} // namespace EAthena
diff --git a/src/net/eathena/refinerecv.h b/src/net/eathena/refinerecv.h
new file mode 100644
index 000000000..6f706b42c
--- /dev/null
+++ b/src/net/eathena/refinerecv.h
@@ -0,0 +1,37 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2011-2019 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * 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
+ * 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 NET_EATHENA_REFINERECV_H
+#define NET_EATHENA_REFINERECV_H
+
+namespace Net
+{
+ class MessageIn;
+} // namespace Net
+
+namespace EAthena
+{
+ namespace RefineRecv
+ {
+ void processRefineOpen(Net::MessageIn &msg);
+ } // namespace RefineRecv
+} // namespace EAthena
+
+#endif // NET_EATHENA_REFINERECV_H