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

ModIO.ModManager.FetchAuthenticatedUserMods

Jackson Wood edited this page Mar 25, 2019 · 1 revision

ModManager.FetchAuthenticatedUserMods

public static void FetchAuthenticatedUserMods(Action<List<ModProfile>> onSuccess, Action<WebRequestError> onError);

Parameters

Name Description
onSuccess Action to execute if the request succeeds
onError Action to execute if the request returns an error

Description

Fetches all mods associated with the authenticated user.

Primarily wraps APIClient.GetUserMods providing a convenient interface for fetching all of the mods associated with the authenticated user account, as it automatically fetches each page sequentially until all have been received.

See also: ModIO.APIClient.GetUserMods, ModIO.UserAuthenticationData

Clone this wiki locally