public Tag(KaitaiStream p__io, NavParent3 p__parent = null, NavParent3 p__root = null) : base(p__io) { m_parent = p__parent; m_root = p__root; f_tagContent = false; _read(); }
public NavParent3(KaitaiStream p__io, KaitaiStruct p__parent = null, NavParent3 p__root = null) : base(p__io) { m_parent = p__parent; m_root = p__root ?? this; f_tags = false; _read(); }
public void TestNavParent3() { var r = NavParent3.FromFile(SourceFile("nav_parent2.bin")); Assert.AreEqual(r.OfsTags, 8); Assert.AreEqual(r.NumTags, 2); Assert.AreEqual(r.Tags[0].Name, "RAHC"); Assert.AreEqual(r.Tags[0].Ofs, 32); Assert.AreEqual(r.Tags[0].NumItems, 3); Assert.AreEqual(r.Tags[0].TagContent.Content, "foo"); Assert.AreEqual(r.Tags[1].Name, "RAHC"); Assert.AreEqual(r.Tags[1].Ofs, 35); Assert.AreEqual(r.Tags[1].NumItems, 6); Assert.AreEqual(r.Tags[1].TagContent.Content, "barbaz"); }
public TagChar(KaitaiStream p__io, NavParent3.Tag p__parent = null, NavParent3 p__root = null) : base(p__io) { m_parent = p__parent; m_root = p__root; _read(); }