示例#1
0
        /// <summary>
        /// Requests remote information about a mod.
        /// </summary>
        /// <param name="url">The url to the mod page. Example: "https://www.nexusmods.com/fallout76/mods/419?tab=files"</param>
        public static void RequestModInformation(string url)
        {
            NMMod mod = new NMMod(url);

            mod.RequestInformation();
            Mods[mod.ID] = mod;
        }
示例#2
0
        /// <summary>
        /// Requests remote information about a mod.
        /// </summary>
        public static NMMod RequestModInformation(int modId)
        {
            NMMod mod = new NMMod(modId);

            mod.RequestInformation();
            Mods[mod.ID] = mod;
            return(mod);
        }
示例#3
0
        /// <summary>
        /// Requests remote information about a mod.
        /// </summary>
        /// <param name="url">The url to the mod page. Example: "https://www.nexusmods.com/fallout76/mods/419?tab=files"</param>
        public static NMMod RequestModInformation(string url)
        {
            NMMod mod = new NMMod(url);

            mod.RequestInformation();
            Mods[mod.ID] = mod;
            return(mod);
        }