Table of Contents

Property OptionalDependencies

Namespace
Anvil.Plugins
Assembly
NWN.Anvil.dll

OptionalDependencies

A list of optional plugin dependencies.

public string[] OptionalDependencies { get; init; }

Property Value

string[]

Remarks

By default, an exception will be thrown at startup if a plugin references a type from another plugin, and the plugin is not loaded.
Adding a plugin name to this list will instead cause these types to be skipped if the plugin is not loaded.