internal void ExpandReferences(DomainHeader header) { TypeReferenceNameIndex = header.GetObjectTableEntry(TypeReference)?.NameTableIndex; ParentReferenceNameIndex = header.GetObjectTableEntry(ParentReference)?.NameTableIndex; OwnerReferenceNameIndex = header.GetObjectTableEntry(OwnerReference)?.NameTableIndex; ArchetypeReferenceNameIndex = header.GetObjectTableEntry(ArchetypeReference)?.NameTableIndex; }
public override async Task ReadDomainObject(ByteArrayReader reader, DomainHeader header, DomainExportTableEntry export, bool skipProperties, bool skipParse) { ArchetypeObjectReference = reader.ReadInt32(); ArchetypeObjectNameIndex = header.GetObjectTableEntry(ArchetypeObjectReference)?.NameTableIndex; await base.ReadDomainObject(reader, header, export, skipProperties, skipParse); }
public override async Task ReadDomainObject(ByteArrayReader reader, DomainHeader header, DomainExportTableEntry export, bool skipProperties, bool skipParse) { await base.ReadDomainObject(reader, header, export, skipProperties, skipParse); if (skipParse) { return; } ObjectTableReference = reader.ReadInt32(); ObjectReferenceNameIndex = header.GetObjectTableEntry(ObjectTableReference)?.NameTableIndex; }
public void ExpandReferences(DomainHeader header) { OwnerReferenceNameIndex = header.GetObjectTableEntry(OwnerReference)?.NameTableIndex; }
public override async Task ReadPropertyValue(ByteArrayReader reader, int size, DomainHeader header) { await base.ReadPropertyValue(reader, size, header); ObjectIndexName = header.GetObjectTableEntry(IntValue)?.NameTableIndex; }