Manages plugin data stored in the Anvil home directory.
Use this service to get a path for reading and writing configs or data for your plugin.
More...
Manages plugin data stored in the Anvil home directory.
Use this service to get a path for reading and writing configs or data for your plugin.
◆ GetPluginStoragePath()
string Anvil.Services.PluginStorageService.GetPluginStoragePath |
( |
Assembly |
pluginAssembly | ) |
|
|
inline |
Gets the storage path for the specified plugin.
- Parameters
-
pluginAssembly | The assembly of the plugin, e.g. typeof(MyService).Assembly |
- Returns
- The storage directory for the specified plugin.
- Exceptions
-
ArgumentException | Thrown if the specified assembly is not a plugin. |
The documentation for this class was generated from the following file:
- NWN.Anvil/src/main/Services/Resources/PluginStorageService.cs