You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.
public static void SubscribeToMod(int modId, Action<ModProfile> successCallback, Action<WebRequestError> errorCallback);
Parameters
Name
Description
modId
Mod to be subscribed to
successCallback
Action to execute if the request succeeds
errorCallback
Action to execute if the request returns an error
Description
Subscribes the authenticated user to a mod.
A successful request will return the ModProfile of the newly subscribed mod. As users can subscribe to mods via the mod.io web interface it is recommended that any cached records are updated via ModIO.APIClient.GetUserEvents.