This repository was archived by the owner on Sep 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
ModIO.ModManager.FetchModEvents
Jackson Wood edited this page Mar 25, 2019
·
2 revisions
ModManager.FetchModEvents
public static void FetchModEvents(IEnumerable<int> modIdFilter, int fromTimeStamp, int untilTimeStamp, Action<List<ModEvent>> onSuccess, Action<WebRequestError> onError);
Name | Description |
---|---|
modIdFilter | Filter of mod identifiers to include in the result |
fromTimeStamp | Start of the time period to filter by (exclusively) |
untilTimeStamp | End of the time period to filter by (inclusively) |
onSuccess | Action to execute if the request succeeds |
onError | Action to execute if the request returns an error |
Fetches all mod events for the given mod ids.
Primarily wraps APIClient.GetAllModEvents providing a convenient interface for fetching all of the results as it automatically fetches each page sequentially until all have been received.
See also: ModIO.APIClient.GetAllModEvents