internal void Read(Class889 r) { this.enum52_0 = (Enum52)r.vmethod_8(); this.uint_1 = r.vmethod_10(); if ((this.enum52_0 & Enum52.flag_2) == Enum52.flag_0) { this.uint_2 = r.vmethod_10(); if (this.uint_2 == 14U) { this.uint_3 = r.vmethod_10(); this.uint_4 = this.uint_3; } else { this.uint_4 = Class986.uint_7[(IntPtr)this.uint_2]; } } if (this.enum52_0 == Enum52.flag_1) { this.uint_5 = r.vmethod_10(); } else if (this.enum52_0 == Enum52.flag_3) { this.uint_6 = r.vmethod_10(); } ushort num = r.vmethod_6(); if (this.uint_4 == 0U) { if (this.uint_2 != 1U && this.uint_2 != 13U && this.uint_2 != 15U) { throw new Exception("Unexpected type."); } } else { this.list_0.Capacity = (int)num; for (int index = 0; index < (int)num; ++index) { this.list_0.Add(r.vmethod_3((int)this.uint_4)); } } }
public void Read(DxfReader r) { if (r.CurrentGroup.Code != 2) { throw new Exception(); } this.string_0 = (string)r.CurrentGroup.Value; r.method_85(); while (r.CurrentGroup.Code != 0 && (r.CurrentGroup.Code != 2 && (r.CurrentGroup.Code != 101 && r.CurrentGroup != Struct18.struct18_0))) { switch (r.CurrentGroup.Code) { case 91: this.enum52_0 = (Enum52)r.CurrentGroup.Value; break; case 280: this.uint_2 = (uint)(byte)r.CurrentGroup.Value; break; } r.method_85(); } }
// Token: 0x0600248C RID: 9356 // RVA: 0x0001CA1E File Offset: 0x0001AC1E internal EventArgs12(Enum52 enum52_1, Point point_1) { this.enum52_0 = enum52_1; this.point_0 = point_1; }