예제 #1
0
 internal override void vmethod_0(Interface8 reader)
 {
     base.vmethod_0(reader);
     this.int_2 = reader.imethod_11(Class144.string_4);
     this.int_3 = reader.imethod_11(Class144.string_5);
     this.int_4 = reader.imethod_11(Class144.string_7);
     if (reader.FileFormatVersion >= Class250.int_59)
     {
         this.int_5 = reader.imethod_11(Class144.string_6);
     }
     this.string_3 = reader.ReadString();
 }
예제 #2
0
 internal override void vmethod_0(Interface8 reader)
 {
     base.vmethod_0(reader);
     this.double_0 = reader.imethod_8();
     this.int_2    = reader.imethod_11(Class169.string_4);
     if (reader.FileFormatVersion >= Class250.int_44)
     {
         this.int_3 = reader.imethod_11(Class169.string_5);
     }
     else
     {
         this.int_3 = 0;
     }
 }
예제 #3
0
        public static Class1028.Enum49 smethod_0(Interface8 reader)
        {
            if (reader.FileFormatVersion > Class250.int_27)
            {
                return((Class1028.Enum49)reader.imethod_11(Class1028.string_0));
            }
            string str = reader.imethod_14();

            if (str == Class1028.string_0[0])
            {
                return(Class1028.Enum49.const_0);
            }
            if (str == Class1028.string_0[1])
            {
                return(Class1028.Enum49.const_1);
            }
            if (str == Class1028.string_0[2])
            {
                return(Class1028.Enum49.const_2);
            }
            if (!(str == Class1028.string_0[3]))
            {
                throw new Exception0("Unknown b-spline type : " + str);
            }
            return(Class1028.Enum49.const_3);
        }
예제 #4
0
        public virtual void imethod_0(Interface8 reader)
        {
            int num = reader.imethod_11(Class1029.string_0);

            if (num >= 4)
            {
                --num;
            }
            this.enum50_0 = (Class1029.Enum50)num;
            switch (this.enum50_0)
            {
            case Class1029.Enum50.const_1:
                break;

            case Class1029.Enum50.const_2:
                this.double_0 = reader.imethod_8();
                this.double_1 = reader.imethod_8();
                break;

            case Class1029.Enum50.const_4:
                this.class710_0 = new Class686.Class710(reader);
                if (!this.class710_0.Value)
                {
                    break;
                }
                this.class364_0 = Class364.smethod_0(reader);
                break;

            default:
                throw new Exception0("Invalid var cross section type : " + (object)this.enum50_0);
            }
        }
예제 #5
0
파일: Class224.cs 프로젝트: 15831944/WW
 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();
 }
예제 #6
0
 public override void imethod_0(Interface8 reader)
 {
     base.imethod_0(reader);
     if (reader.FileFormatVersion >= Class250.int_30)
     {
         this.class439_2 = new Class439(reader);
     }
     if (reader.FileFormatVersion >= Class250.int_69)
     {
         this.int_3 = reader.imethod_11(Class229.string_6);
         this.int_4 = reader.imethod_11(Class229.string_6);
     }
     else
     {
         this.int_3 = 4;
         this.int_4 = 4;
     }
 }
예제 #7
0
파일: Class164.cs 프로젝트: 15831944/WW
 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();
 }
예제 #8
0
 public override void imethod_0(Interface8 reader)
 {
     base.imethod_0(reader);
     if (reader.FileFormatVersion < Class250.int_68)
     {
         this.enum20_0 = new Class686.Class698(reader).Value ? Class232.Enum20.const_0 : Class232.Enum20.const_2;
     }
     else
     {
         this.enum20_0 = (Class232.Enum20)reader.imethod_11(Class232.string_6);
     }
 }
예제 #9
0
        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);
            }
        }
예제 #10
0
 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);
 }
예제 #11
0
파일: Class211.cs 프로젝트: 15831944/WW
 public override void imethod_0(Interface8 reader)
 {
     this.method_0(reader);
     base.vmethod_1(reader);
     if (reader.FileFormatVersion >= Class250.int_30)
     {
         this.class439_2 = new Class439(reader);
         this.class439_3 = new Class439(reader);
     }
     if (reader.FileFormatVersion >= Class250.int_68)
     {
         this.enum19_0 = (Class211.Enum19)reader.imethod_11(Class211.string_5);
     }
     else
     {
         this.enum19_0 = Class211.Enum19.const_0;
     }
 }
예제 #12
0
파일: Class235.cs 프로젝트: 15831944/WW
 public override void imethod_0(Interface8 reader)
 {
     base.imethod_0(reader);
     this.int_3      = reader.imethod_11(Class235.string_6);
     this.class242_1 = Class242.smethod_0(reader);
 }