ActivEarth.DAO.ChallengeDAO.GetActiveDailyChallenges C# (CSharp) Method

GetActiveDailyChallenges() public static method

Retrieves all currently active daily challenges.
public static GetActiveDailyChallenges ( int userId ) : List
userId int Optional. UserID to load challenge progress from.
return List
        public static List<Challenge> GetActiveDailyChallenges(int userId = 0)
        {
            return GetActiveChallengesByDuration(1, userId);
        }