From 5f82169b8d23d70760967da59709c86abc5ae949 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 14 May 2019 20:51:36 +0300 Subject: Add packet SMSG_REFINE_WINDOW_OPEN 0x0aa0 --- src/net/eathena/network.cpp | 1 + src/net/eathena/packetsin.inc | 6 ++++++ src/net/eathena/refinerecv.cpp | 37 +++++++++++++++++++++++++++++++++++++ src/net/eathena/refinerecv.h | 37 +++++++++++++++++++++++++++++++++++++ 4 files changed, 81 insertions(+) create mode 100644 src/net/eathena/refinerecv.cpp create mode 100644 src/net/eathena/refinerecv.h (limited to 'src/net') 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 . + */ + +#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 . + */ + +#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 -- cgit v1.2.3-70-g09d2