EnvVars Class
Definition
Section titled “Definition”Doorstop environment variables, passed into the BepInEx preloader.
https://github.com/NeighTools/UnityDoorstop/wiki#environment-variables
public static class EnvVars
Inheritance object
Properties
Section titled “Properties”DOORSTOP_INVOKE_DLL_PATH
Section titled “DOORSTOP_INVOKE_DLL_PATH”Path to the assembly that was invoked via Doorstop. Contains the same value as in “targetAssembly” configuration option in the config file.
public static string DOORSTOP_INVOKE_DLL_PATH { get; }
DOORSTOP_MANAGED_FOLDER_DIR
Section titled “DOORSTOP_MANAGED_FOLDER_DIR”Full path to the game’s “Managed” folder that contains all the game’s managed assemblies
public static string DOORSTOP_MANAGED_FOLDER_DIR { get; }
DOORSTOP_PROCESS_PATH
Section titled “DOORSTOP_PROCESS_PATH”Full path to the game executable currently running.
public static string DOORSTOP_PROCESS_PATH { get; }
DOORSTOP_DLL_SEARCH_DIRS
Section titled “DOORSTOP_DLL_SEARCH_DIRS”Array of paths where Mono searches DLLs from before assembly resolvers are invoked.
public static string[] DOORSTOP_DLL_SEARCH_DIRS { get; }
DOORSTOP_MONO_LIB_PATH
Section titled “DOORSTOP_MONO_LIB_PATH”Path of the DLL that contains mono imports.
public static string DOORSTOP_MONO_LIB_PATH { get; }