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"SMBN",
    StoryManagerBranchNode, [
        EditorId;
        Condition;
        b"SNAM", PreviousSibling, FormId;
        b"PNAM", ParentNode, FormId;
        b"XNAM", MaxConcurrentQuests, u32;
        b"DNAM", Flags, StoryManagerBranchNodeFlags;
    ]
}

#[derive(Debug, NomLE)]
pub struct StoryManagerBranchNodeFlags {
    // TODO: bitflags
}