internal override void vmethod_0(Interface8 reader) { base.vmethod_0(reader); ulong num = (ulong)reader.imethod_5(); this.ulong_0 = ((ulong)reader.imethod_5() << 32) + num; }
public override void imethod_0(Interface8 reader) { if (Class250.int_32 <= reader.FileFormatVersion) { this.class711_0 = new Class686.Class711(reader); this.class712_0 = new Class686.Class712(reader); this.class713_0 = new Class686.Class713(reader); } int length1 = reader.imethod_5(); this.class685_0 = new Class685[length1]; for (int index = 0; index < length1; ++index) { this.class685_0[index] = new Class685(); this.class685_0[index].imethod_0(reader); } if (Class250.int_42 <= reader.FileFormatVersion) { int length2 = reader.imethod_5(); this.class242_0 = new Class242[length2]; for (int index = 0; index < length2; ++index) { this.class242_0[index] = Class242.smethod_0(reader); } } base.imethod_0(reader); }
public override void vmethod_0(Interface8 reader) { Class647.Enum23 enum23 = Class647.smethod_0(reader); if (enum23 == Class647.Enum23.const_2) { return; } int degree = reader.imethod_5(); this.enum34_0 = Class883.smethod_0(reader); int length1 = reader.imethod_5(); this.double_0 = new double[length1]; this.int_0 = new int[length1]; double[] knots = new double[length1 * degree + 2]; int length2 = 0; for (int index1 = 0; index1 < length1; ++index1) { double num1 = reader.imethod_8(); this.double_0[index1] = num1; int num2 = reader.imethod_5(); this.int_0[index1] = num2; if (index1 == 0 || index1 == length1 - 1) { ++num2; } for (int index2 = 0; index2 < num2; ++index2) { knots[length2++] = num1; } } if (length2 < knots.Length) { double[] numArray = new double[length2]; Array.Copy((Array)knots, 0, (Array)numArray, 0, length2); knots = numArray; } Point3D[] controlPoints = new Point3D[length2 - degree - 1]; double[] weights = new double[length2 - degree - 1]; for (int index = 0; index < controlPoints.Length; ++index) { controlPoints[index] = Class794.smethod_15(reader); if (enum23 == Class647.Enum23.const_1) { weights[index] = reader.imethod_8(); } } if (enum23 == Class647.Enum23.const_1) { this.splineCurve3D_0 = new SplineCurve3D(degree, knots, controlPoints, weights); } else { this.splineCurve3D_0 = new SplineCurve3D(degree, knots, controlPoints); } }
public override void imethod_0(Interface8 reader) { int length1 = reader.imethod_5(); this.class684_0 = new Class684[length1]; for (int index = 0; index < length1; ++index) { this.class684_0[index] = new Class684(); this.class684_0[index].imethod_0(reader); } int length2 = reader.imethod_5(); this.class683_0 = new Class683[length2]; for (int index = 0; index < length2; ++index) { this.class683_0[index] = new Class683(); this.class683_0[index].imethod_0(reader); } this.double_3 = new double[length2 * length1]; this.double_4 = new double[length2 * length1]; for (int index1 = 0; index1 < length2; ++index1) { for (int index2 = 0; index2 < length1; ++index2) { this.double_4[index2 + index1 * length1] = reader.imethod_8(); this.double_3[index2 + index1 * length1] = reader.imethod_8(); } } if (reader.FileFormatVersion >= Class250.int_68) { int length3 = (length1 < length2 ? length1 : length2) * 2; this.double_5 = new double[length3]; for (int index = 0; index < length3; ++index) { this.double_5[index] = reader.imethod_8(); } this.int_5 = reader.imethod_5(); this.vector3D_0 = new Vector3D[length2 * length1]; for (int index = 0; index < length2 * length1; ++index) { this.vector3D_0[index] = reader.imethod_19(); } } if (reader.FileFormatVersion >= Class250.int_64) { this.class1046_0 = new Class1046(); this.class1046_0.imethod_0(reader); this.class1046_1 = new Class1046(); this.class1046_1.imethod_0(reader); this.class1046_2 = new Class1046(); this.class1046_2.imethod_0(reader); this.class1046_3 = new Class1046(); this.class1046_3.imethod_0(reader); } this.method_0(reader); }
internal override void vmethod_0(Interface8 reader) { base.vmethod_0(reader); int length = reader.imethod_5(); this.int_2 = new int[length]; for (int index = 0; index < length; ++index) { this.int_2[index] = reader.imethod_5(); } }
public override void imethod_0(Interface8 reader) { int length = reader.imethod_5(); this.class369_0 = new Class369[length]; for (int index = 0; index < length; ++index) { this.class369_0[index] = Class369.smethod_0(reader); } this.int_5 = reader.imethod_5(); this.double_3 = reader.imethod_8(); }
public override void imethod_0(Interface8 reader) { base.imethod_0(reader); this.class242_0 = Class242.smethod_0(reader); if (reader.FileFormatVersion == Class250.int_74) { this.int_0 = reader.imethod_5(); this.point3D_0 = this.int_0 == 0 ? Point3D.Zero : reader.imethod_18(); this.double_2 = reader.imethod_8(); this.double_3 = reader.imethod_8(); this.int_1 = reader.imethod_5(); } else { if (Class250.int_76 > reader.FileFormatVersion) { this.int_2 = reader.imethod_5(); } else { this.enum40_0 = (Class373.Enum40)reader.imethod_11(Class373.string_2); switch (this.enum40_0) { case Class373.Enum40.const_0: break; case Class373.Enum40.const_1: this.point3D_0 = reader.imethod_18(); break; case Class373.Enum40.const_2: this.class243_0.vmethod_0(reader); this.class690_0 = new Class686.Class690(reader); this.double_1 = reader.imethod_8(); break; case Class373.Enum40.const_3: this.vector3D_1 = reader.imethod_19(); this.vector3D_2 = reader.imethod_19(); break; default: throw new Exception0("surfaceTypeEnum is broken"); } } this.double_2 = reader.imethod_8(); this.double_3 = reader.imethod_8(); this.class690_1 = new Class686.Class690(reader); } }
internal override void vmethod_0(Interface8 reader) { base.vmethod_0(reader); reader.imethod_0(reader.imethod_7(), (Delegate10)(entity => this.class112_0 = (Class112)entity)); reader.imethod_0(reader.imethod_7(), (Delegate10)(entity => this.class80_1 = entity)); this.int_2 = reader.imethod_5(); this.int_3 = reader.imethod_5(); if (this.int_3 <= 0) { return; } this.class744_0 = new Class744(); this.class744_0.imethod_0(reader); }
public override void imethod_0(Interface8 reader) { for (int index = 0; index < 8; ++index) { string str = reader.ReadString(); reader.imethod_5(); switch (str) { case "intensity": this.double_0 = reader.imethod_8(); break; case "color": this.point3D_0.X = reader.imethod_8(); this.point3D_0.Y = reader.imethod_8(); this.point3D_0.Z = reader.imethod_8(); break; case "location": this.point3D_1.X = reader.imethod_8(); this.point3D_1.Y = reader.imethod_8(); this.point3D_1.Z = reader.imethod_8(); break; case "to": this.point3D_2.X = reader.imethod_8(); this.point3D_2.Y = reader.imethod_8(); this.point3D_2.Z = reader.imethod_8(); break; case "shadows": this.int_0 = reader.imethod_5(); break; case "shadow resolution": this.int_1 = reader.imethod_5(); break; case "shadow quality": this.int_2 = reader.imethod_5(); break; case "shadow softness": this.double_1 = reader.imethod_8(); break; } } }
public override void imethod_0(Interface8 reader) { for (int index = 0; index < 5; ++index) { string str = reader.ReadString(); reader.imethod_5(); switch (str) { case "ambient factor": this.double_0 = reader.imethod_8(); break; case "diffuse factor": this.double_1 = reader.imethod_8(); break; case "specular factor": this.double_3 = reader.imethod_8(); break; case "exponent": this.double_2 = reader.imethod_8(); break; case "specular color": this.point3D_0.X = reader.imethod_8(); this.point3D_0.Y = reader.imethod_8(); this.point3D_0.Z = reader.imethod_8(); break; } } }
public override void imethod_0(Interface8 reader) { for (int index = 0; index < 5; ++index) { string str = reader.ReadString(); reader.imethod_5(); switch (str) { case "ambient factor": this.double_0 = reader.imethod_8(); break; case "diffuse factor": this.double_1 = reader.imethod_8(); break; case "specular factor": this.double_2 = reader.imethod_8(); break; case "mirror factor": this.double_3 = reader.imethod_8(); break; case "roughness": this.double_4 = reader.imethod_8(); break; } } }
public override void imethod_0(Interface8 reader) { for (int index = 0; index < 3; ++index) { string str = reader.ReadString(); reader.imethod_5(); switch (str) { case "size": this.double_0 = reader.imethod_8(); break; case "odd color": this.point3D_0.X = reader.imethod_8(); this.point3D_0.Y = reader.imethod_8(); this.point3D_0.Z = reader.imethod_8(); break; case "even color": this.point3D_1.X = reader.imethod_8(); this.point3D_1.Y = reader.imethod_8(); this.point3D_1.Z = reader.imethod_8(); break; } } }
public override void imethod_0(Interface8 reader) { for (int index = 0; index < 3; ++index) { reader.ReadString(); switch (reader.imethod_5()) { case -5: this.vector3D_1.X = reader.imethod_8(); this.vector3D_1.Y = reader.imethod_8(); this.vector3D_1.Z = reader.imethod_8(); break; case -4: this.vector3D_0.X = reader.imethod_8(); this.vector3D_0.Y = reader.imethod_8(); this.vector3D_0.Z = reader.imethod_8(); break; case -2: this.double_0 = reader.imethod_8(); break; } } }
public override void imethod_0(Interface8 reader) { this.class188_0 = Class188.smethod_0(reader); this.class242_0 = Class242.smethod_0(reader); if (reader.FileFormatVersion < Class250.int_38) { this.vector3D_0 = reader.imethod_19(); this.double_4 = reader.imethod_8(); this.double_5 = reader.imethod_8(); } if (reader.FileFormatVersion < Class250.int_48) { this.class439_0 = new Class439(reader); this.class439_1 = new Class439(reader); this.int_0 = reader.imethod_5(); if (reader.FileFormatVersion < Class250.int_36) return; this.class796_0 = new Class796(reader); this.class796_1 = new Class796(reader); } else { this.class243_0 = new Class243(); this.class243_0.vmethod_0(reader); this.double_3 = reader.imethod_8(); base.imethod_0(reader); } }
public static Class224 smethod_0(Interface8 reader) { reader.imethod_10(); string key = reader.imethod_14(); Class224 class224; if (key == "ref") { int index = reader.imethod_5(); class224 = (Class224)reader.imethod_1(index); if (class224 == null) { throw new Exception0("Missing subentity : " + (object)index); } } else { Class224.Delegate5 delegate5; if (!Class224.dictionary_0.TryGetValue(key, out delegate5)) { throw new Exception0("Not supported sub curve type : " + key); } class224 = delegate5(); reader.imethod_2((Class196)class224); class224.imethod_0(reader); } reader.imethod_9(); return(class224); }
internal virtual void vmethod_0(Interface8 reader) { int index = reader.imethod_7(); if (index < 0) { this.class113_0 = (Class113)null; } else { this.class113_0 = reader[index] as Class113; if (this.class113_0 == null) { reader.imethod_0(index, (Delegate10)(entity => this.class113_0 = entity as Class113)); } } if (reader.FileFormatVersion >= Class250.int_66) { this.int_1 = reader.imethod_5(); } else { this.int_1 = -1; } }
internal override void vmethod_0(Interface8 reader) { base.vmethod_0(reader); int length = reader.imethod_5(); this.struct8_0 = new Class171.Struct8[length]; this.int_2 = new int[length]; for (int index1 = 0; index1 < length; ++index1) { this.int_2[index1] = reader.imethod_7(); this.struct8_0[index1].enum48_0 = reader.FileFormatVersion < Class250.int_67 ? Class102.Enum48.const_2 : (Class102.Enum48)reader.imethod_5(); if (this.int_2[index1] != -1) { reader.imethod_0(this.int_2[index1], (Delegate10)(entity => { for (int index = 0; index < this.struct8_0.Length; ++index) { if (this.int_2[index] == entity.Index) { this.struct8_0[index].class96_0 = (Class96)entity; } } })); } } }
public static Class197 smethod_0(Interface8 reader) { reader.imethod_10(); string key = reader.imethod_14(); Class197 class197; if (key == "ref") { int index = reader.imethod_5(); class197 = (Class197)reader.imethod_1(index); if (class197 == null) { throw new Exception0("Missing subentity : " + (object)index); } } else { Class197.Delegate4 delegate4; if (!Class197.dictionary_0.TryGetValue(key, out delegate4)) { throw new Exception0("Not supported sub spline surface primitive type : " + key); } class197 = delegate4(); reader.imethod_2((Class196)class197); class197.method_2(reader); class197.imethod_0(reader); class197.vmethod_1(reader); } reader.imethod_9(); return(class197); }
public override void imethod_0(Interface8 reader) { base.imethod_0(reader); this.class688_3 = reader.FileFormatVersion < Class250.int_69 ? new Class686.Class688(false) : new Class686.Class688(reader); this.class682_0 = new Class682(); this.class682_0.imethod_0(reader); this.int_5 = reader.imethod_5(); this.class682_1 = new Class682[this.int_5]; this.double_3 = new double[this.int_5]; for (int index = 0; index < this.int_5; ++index) { this.class682_1[index] = new Class682(); this.class682_1[index].imethod_0(reader); this.double_3[index] = reader.imethod_8(); } this.class688_1 = new Class686.Class688(reader); this.class688_2 = new Class686.Class688(reader); if (reader.FileFormatVersion >= Class250.int_69) { this.int_7 = reader.imethod_5(); this.class688_4 = new Class686.Class688(reader); this.class688_5 = new Class686.Class688(reader); } else { this.int_7 = 0; this.class688_4 = new Class686.Class688(false); this.class688_5 = new Class686.Class688(false); } this.int_6 = reader.imethod_5(); this.class244_0 = (Class244)null; this.vector3D_0 = Vector3D.Zero; if (this.int_6 == 1) { this.class244_0 = new Class244(); this.class244_0.vmethod_0(reader); } else { if (this.int_6 != 0) { throw new Exception0("cl_loft_spl_sur : invalid type " + (object)this.int_6); } this.vector3D_0 = reader.imethod_19(); } this.class439_2 = new Class439(reader); }
public override void imethod_0(Interface8 reader) { reader.ReadString(); reader.imethod_5(); this.point3D_0.X = reader.imethod_8(); this.point3D_0.Y = reader.imethod_8(); this.point3D_0.Z = reader.imethod_8(); }
protected void method_0(Interface8 reader) { this.enum3_0 = reader.FileFormatVersion < Class250.int_48 ? Class197.Enum3.const_0 : (Class197.Enum3)reader.imethod_11(Class197.string_0); if (this.enum3_0 == Class197.Enum3.const_0) { this.class988_0 = new Class988(); this.class988_0.imethod_0(reader); this.double_0 = reader.FileFormatVersion < Class250.int_6 ? 0.0 : reader.imethod_8(); } else if (this.enum3_0 == Class197.Enum3.const_1) { int length1 = reader.imethod_5(); this.double_1 = new double[length1]; for (int index = 0; index < length1; ++index) { this.double_1[index] = reader.imethod_8(); } int length2 = reader.imethod_5(); this.double_2 = new double[length2]; for (int index = 0; index < length2; ++index) { this.double_2[index] = reader.imethod_8(); } this.double_0 = reader.imethod_8(); this.int_0 = reader.imethod_11(Class197.string_1); this.int_1 = reader.imethod_11(Class197.string_1); this.int_2 = reader.imethod_11(Class197.string_2); this.int_3 = reader.imethod_11(Class197.string_2); } else if (this.enum3_0 == Class197.Enum3.const_2) { this.class439_0 = new Class439(reader); this.class439_1 = new Class439(reader); this.int_0 = reader.imethod_11(Class197.string_1); this.int_1 = reader.imethod_11(Class197.string_1); this.int_2 = reader.imethod_11(Class197.string_2); this.int_3 = reader.imethod_11(Class197.string_2); } if (reader.FileFormatVersion < Class250.int_36) { return; } this.class796_0 = new Class796(reader); this.class796_1 = new Class796(reader); }
public override void imethod_0(Interface8 reader) { this.method_0(reader); this.enum4_0 = reader.FileFormatVersion < Class250.int_48 ? Class224.Enum4.const_0 : (Class224.Enum4)reader.imethod_11(Class224.string_2); if (this.enum4_0 == Class224.Enum4.const_0) { this.class242_0 = (Class242) new Class244(); this.class242_0.vmethod_0(reader); this.double_1 = reader.imethod_8(); } else if (this.enum4_0 == Class224.Enum4.const_2) { this.class439_1 = new Class439(reader); this.int_0 = reader.imethod_11(Class224.string_3); } else { int length = reader.imethod_5(); this.double_0 = new double[length]; for (int index = 0; index < length; ++index) { this.double_0[index] = reader.imethod_8(); } this.double_1 = reader.imethod_8(); this.int_0 = reader.imethod_11(Class224.string_3); } this.class188_0 = Class188.smethod_0(reader); this.class188_1 = Class188.smethod_0(reader); this.class243_0.vmethod_0(reader); this.class243_1.vmethod_0(reader); if (reader.FileFormatVersion >= Class250.int_23) { this.class439_0 = new Class439(reader); } if (reader.FileFormatVersion >= Class250.int_36) { this.class796_0 = new Class796(reader); } this.int_1 = 0; if (reader.FileFormatVersion < Class250.int_68) { return; } this.int_1 = reader.imethod_5(); }
public override void imethod_0(Interface8 reader) { this.class700_0 = new Class686.Class700(reader); this.int_5 = reader.imethod_5(); this.class242_0 = Class242.smethod_0(reader); this.class439_2 = new Class439(reader); this.class701_0 = new Class686.Class701(reader); if (this.class701_0.Value) { this.point3D_0 = reader.imethod_18(); this.vector3D_0 = reader.imethod_19(); } if (reader.FileFormatVersion >= Class250.int_69) { this.point3D_1 = reader.imethod_18(); this.vector3D_1 = reader.imethod_19(); this.vector3D_2 = reader.imethod_19(); this.vector3D_3 = reader.imethod_19(); } this.int_6 = reader.imethod_5(); this.class702_0 = new Class686.Class702(reader); this.class242_1 = Class242.smethod_0(reader); this.class439_3 = new Class439(reader); this.double_3 = reader.imethod_8(); this.class703_0 = new Class686.Class703(reader); this.class706_0 = new Class686.Class706(reader); this.class242_2 = Class242.smethod_0(reader); this.class439_4 = new Class439(reader); this.int_7 = reader.imethod_5(); this.int_8 = reader.imethod_5(); this.double_4 = reader.imethod_8(); this.double_5 = reader.imethod_8(); this.double_6 = reader.imethod_8(); this.double_7 = reader.imethod_8(); this.double_8 = reader.imethod_8(); this.double_9 = reader.imethod_8(); if (reader.FileFormatVersion >= Class250.int_69) { this.class707_0 = new Class686.Class707(reader); } this.class704_0 = new Class686.Class704(reader); this.class705_0 = new Class686.Class705(reader); base.imethod_0(reader); }
internal override void vmethod_0(Interface8 reader) { base.vmethod_0(reader); this.double_2 = reader.imethod_8(); if (reader.FileFormatVersion < Class250.int_69) { return; } reader.imethod_5(); }
public override void imethod_0(Interface8 reader) { for (int index = 0; index < 7; ++index) { string str = reader.ReadString(); reader.imethod_5(); switch (str) { case "scale": this.double_0 = reader.imethod_8(); break; case "detail": this.int_0 = reader.imethod_5(); break; case "ground color": this.point3D_0.X = reader.imethod_8(); this.point3D_0.Y = reader.imethod_8(); this.point3D_0.Z = reader.imethod_8(); break; case "vein color": this.point3D_1.X = reader.imethod_8(); this.point3D_1.Y = reader.imethod_8(); this.point3D_1.Z = reader.imethod_8(); break; case "vein contrast": this.double_1 = reader.imethod_8(); break; case "grain": this.double_2 = reader.imethod_8(); break; case "grain scale": this.double_3 = reader.imethod_8(); break; } } }
protected void method_0(Interface8 reader) { if (reader.FileFormatVersion >= Class250.int_69) { this.int_2 = reader.imethod_5(); } else { this.int_2 = this.vmethod_0(); } }
public void method_2(Interface8 reader) { if (reader.FileFormatVersion >= Class250.int_68) { this.int_4 = reader.imethod_5(); } else { this.int_4 = this.vmethod_0(reader); } }
internal override void vmethod_0(Interface8 reader) { base.vmethod_0(reader); this.int_2 = reader.imethod_11(Class164.string_4); reader.imethod_0(reader.imethod_7(), (Delegate10)(entity => this.class101_0 = (Class101)entity)); reader.imethod_0(reader.imethod_7(), (Delegate10)(entity => this.class101_1 = (Class101)entity)); this.double_0 = reader.imethod_8(); this.double_1 = reader.imethod_8(); if (reader.FileFormatVersion >= Class250.int_24) { this.double_2 = reader.imethod_8(); this.double_3 = reader.imethod_8(); this.class717_0 = new Class686.Class717(reader); this.class717_1 = new Class686.Class717(reader); } else { this.double_2 = 0.0; this.double_3 = 0.0; this.class717_0 = new Class686.Class717(false); this.class717_1 = new Class686.Class717(false); } if (reader.FileFormatVersion >= Class250.int_78) { this.double_5 = reader.imethod_8(); this.double_5 = reader.imethod_8(); } else { this.double_5 = 0.0; this.double_5 = 0.0; } this.int_3 = reader.FileFormatVersion < Class250.int_25 ? 0 : reader.imethod_11(Class164.string_5); this.class188_0 = Class188.smethod_0(reader); if (reader.FileFormatVersion < Class250.int_78) { return; } this.int_4 = reader.imethod_5(); this.int_5 = reader.imethod_5(); }
private void method_0(Interface8 reader) { for (int index1 = 0; index1 < 3; ++index1) { int length = reader.imethod_5(); this.double_0[index1] = new double[length]; for (int index2 = 0; index2 < length; ++index2) { this.double_0[index1][index2] = reader.imethod_8(); } } }
public override void vmethod_0(Interface8 reader) { this.enum23_0 = Class647.smethod_0(reader); if (this.enum23_0 == Class647.Enum23.const_2) { return; } this.int_0 = reader.imethod_5(); this.enum34_0 = Class883.smethod_0(reader); this.int_1 = reader.imethod_5(); this.double_0 = new double[this.int_1]; this.int_2 = new int[this.int_1]; int num1 = 0; for (int index = 0; index < this.int_1; ++index) { this.double_0[index] = reader.imethod_8(); int num2 = reader.imethod_5(); this.int_2[index] = num2; if (index == 0 || index == this.int_1 - 1) { ++num2; } num1 += num2; } this.point2D_0 = new Point2D[num1 - this.int_0 - 1]; if (this.enum23_0 == Class647.Enum23.const_1) { this.double_1 = new double[num1 - this.int_0 - 1]; } for (int index = 0; index < this.point2D_0.Length; ++index) { this.point2D_0[index].X = reader.imethod_8(); this.point2D_0[index].Y = reader.imethod_8(); if (this.enum23_0 == Class647.Enum23.const_1) { this.double_1[index] = reader.imethod_8(); } } }