-
Notifications
You must be signed in to change notification settings - Fork 0
general
Francisco Dias edited this page Dec 18, 2024
·
3 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 Resource Owner
This function gets the user that is the original submitter of a resource. A successful request will return a single User struct.
Note
Mods and games can be managed by teams of users, for the most accurate information you should use the Teams endpoints.
Syntax:
modio_general_get_resource_owner(_resource_type, _resource_id, _callback_success, _callback_failed)
Argument | Type | Description |
---|---|---|
_resource_type | String | Type of resource you are checking the ownership of. Must be one of the following values: "games", "mods" and "files" |
_resource_id | Real | Unique id of the resource you are checking the ownership of. |
_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 2024