Struct ErfFile

File stored in Erf class

struct ErfFile(NwnVersion NV) ;

Constructors

NameDescription
this (name, type, data) Construct a Erf file
this (filePath)

Fields

NameTypeDescription
data ubyte[]File raw data
expectedLength Nullable!size_tExpected file size. If not null, can be used to detect truncated files
m_name string
type ResourceTypeFile type (related with its extension)

Methods

NameDescription
name () File name (without file extension)