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

Configuration

Ahmed Castro edited this page Oct 21, 2019 · 1 revision

setModEventsPollInterval

void instance::setModEventsPollInterval(u32 interval_in_seconds);

Mod events triggers automatic updates to local mod profile data and modfiles. By default, it occurs every 30s, but you can override that interval using this function.

Example:

modio_instance.setModEventsPollInterval(interval_in_seconds);

setUserEventsPollInterval

void instance::setUserEventsPollInterval(u32 interval_in_seconds);

User events triggers automatic installs and uninstalls when a user subscribes. By default, it occurs every 15s, but you can override that interval using this function.

Example:

modio_instance.setUserEventsPollInterval(interval_in_seconds);

Contents

Clone this wiki locally