summaryrefslogtreecommitdiff
path: root/src/net/eathena/playerhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/playerhandler.cpp')
-rw-r--r--src/net/eathena/playerhandler.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index a70d130cf..e8cfe7374 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -812,6 +812,14 @@ void PlayerHandler::selectStyle(const int headColor,
outMsg.writeInt16(CAST_S16(bodyStyle), "body style");
}
+void PlayerHandler::setTitle(const int titleId) const
+{
+ if (packetVersion < 20140903)
+ return;
+ createOutPacket(CMSG_PLAYER_SET_TITLE);
+ outMsg.writeInt32(titleId, "title");
+}
+
#undef setStatComplex
} // namespace EAthena