diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-07 21:32:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-07 21:32:06 +0300 |
commit | d91a8fd5d574454265c9a6088f7aa089d7905ba0 (patch) | |
tree | 9d4398e2dfad3b17c2d80e078f58293afe6d8698 /src/net/eathena/familyhandler.cpp | |
parent | c277f3e829217cd7469a4a5c742ef617a57e8e3f (diff) | |
download | manaverse-d91a8fd5d574454265c9a6088f7aa089d7905ba0.tar.gz manaverse-d91a8fd5d574454265c9a6088f7aa089d7905ba0.tar.bz2 manaverse-d91a8fd5d574454265c9a6088f7aa089d7905ba0.tar.xz manaverse-d91a8fd5d574454265c9a6088f7aa089d7905ba0.zip |
eathena: add partial support for packet SMSG_FAMILY_DIVORCED 0x0205.
Diffstat (limited to 'src/net/eathena/familyhandler.cpp')
-rw-r--r-- | src/net/eathena/familyhandler.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/net/eathena/familyhandler.cpp b/src/net/eathena/familyhandler.cpp index d32ce8409..950762573 100644 --- a/src/net/eathena/familyhandler.cpp +++ b/src/net/eathena/familyhandler.cpp @@ -41,6 +41,7 @@ FamilyHandler::FamilyHandler() : { SMSG_FAMILY_ASK_FOR_CHILD, SMSG_FAMILY_CALL_PARTNER, + SMSG_FAMILY_DIVORCED, 0 }; handledMessages = _messages; @@ -59,6 +60,10 @@ void FamilyHandler::handleMessage(Net::MessageIn &msg) processCallPartner(msg); break; + case SMSG_FAMILY_DIVORCED: + processDivorced(msg); + break; + default: break; } @@ -93,4 +98,9 @@ void FamilyHandler::askForChildReply(const bool accept) outMsg.writeInt32(accept ? 0: 1, "result"); } +void FamilyHandler::processDivorced(Net::MessageIn &msg) +{ + msg.readString(24, "name"); +} + } // namespace EAthena |