ActivEarth.Server.Service.Competition.ChallengeManager.IsComplete C# (CSharp) Method

IsComplete() public static method

Returns true if the user has met the requirements to complete the challenge, false otherwise.
public static IsComplete ( int challengeId, int userId ) : bool
challengeId int Challenge to test for completion.
userId int User to evaluate.
return bool
        public static bool IsComplete(int challengeId, int userId)
        {
            return (ChallengeManager.GetProgress(challengeId, userId) == 100);
        }