diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-05-14 20:51:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-05-14 20:51:36 +0300 |
commit | 5f82169b8d23d70760967da59709c86abc5ae949 (patch) | |
tree | 5ec68e9af60e6122ca9ae0af163a46be6c606df4 /src/net/eathena | |
parent | bb5f144ce9e58def9706e4fa15e5d2d676566c8b (diff) | |
download | manaverse-5f82169b8d23d70760967da59709c86abc5ae949.tar.gz manaverse-5f82169b8d23d70760967da59709c86abc5ae949.tar.bz2 manaverse-5f82169b8d23d70760967da59709c86abc5ae949.tar.xz manaverse-5f82169b8d23d70760967da59709c86abc5ae949.zip |
Add packet SMSG_REFINE_WINDOW_OPEN 0x0aa0
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/network.cpp | 1 | ||||
-rw-r--r-- | src/net/eathena/packetsin.inc | 6 | ||||
-rw-r--r-- | src/net/eathena/refinerecv.cpp | 37 | ||||
-rw-r--r-- | src/net/eathena/refinerecv.h | 37 |
4 files changed, 81 insertions, 0 deletions
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 |