protected void readBinaryEmbeddedData(ArkArchive archive, bool embeddedData = true) { var count = archive.GetInt(); if (embeddedData) { EmbeddedData.Clear(); for (var n = 0; n < count; n++) { EmbeddedData.Add(new EmbeddedData(archive)); } } else { for (int n = 0; n < count; n++) { Types.EmbeddedData.Skip(archive); } } }
private void readBinaryEmbeddedData(ArkArchive archive, ReadingOptions options) { int count = archive.ReadInt(); EmbeddedData.Clear(); if (options.EmbeddedData) { for (int n = 0; n < count; n++) { EmbeddedData.Add(new EmbeddedData(archive)); } } else { archive.HasUnknownData = true; for (int n = 0; n < count; n++) { Types.EmbeddedData.Skip(archive); } } }