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

ModIO.APIClient.AddModfile

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

APIClient.AddModfile

public static void AddModfile(int modId, AddModfileParameters parameters, Action<Modfile> successCallback, Action<WebRequestError> errorCallback);

Parameters

Name Description
modId Destination mod for the new modfile
parameters The values to be uploaded with to the new modfile
successCallback Action to execute if the request succeeds
errorCallback Action to execute if the request returns an error

Description

Submits a new modfile and binary to the mod.io servers.

Successful requests will return the newly created Modfile. It is recommended that an upload tool check mods are stable and free from any critical issues.

See also: docs.mod.io page

Clone this wiki locally