nwn.fastgff

Faster and more memory efficient GFF file reading without writing support

Members

Aliases

GffByte
alias GffByte = uint8_t

Basic GFF value type

GffChar
alias GffChar = int8_t

Basic GFF value type

GffDWord
alias GffDWord = uint32_t

Basic GFF value type

GffDWord64
alias GffDWord64 = uint64_t

Basic GFF value type

GffDouble
alias GffDouble = double

Basic GFF value type

GffFloat
alias GffFloat = float

Basic GFF value type

GffInt
alias GffInt = int32_t

Basic GFF value type

GffInt64
alias GffInt64 = int64_t

Basic GFF value type

GffShort
alias GffShort = int16_t

Basic GFF value type

GffString
alias GffString = string

Basic GFF value type

GffVoid
alias GffVoid = ubyte[]

Basic GFF value type

GffWord
alias GffWord = uint16_t

Basic GFF value type

Classes

FastGff
class FastGff

GFF file parser

GffParseException
class GffParseException

Parsing exception

GffTypeException
class GffTypeException

Type mismatch exception

Enums

GffType
enum GffType

Type of data owned by a GffField

Functions

isSimpleType
bool isSimpleType(GffType type)

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

Structs

GffField
struct GffField

GFF generic value (used for GffStruct children). This can be used as a Variant.

GffList
struct GffList

GFF list value type (Array of GffStruct)

GffLocString
struct GffLocString

GFF Localized string value type (strref with eventually a nwn.constants.Language => string map)

GffResRef
struct GffResRef

GFF Resref value type (32 character string)

GffStruct
struct GffStruct

GFF structure value type (string => GffField map)

Templates

ToNative
template ToNative(GffType t)

Maps GffType to native D type

Meta