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 GetModfile(int modId, int modfileId, Action<Modfile> onSuccess, Action<WebRequestError> onError);
Parameters
Name
Description
modId
Mod identifier for the modfile
modfileId
Identifier for the modfile
onSuccess
Action to execute if the request succeeds
onError
Action to execute if the request returns an error
Description
Fetches and caches a Modfile (if not already cached).
As with all similar ModManager functions, this checks the cache for the Modfile, and if not found, fetches it from the server and stores it in the cache. As such, there is the potential for the data returned by this function to be obsolete.