public static void DeleteMod(int modId) { string modDir = CacheClient.GenerateModDirectoryPath(modId); CacheClient.DeleteDirectory(modDir); }