Attention

This page is incomplete and needs better descriptions and research into the behavior of the variables.

ZoneHeader

The header data found in the first 24 bytes of rfgzone_pc files. Each WorldZone stores this data from it’s own rfgzone_pc file.

Variables

Signature (unsigned int)
Magic header / unique signature found at the start of every valid rfgzone_pc file. Used to confirm that the file was properly extracted and to identify the format from other types. For a valid rfgzone_pc file this equals 1162760026. The same value is shared by layer_pc files which likely means they are the same format.
Version (unsigned int)
The file format version. For RFGR this should always equal 36.
NumObjects (int)
The number of objects in this zone when it’s unaltered.
NumHandles (int)
The number of handles in this zone when it’s unaltered. Object handles can be used to reference an object. You can get an object using it’s handle by passing it’s handle to rfg.GetObject, which has two overloads. One which takes an objects name, a string, and one that takes an objects handle, an unsigned int.
DistrictHash (unsigned int)
Likely a hash of the zones district name. Unconfirmed.
Flags (unsigned int)
Stores flags determining the zones state or behavior. Exact values and uses unknown.