private void method_3() { Class48 class48 = new Class48() { Index = 1, Name = "AcDbDs::TreatedAsObjectDataSchema" }; Class986 class986 = new Class986() { Flags = Enum52.flag_0, NameIndex = 2, Name = "AcDbDs::TreatedAsObjectData", Type = 1 }; class48.Properties.Add(class986); this.list_0.Add(class48); }
private void method_6() { Class48 class48 = new Class48() { Index = 4, Name = "AcDbDs::HandleAttributeSchema" }; Class986 class986 = new Class986() { Flags = Enum52.flag_3, NameIndex = 5, Name = "AcDbDs::HandleAttribute", Type = 7, Unknown2 = 1 }; class986.PropertyValues.Add(new byte[1]); class48.Properties.Add(class986); this.list_0.Add(class48); }
private void method_5() { Class48 class48 = new Class48() { Index = 3, Name = "AcDbDs::IndexedPropertySchema" }; class48.Properties.Add(new Class986() { Flags = Enum52.flag_0, NameIndex = 4U, Name = "AcDs:Indexable", Type = 1U }); this.list_0.Add(class48); }
private void method_4() { Class48 class48 = new Class48() { Index = 2, Name = "AcDbDs::LegacySchema" }; class48.Properties.Add(new Class986() { Flags = Enum52.flag_0, NameIndex = 3U, Name = "AcDbDs::Legacy", Type = 1U }); this.list_0.Add(class48); }
internal override void Read(Class741.Class742 serializer) { base.Read(serializer); Class889 stream = serializer.Stream; long position = stream.Position; foreach (Class49.Class53.Class63 propertyEntry in serializer.SchemaIndex.PropertyEntries) { if ((int)propertyEntry.SegmentIndex == (int)this.class681_0.SegmentIndex) { Class558 class558 = new Class558(); class558.Read(stream); this.list_1.Add(class558); } } uint num1 = 0; foreach (Class49.Class53.Class62 schemaEntry in serializer.SchemaIndex.SchemaEntries) { if ((int)schemaEntry.SegmentIndex == (int)this.class681_0.SegmentIndex) { stream.Position = position + (long)schemaEntry.LocalOffset; Class48 class48 = new Class48(); class48.Index = num1; class48.Name = serializer.SchemaIndex.SchemaNames[(int)schemaEntry.Index]; class48.Read(stream); this.list_0.Add(class48); } ++num1; } stream.Position = (long)this.SystemDataOffset; uint num2 = stream.vmethod_10(); List <string> stringList = new List <string>((int)num2); for (int index = 0; (long)index < (long)num2; ++index) { stringList.Add(stream.vmethod_18()); } for (int index = 0; index < this.list_0.Count; ++index) { foreach (Class986 property in this.list_0[index].Properties) { property.Name = stringList[(int)property.NameIndex]; property.NameIndex = uint.MaxValue; } } }
public Enum53 method_1(Class49.Class54.Class64 entry) { // ISSUE: object of a compiler-generated type is created // ISSUE: variable of a compiler-generated type Class741.Class742.Class743 class743 = new Class741.Class742.Class743(); // ISSUE: reference to a compiler-generated field class743.class64_0 = entry; Enum53 enum53 = Enum53.const_0; // ISSUE: reference to a compiler-generated method Class48 class48 = this.class741_0.list_0.Find(new Predicate <Class48>(class743.method_0)); if (class48 != null) { enum53 = class48.RecordType; } return(enum53); }
public void Read(out Class741 dataStore, DxfReader r) { dataStore = new Class741(false); this.class741_0 = dataStore; while (r.CurrentGroup != Class824.struct18_1 && r.CurrentGroup != Struct18.struct18_0) { if (r.CurrentGroup.Code == 0) { switch ((string)r.CurrentGroup.Value) { case "ACDSSCHEMA": Class48 class48 = new Class48(); class48.Read(r); dataStore.Schemas.Add(class48); continue; case "ACDSRECORD": Class1027 class1027 = new Class1027(); class1027.Read(r); if (class1027.Columns.Count == 2 && class1027.Columns[0].Name == "AcDbDs::ID" && class1027.Columns[1].Name == "ASM_Data") { Class496 column1 = class1027.Columns[0]; Class496 column2 = class1027.Columns[1]; ulong handle = (ulong)column1.Data.Value; Stream data = (Stream)column2.Data.Value; dataStore.Add(Enum53.const_2, handle, data); continue; } continue; default: r.method_85(); continue; } } else { r.method_85(); } } }
private void method_2() { Class48 class48 = new Class48() { Name = "AcDb3DSolid_ASM_Data", Index = 0 }; class48.Indexes.Add(0UL); class48.Indexes.Add(1UL); this.list_0.Add(class48); Class986 class986 = new Class986() { Flags = Enum52.flag_0, NameIndex = 0, Name = "AcDbDs::ID", Type = 10 }; List <byte[]> propertyValues1 = class986.PropertyValues; byte[] numArray1 = new byte[8]; numArray1[0] = (byte)2; byte[] numArray2 = numArray1; propertyValues1.Add(numArray2); List <byte[]> propertyValues2 = class986.PropertyValues; byte[] numArray3 = new byte[8]; numArray3[0] = (byte)3; byte[] numArray4 = numArray3; propertyValues2.Add(numArray4); class48.Properties.Add(class986); class48.Properties.Add(new Class986() { Flags = Enum52.flag_0, NameIndex = 1U, Name = "ASM_Data", Type = 15U }); Class496 class496_1 = new Class496(); class496_1.Name = "AcDbDs::TreatedAsObjectData"; class496_1.DataType = Enum26.const_0; Class496 class496_2 = class496_1; class496_2.Data = new Struct18(291, (object)true); class48.PropertyDescriptors.Add(new Class360() { Id = 0, Index = 1, Item = class496_2 }); Class496 class496_3 = new Class496(); class496_3.Name = "AcDbDs::Legacy"; class496_3.DataType = Enum26.const_0; Class496 class496_4 = class496_3; class496_4.Data = new Struct18(291, (object)true); class48.PropertyDescriptors.Add(new Class360() { Id = 0, Index = 2, Item = class496_4 }); Class496 class496_5 = new Class496(); class496_5.Name = "AcDs:Indexable"; class496_5.DataType = Enum26.const_0; Class496 class496_6 = class496_5; class496_6.Data = new Struct18(291, (object)true); class48.PropertyDescriptors.Add(new Class360() { IdName = "AcDbDs::ID", Index = 3, Item = class496_6 }); Class496 class496_7 = new Class496(); class496_7.Name = "AcDbDs::HandleAttribute"; class496_7.DataType = Enum26.const_6; Class496 class496_8 = class496_7; class496_8.Data = new Struct18(282, (object)(byte)1); class48.PropertyDescriptors.Add(new Class360() { IdName = "AcDbDs::ID", Index = 4, Item = class496_8 }); }