public void ReadBinary(ESPReader reader) { try { Unknown = reader.ReadBytes(4); NavigationMesh.ReadBinary(reader); Triangle = reader.ReadUInt16(); } catch { return; } }
protected override void ReadData(ESPReader reader) { using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size))) using (ESPReader subReader = new ESPReader(stream, reader.Plugin)) { try { NavigationMesh.ReadBinary(subReader); Unknown = subReader.ReadUInt32(); } catch { return; } } }
protected override void ReadData(ESPReader reader) { using (MemoryStream stream = new MemoryStream(reader.ReadBytes(size))) using (ESPReader subReader = new ESPReader(stream, reader.Plugin)) { try { Unknown1 = subReader.ReadBytes(4); NavigationMesh.ReadBinary(subReader); Location.ReadBinary(subReader); GridX = subReader.ReadInt16(); GridY = subReader.ReadInt16(); ReadUnknown2Binary(subReader); } catch { return; } } }