Class Paths
Paths used by BepInEx
Syntax
public static class Paths
Properties
The directory that the core BepInEx DLLs reside in.
Declaration
public static string BepInExAssemblyDirectory { get; }
Property Value
Type | Description |
---|---|
System.String |
The path to the core BepInEx DLL.
Declaration
public static string BepInExAssemblyPath { get; }
Property Value
Type | Description |
---|---|
System.String |
The path to the global BepInEx configuration file.
Declaration
public static string BepInExConfigPath { get; }
Property Value
Type | Description |
---|---|
System.String |
The path to the main BepInEx folder.
Declaration
public static string BepInExRootPath { get; }
Property Value
Type | Description |
---|---|
System.String |
The path to temporary cache files.
Declaration
public static string CachePath { get; }
Property Value
Type | Description |
---|---|
System.String |
The path to the config directory.
Declaration
public static string ConfigPath { get; }
Property Value
Type | Description |
---|---|
System.String |
List of directories from where Mono will search assemblies before assembly resolving is invoked.
Declaration
public static string[] DllSearchPaths { get; }
Property Value
Type | Description |
---|---|
System.String[] |
The path of the currently executing program BepInEx is encapsulated in.
Declaration
public static string ExecutablePath { get; }
Property Value
Type | Description |
---|---|
System.String |
The directory that the currently executing process resides in.
On OSX however, this is the parent directory of the game.app folder.
Declaration
public static string GameRootPath { get; }
Property Value
Type | Description |
---|---|
System.String |
The path to the Managed folder of the currently running Unity game.
Declaration
public static string ManagedPath { get; }
Property Value
Type | Description |
---|---|
System.String |
The path to the patcher plugin folder which resides in the BepInEx folder.
Declaration
public static string PatcherPluginPath { get; }
Property Value
Type | Description |
---|---|
System.String |
The path to the plugin folder which resides in the BepInEx folder.
This is ONLY guaranteed to be set correctly when Chainloader has been initialized.
Declaration
public static string PluginPath { get; }
Property Value
Type | Description |
---|---|
System.String |
The name of the currently executing process.
Declaration
public static string ProcessName { get; }
Property Value
Type | Description |
---|---|
System.String |