summaryrefslogtreecommitdiff
path: root/src/net/eathena/familyhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/familyhandler.cpp')
-rw-r--r--src/net/eathena/familyhandler.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/net/eathena/familyhandler.cpp b/src/net/eathena/familyhandler.cpp
index 76b31ba3d..3c5892aa1 100644
--- a/src/net/eathena/familyhandler.cpp
+++ b/src/net/eathena/familyhandler.cpp
@@ -22,6 +22,8 @@
#include "logger.h"
+#include "being/being.h"
+
#include "net/ea/eaprotocol.h"
#include "net/eathena/messageout.h"
@@ -54,4 +56,13 @@ void FamilyHandler::handleMessage(Net::MessageIn &msg)
}
}
+void FamilyHandler::askForChild(const Being *const being)
+{
+ if (!being)
+ return;
+
+ MessageOut outMsg(CMSG_ASK_FOR_CHILD);
+ outMsg.writeInt32(being->getId());
+}
+
} // namespace EAthena