project-wormhole-esm 0.1.0

ESM file format parser for Project Wormhole
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::dev::*;

define_record2! {
    b"ASTP",
    AssociationType, [
        EditorId;
        b"MPRT", MaleParentTitle, ESMString;
        b"FPRT", FemaleParentTitle, ESMString;
        b"MCHT", MaleChildTitle, ESMString;
        b"FCHT", FemaleChildTitle, ESMString;
        b"DATA", Flags, AssociationTypeFlags;
    ]
}

#[derive(Debug, NomLE)]
pub struct AssociationTypeFlags;

// Field dump - {FPRT, FCHT, MPRT, MCHT, DATA}