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

Uploads

turupawn edited this page Feb 6, 2019 · 9 revisions

setUploadListener

setUploadListener(callback:(response_code:Int, mod_id:Int)):Void

Registers a function to be called every time a modfile upload finishes.

SDK documentation: modioSetUploadListener

API documentation: n/a

Function parameters

Name Type Description
callback (response_code:Int, mod_id:Int) Function to be called every time a modfile upload finishes.

Callback parameters

Name Type Description
response_code Int Response Code returned from the mod.io API.
mod_id Int Id of the mod that was just uploaded.

getModfileUploadQueue

getModfileUploadQueue():Array<Dynamic>

Returns an array of QueuedModfileUpload object which represents the mods that are currently queued to be uploaded.

SDK documentation: modioGetModUploadQueueCount and modioGetModfileUploadQueue

API documentation: n/a

Clone this wiki locally