Table of Contents

Method CreateResourceDirectory

Namespace
Anvil.Services
Assembly
NWN.Anvil.dll

CreateResourceDirectory(string, bool)

Adds the specified folder as a valid resource directory for all ResMan requests.

public string CreateResourceDirectory(string path, bool detectChanges = true)

Parameters

path string

The path to add.

detectChanges bool

True if changes to the folder contents should be tracked for updates.

Returns

string

The assigned resman alias for the resource directory.

Exceptions

ArgumentOutOfRangeException

Thrown if the specified directory does not exist.