diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-25 13:30:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-25 13:30:49 +0300 |
commit | 0416def34b70d89754006fa96a49c1180b5bbacf (patch) | |
tree | 3fffff19b67739c21d100f2869c2636889597673 /src/net/eathena/homunculushandler.cpp | |
parent | 6fbd52540d4f2e94b4b8391110c83320557556eb (diff) | |
download | plus-0416def34b70d89754006fa96a49c1180b5bbacf.tar.gz plus-0416def34b70d89754006fa96a49c1180b5bbacf.tar.bz2 plus-0416def34b70d89754006fa96a49c1180b5bbacf.tar.xz plus-0416def34b70d89754006fa96a49c1180b5bbacf.zip |
eathena: add packet CMSG_HOMUNCULUS_SET_NAME 0x0231.
Diffstat (limited to 'src/net/eathena/homunculushandler.cpp')
-rw-r--r-- | src/net/eathena/homunculushandler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/homunculushandler.cpp b/src/net/eathena/homunculushandler.cpp index 8030bf4bb..567bad3e4 100644 --- a/src/net/eathena/homunculushandler.cpp +++ b/src/net/eathena/homunculushandler.cpp @@ -179,4 +179,10 @@ void HomunculusHandler::processHomunculusInfo(Net::MessageIn &msg) PlayerInfo::setHomunculusBeing(dstBeing); } +void HomunculusHandler::setName(const std::string &name) const +{ + createOutPacket(CMSG_HOMUNCULUS_SET_NAME); + outMsg.writeString(name, 24, "name"); +} + } // namespace EAthena |