diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-04-08 20:52:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-04-08 20:52:53 +0300 |
commit | c6ae5185f29076ec4d31b37d84619a261a8a63c8 (patch) | |
tree | 14a1720841e6c41a788eb798414cf2bcba2a9cb1 /src/net/eathena/playerhandler.cpp | |
parent | b6043379e6b8035a7e494c5c9045c4785329d63a (diff) | |
download | mv-c6ae5185f29076ec4d31b37d84619a261a8a63c8.tar.gz mv-c6ae5185f29076ec4d31b37d84619a261a8a63c8.tar.bz2 mv-c6ae5185f29076ec4d31b37d84619a261a8a63c8.tar.xz mv-c6ae5185f29076ec4d31b37d84619a261a8a63c8.zip |
Add packet CMSG_PLAYER_STYLE_CLOSE 0x0a48
Diffstat (limited to 'src/net/eathena/playerhandler.cpp')
-rw-r--r-- | src/net/eathena/playerhandler.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp index 19146a836..cefbcf285 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -836,6 +836,13 @@ void PlayerHandler::setTitle(const int titleId) const outMsg.writeInt32(titleId, "title"); } +void PlayerHandler::closeStyleWindow() const +{ + if (packetVersion < 20151104) + return; + createOutPacket(CMSG_PLAYER_STYLE_CLOSE); +} + #undef setStatComplex } // namespace EAthena |