Module nwn.fastgff

Faster and more memory efficient GFF file reading without writing support

Functions

NameDescription
isSimpleType(type) A simple type can be stored inside the GffField value slot (32-bit or less)

Classes

NameDescription
FastGff GFF file parser
GffParseException Parsing exception
GffTypeException Type mismatch exception

Structs

NameDescription
GffField GFF generic value (used for GffStruct children). This can be used as a Variant.
GffList GFF list value type (Array of GffStruct)
GffLocString GFF Localized string value type (strref with eventually a Language => string map)
GffResRef GFF Resref value type (32 character string)
GffStruct GFF structure value type (string => GffField map)

Enums

NameDescription
GffType Type of data owned by a GffField

Templates

NameDescription
ToNative Maps GffType to native D type

Aliases

NameTypeDescription
GffByte ubyte Basic GFF value type
GffChar byte Basic GFF value type
GffDouble double Basic GFF value type
GffDWord uint Basic GFF value type
GffDWord64 ulong Basic GFF value type
GffFloat float Basic GFF value type
GffInt int Basic GFF value type
GffInt64 long Basic GFF value type
GffShort short Basic GFF value type
GffString string Basic GFF value type
GffVoid ubyte[] Basic GFF value type
GffWord ushort Basic GFF value type