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.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index c86eb5c28..e22ca822b 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -789,6 +789,24 @@ void PlayerHandler::setStat(Net::MessageIn &msg,
}
}
+void PlayerHandler::selectStyle(const int headColor,
+ const int headStyle,
+ const int bodyColor,
+ const int topStyle,
+ const int middleStyle,
+ const int bottomStyle) const
+{
+ if (packetVersion < 20151104)
+ return;
+ createOutPacket(CMSG_PLAYER_SELECT_STYLE);
+ outMsg.writeInt16(headColor, "head color");
+ outMsg.writeInt16(headStyle, "head style");
+ outMsg.writeInt16(bodyColor, "body color");
+ outMsg.writeInt16(topStyle, "top style");
+ outMsg.writeInt16(middleStyle, "middle style");
+ outMsg.writeInt16(bottomStyle, "bottom style");
+}
+
#undef setStatComplex
} // namespace EAthena