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

Subscriptions

turupawn edited this page Feb 6, 2019 · 10 revisions

subscribeToMod

subscribeToMod(mod_id:Int, callback:(response:Dynamic)):Void

Subscribe the authenticated user to a corresponding mod.

SDK documentation: modioSubscribeToMod

API documentation: Subscribe To Mod

Function parameters

Name Type Description
mod_id Int Mod's unique identifier.
callback (response:Dynamic) Function called once the process finished.

Callback parameters

Name Type Description
response Dynamic Response object

unsubscribeFromMod

unsubscribeFromMod(mod_id:Int, callback:(response:Dynamic)):Void

Unsubscribe the authenticated user from the corresponding mod.

SDK documentation: modioUnsubscribeFromMod

API documentation: Unsubscribe From Mod

Function parameters

Name Type Description
mod_id Int Mod's unique identifier.
callback (response:Dynamic) Function called once the process finished.

Callback parameters

Name Type Description
response Dynamic Response object
Clone this wiki locally