Skip to content

BepInProcess Class

This attribute specifies which processes this plugin should be run for. Not specifying this attribute will load the plugin under every process.

C#
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class BepInProcess : Attribute

Inheritance objectAttribute

C#
public BepInProcess(string ProcessName)

ProcessName string
The name of the process that this plugin will run under.

The name of the process that this plugin will run under.

C#
public string ProcessName { get; protected set; }