Expand description
Typed UTT (.utt) model and conversion helpers.
UTT (.utt) typed generic wrapper.
UTT resources are GFF-backed trigger templates.
§Field Layout (simplified)
UTT root struct
+-- TemplateResRef / Tag / LocalizedName / Comment
+-- Cursor / Type / Faction / HighlightHeight
+-- AutoRemoveKey / KeyName
+-- TrapDetectable / TrapDetectDC / TrapDisarmable / DisarmDC / TrapFlag / TrapOneShot / TrapType
+-- Script hooks (OnDisarm/OnTrapTriggered/OnClick/ScriptHeartbeat/ScriptOnEnter/ScriptOnExit/ScriptUserDefine)
+-- LinkedTo / LinkedToFlags / LinkedToModule / PartyRequired / SetByPlayerParty
+-- TransitionDestin (localized destination text)
+-- PortraitId / Portrait / LoadScreenID / PaletteIDStructs§
Enums§
- UttError
- Errors produced while reading or writing typed UTT data.
Functions§
- read_
utt - Reads typed UTT data from a reader at the current stream position.
- read_
utt_ from_ bytes - Reads typed UTT data directly from bytes.
- write_
utt - Writes typed UTT data to an output writer.
- write_
utt_ to_ vec - Serializes typed UTT data into a byte vector.