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 Jul 31, 2018 · 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.

Clone this wiki locally