This repository was archived by the owner on Sep 21, 2022. It is now read-only.
-
Couldn't load subscription status.
- Fork 16
ModIO.APIClient.AddModDependencies
Jackson Wood edited this page Mar 6, 2019
·
7 revisions
APIClient.AddModDependencies
public static void AddModDependencies(int modId, AddModDependenciesParameters parameters, Action<APIMessage> successCallback, Action<WebRequestError> errorCallback);
| Name | Description |
|---|---|
| modId | Mod to add dependencies to |
| parameters | Dependency data to add |
| successCallback | Action to execute if the request succeeds |
| errorCallback | Action to execute if the request returns an error |
Submits new dependencides 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 an APIMessage.
See also: docs.mod.io page