Esempio n. 1
0
        /// <summary>
        /// Get all mod stats for mods of the corresponding game.
        /// </summary>
        public SearchClient <Statistics> GetStatistics(Filter?filter = null)
        {
            var route = Routes.GetAllModStats(GameId);

            return(new SearchClient <Statistics>(Connection, route, filter));
        }
Esempio n. 2
0
        /// <summary>
        /// Get all mods for the corresponding game.
        /// </summary>
        public SearchClient <Mod> Search(Filter?filter = null)
        {
            var route = Routes.GetMods(GameId);

            return(new SearchClient <Mod>(Connection, route, filter));
        }
Esempio n. 3
0
        /// <summary>
        /// Get all mods events for the corresponding game sorted by latest event first.
        /// </summary>
        public SearchClient <ModEvent> GetEvents(Filter?filter = null)
        {
            var route = Routes.GetAllModEvents(GameId);

            return(new SearchClient <ModEvent>(Connection, route, filter));
        }
Esempio n. 4
0
        /// <summary>
        /// Get all mod rating's submitted by the authenticated user.
        /// </summary>
        public SearchClient <Rating> GetRatings(Filter?filter = null)
        {
            var route = Routes.UserRatings();

            return(new SearchClient <Rating>(Connection, route, filter));
        }
Esempio n. 5
0
        /// <summary>
        /// Get all modfiles the authenticated user uploaded.
        /// </summary>
        public SearchClient <File> GetFiles(Filter?filter = null)
        {
            var route = Routes.UserFiles();

            return(new SearchClient <File>(Connection, route, filter));
        }
Esempio n. 6
0
        /// <summary>
        /// Get all mods the authenticated user added or is a team member of.
        /// </summary>
        public SearchClient <Mod> GetMods(Filter?filter = null)
        {
            var route = Routes.UserMods();

            return(new SearchClient <Mod>(Connection, route, filter));
        }
Esempio n. 7
0
        /// <summary>
        /// Get events that have been fired specific to the user.
        /// </summary>
        public SearchClient <UserEvent> GetEvents(Filter?filter = null)
        {
            var route = Routes.UserEvents();

            return(new SearchClient <UserEvent>(Connection, route, filter));
        }
Esempio n. 8
0
        /// <summary>
        /// Get all files that are published for the corresponding mod.
        /// </summary>
        public SearchClient <File> Search(Filter?filter = null)
        {
            var route = Routes.GetFiles(GameId, ModId);

            return(new SearchClient <File>(Connection, route, filter));
        }