Наследование: DomainUpkBuilderBase
Пример #1
0
    public async Task ReadProperty(ByteArrayReader reader, DomainHeader header) {
      await Task.Run(() => NameIndex.ReadNameTableIndex(reader, header));

      if (NameIndex.Name == ObjectTypes.None.ToString()) return;

      await Task.Run(() => TypeNameIndex.ReadNameTableIndex(reader, header));

      Size       = reader.ReadInt32();
      ArrayIndex = reader.ReadInt32();

      Value = propertyValueFactory();

      await Value.ReadPropertyValue(reader, Size, header);
    }
Пример #2
0
        public async Task ReadProperty(ByteArrayReader reader, DomainHeader header)
        {
            await Task.Run(() => NameIndex.ReadNameTableIndex(reader, header));

            if (NameIndex.Name == ObjectTypes.None.ToString())
            {
                return;
            }

            await Task.Run(() => TypeNameIndex.ReadNameTableIndex(reader, header));

            Size       = reader.ReadInt32();
            ArrayIndex = reader.ReadInt32();

            Value = propertyValueFactory();

            await Value.ReadPropertyValue(reader, Size, header);
        }