Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

ModIO.APIClient.GetAllModDependencies

Jackson Wood edited this page Mar 6, 2019 · 7 revisions

APIClient.GetAllModDependencies

public static void GetAllModDependencies(int modId, RequestFilter filter, APIPaginationParameters pagination, Action<RequestPage<ModDependency>> successCallback, Action<WebRequestError> errorCallback);

Parameters

Name Description
modId Mod to fetch dependencies for
filter The filter parameters to be applied to the request
pagination The pagination parameters to be applied to the request
successCallback Action to execute if the request succeeds
errorCallback Action to execute if the request returns an error

Description

Fetches all the dependencies for a mod.

NOTE: Because of the complexity of supporting nested dependencies, we recommend you treat dependencies as a recommendation for your players, and do not process dependencies automatically when installing a mod unless absolutely required. Successful request will return a RequestPage of Mod Dependencies Objects.

See also: docs.mod.io page, ModIO.API.GetAllModDependenciesFilterFields

Clone this wiki locally