Table of Contents

Method GetResourceText

Namespace
Anvil.Services
Assembly
NWN.Anvil.dll

GetResourceText(string, ResRefType)

Gets the raw text of the specified resource.

public string? GetResourceText(string name, ResRefType type)

Parameters

name string

The resource name to retrieve.

type ResRefType

The type of resource to retrieve.

Returns

string

The raw text of the associated resource, otherwise null if the resource does not exist.