Table of Contents

Class PluginDeclaration

Namespace
Valheim.Testing.Game
Assembly
Valheim.Testing.Game.dll

A BepInEx plugin as its assembly declares it: [BepInPlugin] and the attributes BepInEx reads beside it.

public sealed record PluginDeclaration
Inheritance
object
PluginDeclaration

Constructors

PluginDeclaration(string, string, string, string, IReadOnlyList<PluginDependency>, IReadOnlyList<string>, IReadOnlyList<string>)

A BepInEx plugin as its assembly declares it: [BepInPlugin] and the attributes BepInEx reads beside it.

public PluginDeclaration(string Guid, string Name, string Version, string Type, IReadOnlyList<PluginDependency> Dependencies, IReadOnlyList<string> Incompatibilities, IReadOnlyList<string> Processes)

Parameters

Guid string
Name string
Version string
Type string

The plugin class's full name.

Dependencies IReadOnlyList<PluginDependency>
Incompatibilities IReadOnlyList<string>
Processes IReadOnlyList<string>

The [BepInProcess] filters; empty loads in every process.

Properties

Dependencies

public IReadOnlyList<PluginDependency> Dependencies { get; init; }

Property Value

IReadOnlyList<PluginDependency>

Guid

public string Guid { get; init; }

Property Value

string

Incompatibilities

public IReadOnlyList<string> Incompatibilities { get; init; }

Property Value

IReadOnlyList<string>

Name

public string Name { get; init; }

Property Value

string

Processes

The [BepInProcess] filters; empty loads in every process.

public IReadOnlyList<string> Processes { get; init; }

Property Value

IReadOnlyList<string>

Type

The plugin class's full name.

public string Type { get; init; }

Property Value

string

Version

public string Version { get; init; }

Property Value

string