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

ModIO.ModManager.GetModInstallDirectory

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

ModManager.GetModInstallDirectory

public static string GetModInstallDirectory(int modId, int modfileId);

Parameters

Name Description
modId Mod identifier to use for install path generation
modfileId Modfile identifier to use for install path generation

Returns

string: The unique path of the directory for the given mod and modfile identifiers

Description

Generates the path for a given modfile install directory.

The mod io Unity Plugin extracts each mod to a unique folder based on the mod id and modfile id, that is determined by the return value of this function.

Clone this wiki locally