Table of Contents

Class ResourceManager

Namespace
Anvil.Services
Assembly
NWN.Anvil.dll
public sealed class ResourceManager
Inheritance
ResourceManager
Inherited Members
Extension Methods

Fields

MaxNameLength

Methods

CreateResourceDirectory(string, bool)

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

DeleteTempResource(string)

Deletes the temporary resource with the specified name.

FindResourcesOfType(ResRefType, bool)

Gets all resource names for the specified type.

GetGenericFile(string, ResRefType)

Gets the specified Gff resource.

GetNSSContents(string)

Gets the contents of a .nss script file as a string.

GetResourceData(string, ResRefType)

Gets the raw data of the specified resource.

GetResourceText(string, ResRefType)

Gets the raw text of the specified resource.

IsValidResource(string, ResRefType)

Determines if the supplied resource exists and is of the specified type.

WriteTempResource(string, byte[])

Creates a temporary resource with the specified name.

WriteTempResource(string, string)

Creates a temporary resource with the specified name.