Gff

Complete GFF file

Constructors

this
this()

Empty GFF

this
this(ubyte[] data)

Create a Gff by parsing the binary format

this
this(File file)

Create a Gff by parsing a file in binary format

this
this(string path)
Undocumented in source.
this
this(nwnlibd.orderedjson.JSONValue json)

Create a Gff by parsing JSON

Alias This

root

Members

Functions

serialize
ubyte[] serialize()

Convert to binary format

toJson
nwnlibd.orderedjson.JSONValue toJson()

Convert to JSON

toPrettyString
string toPrettyString()

Converts the GFF into a user-friendly string

Properties

fileType
string fileType [@property getter]
string fileType [@property setter]

GFF type name stored in the GFF file Max width: 4 chars

fileVersion
string fileVersion [@property getter]
string fileVersion [@property setter]

GFF version stored in the GFF file. Usually "V3.2" Max width: 4 chars

Variables

root
GffStruct root;

Root GffStruct

Meta