diff options
Diffstat (limited to 'src/game-server/accountconnection.cpp')
-rw-r--r-- | src/game-server/accountconnection.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game-server/accountconnection.cpp b/src/game-server/accountconnection.cpp index d681cb64..a5c7bddd 100644 --- a/src/game-server/accountconnection.cpp +++ b/src/game-server/accountconnection.cpp @@ -98,3 +98,13 @@ void AccountConnection::processMessage(MessageIn &msg) break; } } + +void AccountConnection::playerReconnectAccount(int id, const std::string magic_token) +{ + LOG_INFO("Send GAMSG_PLAYER_RECONNECT."); + MessageOut msg(GAMSG_PLAYER_RECONNECT); + msg.writeLong(id); + msg.writeString(magic_token); + send(msg); + +} |