diff options
Diffstat (limited to 'src/net/eathena/pethandler.cpp')
-rw-r--r-- | src/net/eathena/pethandler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/pethandler.cpp b/src/net/eathena/pethandler.cpp index 60ec03cd2..bf453055e 100644 --- a/src/net/eathena/pethandler.cpp +++ b/src/net/eathena/pethandler.cpp @@ -101,6 +101,12 @@ void PetHandler::requestPetState(const int data) const outMsg.writeInt32(data, "param"); } +void PetHandler::setName(const std::string &name) const +{ + MessageOut outMsg(CMSG_PET_SET_NAME); + outMsg.writeString(name, 24, "name"); +} + void PetHandler::processPetMessage(Net::MessageIn &msg) { msg.readInt32("pet id"); |