This repository was archived by the owner on Sep 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
ModIO.APIClient.EditModfile
Jackson Wood edited this page Mar 6, 2019
·
12 revisions
APIClient.EditModfile
public static void EditModfile(int modId, int modfileId, EditModfileParameters parameters, Action<Modfile> successCallback, Action<WebRequestError> errorCallback);
| Name | Description |
|---|---|
| modId | Mod that the modfile belongs to |
| modfileId | Modfile that will receive the updated values |
| parameters | The values to be updated |
| successCallback | Action to execute if the request succeeds |
| errorCallback | Action to execute if the request returns an error |
Submits changes to an existing modfile.
This function is only able to update the parameters found in the EditModfileParameters class. To update a binary, submitting a new modfile is necessary. A successful request will return the updated Modfile.
See also: docs.mod.io page