Table of Contents

Method GetResourceData

Namespace
Anvil.Services
Assembly
NWN.Anvil.dll

GetResourceData(string, ResRefType)

Gets the raw data of the specified resource.

public byte[]? GetResourceData(string name, ResRefType type)

Parameters

name string

The resource name to retrieve.

type ResRefType

The type of resource to retrieve.

Returns

byte[]

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