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

ModIO.ModManager

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

ModManager

static class in ModIO

Constant Properties

Name Description
VERSION Current version of the ModManager/Plugin.
PERSISTENTDATA_FILEPATH File path used to store the persistent data.
PERSISTENTDATA_FILENAME File name used to store the persistent data.

Static Properties

Name Description
installationDirectory Install directory used by the ModManager.

Static Methods

Name Description
GetSubscribedModIds Returns the subscribed mods.
SetSubscribedModIds Sets the subscribed mods and writes the data to disk.
GetEnabledModIds Returns the enabled mods.
SetEnabledModIds Sets the enabled mods and writes the data to disk.
GetModInstallDirectory Generates the path for a given modfile install directory.
TryInstallMod Extracts a mod archive to the installs folder and removes other installed versions.
TryUninstallAllModVersions Removes all versions of a mod from the installs folder.
TryUninstallModVersion Removes a specific version of a mod from the installs folder.
GetInstalledModDirectories Returns all of the mod directories of installed mods.
GetInstalledModVersions Returns all of the mod version info of installed mods.
IterateInstalledMods Returns the data of all the mods installed.
UpdateAllInstalledMods_Coroutine Downloads and installs any new mods binaries.
GetGameProfile Fetches and caches the Game Profile (if not already cached).
GetModProfile Fetches and caches a Mod Profile (if not already cached).
GetModProfiles Fetches and caches Mod Profiles (if not already cached).
GetModLogo Fetches and caches a Mod Logo (if not already cached).
GetModLogo Fetches and caches a Mod Logo (if not already cached).
GetModGalleryImage Fetches and caches a Mod Gallery Image (if not already cached).
GetModGalleryImage Fetches and caches a Mod Gallery Image (if not already cached).
GetModYouTubeThumbnail Fetches and caches a Mod YouTube Thumbnail (if not already cached).
GetModfile Fetches and caches a Modfile (if not already cached).
GetModStatistics Fetches and caches a Mod's Statistics (if not already cached or if expired).
GetUserProfile Fetches and caches a User Profile (if not already cached).
GetUserAvatar Fetches and caches a User Avatar (if not already cached).
GetUserAvatar Fetches and caches a User Avatar (if not already cached).
FetchAllModEvents Fetches all mod events for the game.
FetchModEvents Fetches all mod events for the given mod ids.
FetchAllUserEvents Fetches all user events for the authenticated user.
SubmitNewMod Submits a new mod to the server.
SubmitModChanges Submits changes to a mod to the server.
UploadModBinaryDirectory Zips and uploads a mod data directory as a new build to the servers.
UploadModBinary_Unzipped Zips and uploads a mod data file as a new build to the servers.
UploadModBinary_Zipped Uploads a zipped mod binary as a new build to the servers.
GetAuthenticatedUserProfile Fetches and caches the User Profile for the values in UserAuthenticationData.
FetchAuthenticatedUserMods Fetches all mods associated with the authenticated user.
Clone this wiki locally