Module utw

Module utw 

Source
Expand description

Typed UTW (.utw) model and conversion helpers. UTW (.utw) typed generic wrapper.

UTW resources are GFF-backed waypoint templates.

§Field Layout

UTW root struct
+-- TemplateResRef / Tag / LocalizedName
+-- Appearance / PaletteID / Comment
+-- HasMapNote / MapNoteEnabled / MapNote
+-- Description / LinkedTo
+-- XPosition / YPosition / ZPosition
+-- XOrientation / YOrientation / ZOrientation

Structs§

Utw
Typed UTW model built from/to Gff data.

Enums§

UtwError
Errors produced while reading or writing typed UTW data.

Functions§

read_utw
Reads typed UTW data from a reader at the current stream position.
read_utw_from_bytes
Reads typed UTW data directly from bytes.
write_utw
Writes typed UTW data to an output writer.
write_utw_to_vec
Serializes typed UTW data into a byte vector.