Module nwn.gff
Generic File Format (gff)
Functions
Name | Description |
---|---|
compatStrToGffType(t)
|
Converts a string compatible with niv tools to a GFF type |
gffTypeToCompatStr(t)
|
Converts a GFF type to a string compatible with niv tools |
isGffNativeType()
|
returns true if T is implicitly convertible to a GFF storage type |
Classes
Name | Description |
---|---|
Gff
|
Complete GFF file |
GffJsonParseException
|
Child node not found |
GffNotFoundException
|
Child node not found |
GffParseException
|
Parsing exception |
GffTypeException
|
Type mismatch (ex: trying to add a GffNode to a GffType )
|
GffValueSetException
|
Value doesn't match constraints (ex: label too long) |
Structs
Name | Description |
---|---|
GffList
|
Gff type List ( GffStruct[] )
|
GffLocString
|
Gff type LocString (TLK ID + translations) |
GffResRef
|
Gff type ResRef (32-char string) |
GffStruct
|
Gff type Struct ( GffValue[string] )
|
GffValue
|
GFF value that can contain any type of GFF node |
Enums
Name | Description |
---|---|
GffType
|
Type of data owned by a GffNode
|
Templates
Name | Description |
---|---|
gffTypeToNative
|
Maps GffType to native D type
|
Aliases
Name | Type | Description |
---|---|---|
GffByte
|
ubyte
|
|
GffChar
|
byte
|
|
GffDouble
|
double
|
|
GffDWord
|
uint
|
|
GffDWord64
|
ulong
|
|
GffFloat
|
float
|
|
GffInt
|
int
|
|
GffInt64
|
long
|
|
GffNativeTypes
|
|
List of all dlang types that can be stored in a GFF value |
GffShort
|
short
|
|
GffString
|
string
|
|
GffVoid
|
ubyte[]
|
Gff type Void ( ubyte[] )
|
GffWord
|
ushort
|
|
nativeToGffType
|
GffType
|
Converts a native type T to the associated GffType . Types must match exactly
|