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

ModIO.CacheClient

Jackson Wood edited this page Mar 6, 2019 · 10 revisions

CacheClient

static class in ModIO

Description

An interface for storing/loading data retrieved for the mod.io servers on disk.

Static Properties

Name Description
cacheDirectory Directory that the CacheClient uses to store data.
gameProfileFilePath File path for the game profile data.

Static Methods

Name Description
SaveGameProfile Stores the game's profile in the cache.
LoadGameProfile Retrieves the game's profile from the cache.
GenerateModDirectoryPath Generates the path for a mod cache directory.
GenerateModProfileFilePath Generates the file path for a mod's profile data.
SaveModProfile Stores a mod's profile in the cache.
LoadModProfile Retrieves a mod's profile from the cache.
SaveModProfiles Stores a collection of mod profiles in the cache.
IterateAllModProfiles Iterates through all of the mod profiles in the cache.
IterateAllModProfilesFromOffset Iterates through all of the mod profiles from the given offset.
CountModProfiles Determines how many ModProfiles are currently stored in the cache.
DeleteMod Deletes all of a mod's data from the cache.
GenerateModStatisticsFilePath
SaveModStatistics
LoadModStatistics
GenerateModBinariesDirectoryPath Generates the path for a cached mod build directory.
GenerateModfileFilePath Generates the file path for a modfile.
GenerateModBinaryZipFilePath Generates the file path for a mod binary.
SaveModfile Stores a modfile in the cache.
LoadModfile Retrieves a modfile from the cache.
SaveModBinaryZip Stores a mod binary's ZipFile data in the cache.
LoadModBinaryZip Retrieves a mod binary's ZipFile data from the cache.
DeleteModfileAndBinaryZip Deletes a modfile and binary from the cache.
DeleteAllModfileAndBinaryData Deletes all modfiles and binaries from the cache.
GenerateModLogoCollectionDirectoryPath Generates the directory path for a mod logo collection.
GenerateModLogoFilePath Generates the file path for a mod logo.
GenerateModLogoVersionInfoFilePath Generates the file path for a mod logo's cached version information.
GenerateModMediaDirectoryPath Generates the directory path for the cached mod media.
GenerateModGalleryImageFilePath Generates the file path for a mod galley image.
GenerateModYouTubeThumbnailFilePath Generates the file path for a YouTube thumbnail.
LoadModLogoFilePaths [Obsolete] Retrieves the file paths for the mod logos in the cache.
GetModLogoVersionFileNames Retrieves the file paths for the mod logos in the cache.
SaveModLogo Stores a mod logo in the cache with the given fileName.
LoadModLogo Retrieves a mod logo from the cache.
LoadModLogo Retrieves a mod logo from the cache if it matches the given fileName.
GetModLogoFileName Retrieves the information for the cached mod logos.
SaveModGalleryImage Stores a mod gallery image in the cache.
LoadModGalleryImage Retrieves a mod gallery image from the cache.
SaveModYouTubeThumbnail Stores a YouTube thumbnail in the cache.
LoadModYouTubeThumbnail Retrieves a YouTube thumbnail from the cache.
GenerateModTeamFilePath Generates the file path for a mod team's data.
SaveModTeam Stores a mod team's data in the cache.
LoadModTeam Retrieves a mod team's data from the cache.
DeleteModTeam Deletes a mod team's data from the cache.
GenerateUserProfileFilePath Generates the file path for a user's profile.
GenerateUserAvatarDirectoryPath Generates the file path for a user's profile.
GenerateUserAvatarFilePath Generates the file path for a user's profile.
SaveUserProfile Stores a user's profile in the cache.
LoadUserProfile Retrieves a user's profile from the cache.
DeleteUserProfile Deletes a user's profile from the cache.
IterateAllUserProfiles Iterates through all the user profiles in the cache.
SaveUserAvatar Stores a user's avatar in the cache.
LoadUserAvatar Retrieves a user's avatar from the cache.
DeleteUserAvatar Delete's a user's avatars from the cache.
Clone this wiki locally