Exemplo n.º 1
0
        private void OnUserLoggedIn(User user)
        {
            User = user;
            LoginSuccess success = new LoginSuccess();

            success.Users = server.ConnectedUsers();

            Send(MessageProtocols.LoginSuccess, success);
            //TODO Tell other clients another user has logged in
        }