-
Notifications
You must be signed in to change notification settings - Fork 0
agreements
YYBartT edited this page Jun 16, 2023
·
2 revisions
This module offers a collection of functions designed to address specific tasks and provide utilities for various purposes. Explore the available functions to make the most of the functionalities provided by this module.
mod.io Endpoint: Get Current Agreement
This function gets the current agreement version by type. A successful request will return a single AgreementVersion struct.
Syntax:
modio_agreements_get(_agreement_type_id, _callback_success, _callback_failed)
Argument | Type | Description |
---|---|---|
_agreement_type_id | Real | Valid agreement types are: 1 = Terms of Use - https://mod.io/terms 2 = Privacy Policy - https://mod.io/privacy 3 = Game Terms - https://mod.io/gameterms 4 = API Access Terms - https://mod.io/apiterms 5 = Monetisation Terms - https://mod.io/monetisationterms 6 = Acceptable Use Policy - https://mod.io/aup |
_callback_success | Function or Method | The function to trigger when the request is successful. |
_callback_failed | Function or Method | The function to trigger when the request failed. |
Returns:
mod.io Endpoint: Get Agreement Version
This function gets the specified agreement version. A successful request will return a AgreementVersion struct.
Syntax:
modio_agreements_version(_version, _callback_success, _callback_failed)
Argument | Type | Description |
---|---|---|
_version | Real | The version to get |
_callback_success | Function or Method | The function to trigger when the request is successful. |
_callback_failed | Function or Method | The function to trigger when the request failed. |
Returns:
GameMaker 2023