diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-26 02:24:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-26 02:24:11 +0300 |
commit | 9eea292d5035c8a592ba8b69b1a1c3f78cd08406 (patch) | |
tree | aa344d62a105c1a459caf78c41a779ca0d000e4d /src/net/eathena/familyrecv.h | |
parent | 424023ca450e6f44d4d66468c1c3e3b551d9200c (diff) | |
download | manaplus-9eea292d5035c8a592ba8b69b1a1c3f78cd08406.tar.gz manaplus-9eea292d5035c8a592ba8b69b1a1c3f78cd08406.tar.bz2 manaplus-9eea292d5035c8a592ba8b69b1a1c3f78cd08406.tar.xz manaplus-9eea292d5035c8a592ba8b69b1a1c3f78cd08406.zip |
Move receive code from familyhandler into separate file.
Diffstat (limited to 'src/net/eathena/familyrecv.h')
-rw-r--r-- | src/net/eathena/familyrecv.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/src/net/eathena/familyrecv.h b/src/net/eathena/familyrecv.h new file mode 100644 index 000000000..e1f5560e7 --- /dev/null +++ b/src/net/eathena/familyrecv.h @@ -0,0 +1,45 @@ +/* + * 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_FAMILYRECV_H +#define NET_EATHENA_FAMILYRECV_H + +#ifdef EATHENA_SUPPORT + +#include "net/familyhandler.h" + +#include "net/eathena/messagehandler.h" + +namespace EAthena +{ + namespace FamilyRecv + { + extern int mParent1; + extern int mParent2; + + void processAskForChild(Net::MessageIn &msg); + void processCallPartner(Net::MessageIn &msg); + void processDivorced(Net::MessageIn &msg); + void processAskForChildReply(Net::MessageIn &msg); + } // namespace FamilyRecv +} // namespace EAthena + +#endif // EATHENA_SUPPORT +#endif // NET_EATHENA_FAMILYRECV_H |