This repository has been archived by the owner on Sep 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Uploads
turupawn edited this page Feb 6, 2019
·
9 revisions
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
Name | Type | Description |
---|---|---|
callback | (response_code:Int, mod_id:Int) |
Function to be called every time a modfile upload finishes. |
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():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