Exemplo n.º 1
0
        private void OnLoginOkMessageReceived(LoginOkMessage message)
        {
            this.m_serverConnection.SetState(ServerConnectionState.LOGGED);
            this.m_serverConnection.SetAccountInfo(message.GetAccountId(), message.GetPassToken());

            Debugger.Print(string.Format("MessageManager.onLoginOkMessageReceived: client logged (account: {0} passtoken: {1} server version: {2}", message.GetAccountId(), message.GetPassToken(),
                                         message.GetServerMajorVersion() + "." + message.GetServerBuildVersion() + "." + message.GetContentVersion()));
        }