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

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);

Parameters

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

Description

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

Clone this wiki locally