public void Read(BinaryReaderEx br) { unk1 = br.ReadUInt16(); numFrames = br.ReadUInt16(); data = br.ReadBytes(4 * 18); //0x4c = total header size start = new NavFrame(br); for (int i = 0; i < numFrames; i++) { frames.Add(new NavFrame(br)); } }
public void Read(BinaryReaderEx br) { version = br.ReadUInt16(); Helpers.Panic(this, PanicType.Info, $"Path version: 0x{version.ToString("X8")}"); numFrames = br.ReadUInt16(); data = br.ReadBytes(4 * 18); //0x4c = total header size start = new NavFrame(br); for (int i = 0; i < numFrames; i++) { frames.Add(new NavFrame(br)); } }