Table of Contents

Method GetGenericFile

Namespace
Anvil.Services
Assembly
NWN.Anvil.dll

GetGenericFile(string, ResRefType)

Gets the specified Gff resource.

public GffResource? GetGenericFile(string name, ResRefType type)

Parameters

name string

The resource name to fetch, without any filetype extensions.

type ResRefType

The type of the file/resource.

Returns

GffResource

A GffResource representation of the specified resource if it exists, otherwise null.