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

Configuration (C compatible)

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

modioSetModEventsPollInterval

void modioSetModEventsPollInterval(u32 interval_in_seconds);

Wrapped by: Configuration#setmodeventspollinterval

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:

modioSetModEventsPollInterval(interval_in_seconds);

modioSetUserEventsPollInterval

void modioSetUserEventsPollInterval(u32 interval_in_seconds);

Wrapped by: Configuration#setusereventspollinterval

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:

modioSetUserEventsPollInterval(interval_in_seconds);

Contents

Clone this wiki locally