This repository has been archived by the owner on Sep 21, 2022. It is now read-only.
ModIO.APIClient.EditGame
Jackson Wood edited this page Mar 6, 2019
·
11 revisions
APIClient.EditGame
public static void EditGame(EditGameParameters parameters, Action<GameProfile> successCallback, Action<WebRequestError> errorCallback);
Name | Description |
---|---|
parameters | Updated values for the game profile |
successCallback | Action to execute if the request succeeds |
errorCallback | Action to execute if the request returns an error |
Updates the game's profile on the mod.io servers.
Updates the game profile for the game id stored in ModIO.APIClient.gameId. This function only supports the game profile fields listed in the EditGameParameters class. To update the icon, logo, or header fields use AddGameMedia. A successful request will return the updated GameProfile.
NOTE: You can also edit a game profile directly via the mod.io web interface. This is the recommended approach.
See also: docs.mod.io page