Beispiel #1
0
        private User FindUser(int id)
        {
            if (selfUser.ID == id)
            {
                return(selfUser);
            }

            var user = userList.Find((tempUser) => tempUser.ID == id);

            return(user);
        }
Beispiel #2
0
        private UserPlayState FindUserPlayState(int id)
        {
            if (selfPlayState.User.ID == id)
            {
                return(selfPlayState);
            }

            var userPlayState = userPlayStateList.Find((temp) => temp.User.ID == id);

            return(userPlayState);
        }
Beispiel #3
0
        User FindUser(int id)
        {
            var user = userList.Find((tempUser) => tempUser.ID == id);

            return(user);
        }