Method GetGenericFile
GetGenericFile(string, ResRefType)
Gets the specified Gff resource.
public GffResource? GetGenericFile(string name, ResRefType type)
Parameters
namestringThe resource name to fetch, without any filetype extensions.
typeResRefTypeThe type of the file/resource.
Returns
- GffResource
A GffResource representation of the specified resource if it exists, otherwise null.