From 38f418870341b9f6c95a1b6cb16b6ad5c2d0a12f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 14 May 2019 21:38:35 +0300 Subject: Add packet CMSG_REFINE_ADD_ITEM 0x0aa1 --- src/net/tmwa/refinehandler.h | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/net/tmwa/refinehandler.h (limited to 'src/net/tmwa/refinehandler.h') diff --git a/src/net/tmwa/refinehandler.h b/src/net/tmwa/refinehandler.h new file mode 100644 index 000000000..d5ae231ab --- /dev/null +++ b/src/net/tmwa/refinehandler.h @@ -0,0 +1,42 @@ +/* + * 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_TMWA_REFINEHANDLER_H +#define NET_TMWA_REFINEHANDLER_H + +#include "net/refinehandler.h" + +namespace TmwAthena +{ +class RefineHandler final : public Net::RefineHandler +{ + public: + RefineHandler(); + + A_DELETE_COPY(RefineHandler) + + ~RefineHandler() override final; + + void addItem(const Item *const item) const override final; +}; + +} // namespace TmwAthena + +#endif // NET_TMWA_REFINEHANDLER_H -- cgit v1.2.3-70-g09d2