diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-30 19:28:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-30 19:28:14 +0300 |
commit | f8b20db91cf8fcaed0c3b8107644bdb101add6b8 (patch) | |
tree | 38c73998f8f9b74417c275b6810e7b1d71945478 /src/net/eathena/vendingrecv.h | |
parent | 11f548068b7ac05220437f595403ac41cc222a1e (diff) | |
download | manaplus-f8b20db91cf8fcaed0c3b8107644bdb101add6b8.tar.gz manaplus-f8b20db91cf8fcaed0c3b8107644bdb101add6b8.tar.bz2 manaplus-f8b20db91cf8fcaed0c3b8107644bdb101add6b8.tar.xz manaplus-f8b20db91cf8fcaed0c3b8107644bdb101add6b8.zip |
Move receive code from vendinghandler into separate file.
Diffstat (limited to 'src/net/eathena/vendingrecv.h')
-rw-r--r-- | src/net/eathena/vendingrecv.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/net/eathena/vendingrecv.h b/src/net/eathena/vendingrecv.h new file mode 100644 index 000000000..74c3f9c78 --- /dev/null +++ b/src/net/eathena/vendingrecv.h @@ -0,0 +1,47 @@ +/* + * The ManaPlus Client + * Copyright (C) 2011-2015 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_VENDINGRECV_H +#define NET_EATHENA_VENDINGRECV_H + +#include "net/vendinghandler.h" + +#include "net/eathena/messagehandler.h" + +class BuyDialog; + +namespace EAthena +{ + namespace VendingRecv + { + extern BuyDialog *mBuyDialog; + + void processOpenReq(Net::MessageIn &msg); + void processShowBoard(Net::MessageIn &msg); + void processHideBoard(Net::MessageIn &msg); + void processItemsList(Net::MessageIn &msg); + void processBuyAck(Net::MessageIn &msg); + void processOpen(Net::MessageIn &msg); + void processReport(Net::MessageIn &msg); + void processOpenStatus(Net::MessageIn &msg); + } // namespace VendingRecv +} // namespace EAthena + +#endif // NET_EATHENA_VENDINGRECV_H |