diff options
Diffstat (limited to 'src/net/gameserver/gameserver.cpp')
-rw-r--r-- | src/net/gameserver/gameserver.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/gameserver/gameserver.cpp b/src/net/gameserver/gameserver.cpp index 04e5bb08..8f8ad8ac 100644 --- a/src/net/gameserver/gameserver.cpp +++ b/src/net/gameserver/gameserver.cpp @@ -40,3 +40,12 @@ void Net::GameServer::connect(Net::Connection *connection, Net::GameServer::connection->send(msg); } + +void Net::GameServer::logout(bool reconnectAccount) +{ + MessageOut msg(PGMSG_DISCONNECT); + + msg.writeByte((unsigned char) reconnectAccount); + + Net::GameServer::connection->send(msg); +} |