GRF

Holds information about a GRF file.

Constructors

this
this(string name)

Opens the filehandle and stores the filesize

Members

Variables

filehandle
File filehandle;

Filehandle that is used to read any data from

filename
string filename;

Filename of the GRF file

files
GRFFiletable files;

Associative array of the files. Will be filled once zgrf.grf.readFiletable is called.

filesize
size_t filesize;

Filesize of the GRF file

header
GRFHeader header;

GRF Header. Will be filled once zgrf.grf.readHeader is called.

Examples

import zgrf.types;

GRF grf = GRF("data.grf");

Meta