NAVI Record – Navigation Mesh Info Map

NAVI record type.

Classes:

NAVI(flags, id[, revision, version, ...])

Navigation Mesh Info Map.

class NAVI(flags, id, revision=0, version=15, unknown=b'\x00\x00', data=[])[source]

Bases: Record

Navigation Mesh Info Map.

Parameters
  • flags (int)

  • id (bytes)

  • revision (int) – Default 0.

  • version (int) – Default 15.

  • unknown (bytes) – Default b'\x00\x00'.

  • data (List[RecordType]) – Default [].

Classes:

NVCI([iterable])

Unknown.

NVER(*args, **kwargs)

Version.

NVMI(unknown, navmesh, location, grid_x, ...)

Navigation Map Info.

Attributes:

data

Subrecords of this record.

flags

Record flags

id

4-byte form ID

revision

Used for revision control by the Creation Kit, if enabled.

unknown

version

Form version

Methods:

parse_subrecords(raw_bytes)

Parse this record's subrecords.

class NVCI(iterable=(), /)[source]

Bases: FormIDArrayRecord

Unknown.

Contains one or more form IDs of NAVM records, followed by one or more form IDs of DOOR records.

class NVER(*args, **kwargs)[source]

Bases: Uint32Record

Version.

class NVMI(unknown, navmesh, location, grid_x, grid_y, unknown_)[source]

Bases: RecordType

Navigation Map Info.

Parameters

Attributes:

grid_x

grid_y

location

Form ID of a CELL or WRLD record.

navmesh

Form ID of a NAVM record.

unknown

unknown_

Methods:

parse(raw_bytes)

Parse this subrecord.

unparse()

Turn this subrecord back into raw bytes for an ESP file.

grid_x

Type:    int

grid_y

Type:    int

location

Type:    bytes

Form ID of a CELL or WRLD record.

navmesh

Type:    bytes

Form ID of a NAVM record.

classmethod parse(raw_bytes)[source]

Parse this subrecord.

Parameters

raw_bytes (BytesIO) – Raw bytes for this record

Return type

Self

unknown

Type:    bytes

unknown_

Type:    List[int]

unparse()[source]

Turn this subrecord back into raw bytes for an ESP file.

Return type

bytes

data

Type:    List[RecordType]

flags

Type:    int

id

Type:    bytes

classmethod parse_subrecords(raw_bytes)[source]

Parse this record’s subrecords.

Parameters

raw_bytes (BytesIO) – Raw bytes for this record’s subrecords

Return type

Iterator[RecordType]

revision

Type:    int

unknown

Type:    bytes

version

Type:    int