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
Subscriptions
turupawn edited this page Feb 6, 2019
·
10 revisions
subscribeToMod(mod_id:Int, callback:(response:Dynamic)):Void
Subscribe the authenticated user to a corresponding mod.
SDK documentation: modioSubscribeToMod
API documentation: Subscribe To Mod
Name | Type | Description |
---|---|---|
mod_id | Int |
Mod's unique identifier. |
callback | (response:Dynamic) |
Function called once the process finished. |
Name | Type | Description |
---|---|---|
response | Dynamic |
Response object |
unsubscribeFromMod(mod_id:Int, callback:(response:Dynamic)):Void
Unsubscribe the authenticated user from the corresponding mod.
SDK documentation: modioUnsubscribeFromMod
API documentation: Unsubscribe From Mod
Name | Type | Description |
---|---|---|
mod_id | Int |
Mod's unique identifier. |
callback | (response:Dynamic) |
Function called once the process finished. |
Name | Type | Description |
---|---|---|
response | Dynamic |
Response object |