diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-11 21:21:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-11 21:21:44 +0300 |
commit | 8b3c8b59e29dec385efc29c11d2917416ca66d04 (patch) | |
tree | 609b6a71023c003ae47d8d083feca25a4c19bab4 /src/net/eathena/familyhandler.cpp | |
parent | 720435e4d3d92626b4057061492bd20cc292e466 (diff) | |
download | manaverse-8b3c8b59e29dec385efc29c11d2917416ca66d04.tar.gz manaverse-8b3c8b59e29dec385efc29c11d2917416ca66d04.tar.bz2 manaverse-8b3c8b59e29dec385efc29c11d2917416ca66d04.tar.xz manaverse-8b3c8b59e29dec385efc29c11d2917416ca66d04.zip |
eathena: add partial support for packet SMSG_FAMILY_ASK_FOR_CHILD_REPLY 0x0216.
Diffstat (limited to 'src/net/eathena/familyhandler.cpp')
-rw-r--r-- | src/net/eathena/familyhandler.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/net/eathena/familyhandler.cpp b/src/net/eathena/familyhandler.cpp index a3ac3c7f5..5b482639f 100644 --- a/src/net/eathena/familyhandler.cpp +++ b/src/net/eathena/familyhandler.cpp @@ -48,6 +48,7 @@ FamilyHandler::FamilyHandler() : SMSG_FAMILY_ASK_FOR_CHILD, SMSG_FAMILY_CALL_PARTNER, SMSG_FAMILY_DIVORCED, + SMSG_FAMILY_ASK_FOR_CHILD_REPLY, 0 }; handledMessages = _messages; @@ -70,6 +71,10 @@ void FamilyHandler::handleMessage(Net::MessageIn &msg) processDivorced(msg); break; + case SMSG_FAMILY_ASK_FOR_CHILD_REPLY: + processAskForChildReply(msg); + break; + default: break; } @@ -112,4 +117,10 @@ void FamilyHandler::processDivorced(Net::MessageIn &msg) msg.readString(24, "name"); } +void FamilyHandler::processAskForChildReply(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readInt32("type"); +} + } // namespace EAthena |