示例#1
0
 public static void RemoveAllInstalledMods()
 {
     if (IOUtilities.DeleteDirectory(ModManager.installationDirectory))
     {
         Debug.Log("[mod.io] Mod Installation Data removed.");
     }
 }
示例#2
0
 public static void ClearCache()
 {
     if (IOUtilities.DeleteDirectory(CacheClient.cacheDirectory))
     {
         Debug.Log("[mod.io] Cache Cleared.");
     }
 }
示例#3
0
        public static void ClearCachedModData()
        {
            string modDir = IOUtilities.CombinePath(CacheClient.cacheDirectory, "mods");

            if (IOUtilities.DeleteDirectory(modDir))
            {
                Debug.Log("[mod.io] Cached Mod Data Deleted.");
            }
        }
        public static void ClearCachedUserProfiles()
        {
            string usersDir = IOUtilities.CombinePath(CacheClient.cacheDirectory, "users");

            if (IOUtilities.DeleteDirectory(usersDir))
            {
                Debug.Log("[mod.io] Cached User Profiles Deleted.");
            }
        }