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

ModIO.APIClient.GetGame

Jackson Wood edited this page Mar 6, 2019 · 11 revisions

APIClient.GetGame

public static void GetGame(Action<GameProfile> successCallback, Action<WebRequestError> errorCallback);

Parameters

Name Description
successCallback Action to execute if the request succeeds
errorCallback Action to execute if the request returns an error

Description

Fetches the game's/app's profile from the mod.io servers.

A successful request will return the GameProfile matching the id stored in ModIO.APIClient.gameId.

See also: docs.mod.io page

Clone this wiki locally