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

ModIO.ModManager.FetchAllModEvents

Jackson Wood edited this page Mar 25, 2019 · 5 revisions

ModManager.FetchAllModEvents

public static void FetchAllModEvents(int fromTimeStamp, int untilTimeStamp, Action<List<ModEvent>> onSuccess, Action<WebRequestError> onError);

Parameters

Name Description
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

Description

Fetches all mod events for the game.

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

Clone this wiki locally