private void readBinary(ArkArchive archive, ReadingOptions options) { X = archive.ReadFloat(); Y = archive.ReadFloat(); Z = archive.ReadFloat(); UnkByte = archive.ReadByte(); UnkFloat = archive.ReadFloat(); if (options.HibernationObjectProperties) { ArkArchive nameArchive = archive.Slice(archive.ReadInt()); readBinaryNameTable(nameArchive); } else { archive.SkipBytes(archive.ReadInt()); nameTable = null; // Unknown data since the missed names are unrelated to the main nameTable archive.HasUnknownData = true; } ArkArchive objectArchive = archive.Slice(archive.ReadInt()); readBinaryObjects(objectArchive, options); UnkInt1 = archive.ReadInt(); ClassIndex = archive.ReadInt(); }