Example #1
0
 public virtual void vmethod_1(Interface8 reader)
 {
     if (reader.FileFormatVersion < Class250.int_69)
     {
         return;
     }
     this.class688_0 = new Class686.Class688(reader);
 }
Example #2
0
 public override void imethod_0(Interface8 reader)
 {
     base.imethod_0(reader);
     if (reader.FileFormatVersion >= Class250.int_10)
     {
         this.class697_0 = new Class686.Class697(reader);
     }
     if (reader.FileFormatVersion >= Class250.int_71)
     {
         this.class688_0 = new Class686.Class688(reader);
     }
     else
     {
         this.class688_0 = new Class686.Class688(false);
     }
 }
Example #3
0
 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);
 }
Example #4
0
 public override void imethod_0(Interface8 reader)
 {
     this.class188_0 = Class188.smethod_0(reader);
     this.double_3   = reader.imethod_8();
     if (reader.FileFormatVersion < Class250.int_48)
     {
         this.class439_2 = new Class439(reader.imethod_8(), reader.imethod_8());
         this.class439_3 = new Class439(reader.imethod_8(), reader.imethod_8());
     }
     this.class690_0 = new Class686.Class690(reader);
     this.class690_1 = reader.FileFormatVersion < Class250.int_35 ? new Class686.Class690(false) : new Class686.Class690(reader);
     this.class688_1 = reader.FileFormatVersion < Class250.int_69 ? new Class686.Class688(false) : new Class686.Class688(reader);
     this.class688_2 = reader.FileFormatVersion < Class250.int_70 ? new Class686.Class688(false) : new Class686.Class688(reader);
     if (reader.FileFormatVersion < Class250.int_48)
     {
         return;
     }
     this.method_0(reader);
 }
Example #5
0
        public override void imethod_0(Interface8 reader)
        {
            int length = reader.imethod_5();

            this.class682_0 = new Class682[length];
            this.double_3   = new double[length];
            for (int index = 0; index < length; ++index)
            {
                this.double_3[index]   = reader.imethod_8();
                this.class682_0[index] = new Class682();
                this.class682_0[index].imethod_0(reader);
            }
            this.int_5      = reader.imethod_5();
            this.class439_2 = new Class439(reader);
            this.class439_3 = new Class439(reader);
            this.class688_1 = new Class686.Class688(reader);
            this.class688_2 = new Class686.Class688(reader);
            this.class688_3 = new Class686.Class688(reader);
            this.class688_4 = new Class686.Class688(reader);
            this.int_6      = reader.imethod_5();
            this.int_7      = reader.FileFormatVersion < Class250.int_70 ? 0 : reader.imethod_5();
            base.imethod_0(reader);
        }
Example #6
0
 public virtual void imethod_0(Interface8 reader)
 {
     if (reader.FileFormatVersion >= Class250.int_68)
     {
         this.int_0 = reader.imethod_5();
     }
     if (reader.FileFormatVersion >= Class250.int_69)
     {
         this.int_1 = reader.imethod_5();
     }
     this.class242_1 = Class242.smethod_0(reader);
     if (reader.FileFormatVersion < Class250.int_68)
     {
         return;
     }
     if (reader.FileFormatVersion >= Class250.int_69)
     {
         this.class188_0 = Class188.smethod_0(reader);
         this.class243_0.vmethod_0(reader);
         this.class688_0 = new Class686.Class688(reader);
     }
     this.int_2 = reader.imethod_5();
     if (this.int_2 != 212 && this.int_2 != 213)
     {
         this.double_0 = reader.imethod_8();
         this.double_1 = reader.imethod_8();
         this.double_6 = reader.imethod_8();
         this.double_7 = reader.imethod_8();
     }
     else
     {
         int length1 = reader.imethod_5() * 2;
         int length2 = reader.imethod_5() * 2;
         this.double_4 = new double[length1];
         this.double_5 = new double[length2];
         for (int index = 0; index < length1; ++index)
         {
             this.double_4[index] = reader.imethod_8();
         }
         for (int index = 0; index < length2; ++index)
         {
             this.double_5[index] = reader.imethod_8();
         }
     }
     this.double_2 = reader.imethod_8();
     this.double_3 = reader.imethod_8();
     this.int_3    = reader.FileFormatVersion < Class250.int_69 ? reader.imethod_5() : (new Class686.Class688(reader).Value ? 1 : 0);
     if (this.int_3 == 1)
     {
         this.class188_1 = Class188.smethod_0(reader);
         this.class243_1.vmethod_0(reader);
     }
     this.class242_0 = Class242.smethod_0(reader);
     this.int_4      = reader.imethod_5();
     if (this.int_4 == 1)
     {
         this.class244_0.vmethod_0(reader);
     }
     if (reader.FileFormatVersion < Class250.int_69)
     {
         return;
     }
     this.int_5 = reader.imethod_5();
 }
Example #7
0
 public virtual void imethod_1(Interface9 writer)
 {
     if (writer.FileFormatVersion >= Class250.int_68)
     {
         writer.imethod_4(this.int_0);
     }
     if (writer.FileFormatVersion >= Class250.int_69)
     {
         writer.imethod_4(this.int_1);
     }
     Class242.smethod_1(writer, this.class242_1);
     if (writer.FileFormatVersion < Class250.int_68)
     {
         return;
     }
     if (writer.FileFormatVersion >= Class250.int_69)
     {
         Class188.smethod_1(writer, this.class188_0);
         this.class243_0.vmethod_1(writer);
         writer.imethod_12((Interface39)this.class688_0);
     }
     else
     {
         writer.imethod_15();
     }
     writer.imethod_4(this.int_2);
     if (this.int_2 != 212 && this.int_2 != 213)
     {
         writer.imethod_7(this.double_0);
         writer.imethod_7(this.double_1);
         writer.imethod_7(this.double_6);
         writer.imethod_7(this.double_7);
     }
     else
     {
         int length1 = this.double_4.Length;
         int length2 = this.double_5.Length;
         writer.imethod_4(length1 / 2);
         writer.imethod_4(length2 / 2);
         for (int index = 0; index < length1; ++index)
         {
             writer.imethod_7(this.double_4[index]);
         }
         for (int index = 0; index < length2; ++index)
         {
             writer.imethod_7(this.double_5[index]);
         }
     }
     writer.imethod_7(this.double_2);
     writer.imethod_7(this.double_3);
     if (writer.FileFormatVersion >= Class250.int_69)
     {
         Class686.Class688 class688 = new Class686.Class688(this.int_3 == 1);
         writer.imethod_12((Interface39)class688);
     }
     else
     {
         writer.imethod_4(this.int_3);
     }
     if (this.int_3 == 1)
     {
         Class188.smethod_1(writer, this.class188_1);
         this.class243_1.vmethod_1(writer);
     }
     Class242.smethod_1(writer, this.class242_0);
     writer.imethod_4(this.int_4);
     if (this.int_4 == 1)
     {
         this.class244_0.vmethod_1(writer);
     }
     if (writer.FileFormatVersion < Class250.int_69)
     {
         return;
     }
     writer.imethod_4(this.int_5);
 }