diff options
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 |