Exemple #1
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);
            }
        }
Exemple #2
0
 public override void imethod_0(Interface8 reader)
 {
     this.class708_0 = new Class686.Class708(reader);
     this.class242_0 = Class242.smethod_0(reader);
     this.class242_1 = Class242.smethod_0(reader);
     this.class708_1 = new Class686.Class708(reader);
     this.vector3D_0 = reader.imethod_19();
     if (reader.FileFormatVersion >= Class250.int_68)
     {
         this.vector3D_1 = reader.imethod_19();
     }
     this.point3D_0  = reader.imethod_18();
     this.vector3D_2 = reader.imethod_19();
     this.vector3D_3 = reader.imethod_19();
     this.vector3D_4 = reader.imethod_19();
     if (Class250.int_48 > reader.FileFormatVersion)
     {
         this.double_3 = reader.imethod_8();
         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();
     if (reader.FileFormatVersion >= Class250.int_34)
     {
         this.class1046_0.imethod_0(reader);
         this.class1046_1.imethod_0(reader);
         this.class1046_2.imethod_0(reader);
     }
     base.imethod_0(reader);
 }
Exemple #3
0
 public override void imethod_0(Interface8 reader)
 {
     this.method_0(reader);
     this.class439_2 = new Class439(reader);
     this.point3D_0  = reader.imethod_18();
     this.vector3D_0 = reader.imethod_19();
     this.vector3D_1 = reader.imethod_19();
     this.vector3D_2 = reader.imethod_19();
     this.double_2   = reader.imethod_8();
     if (reader.FileFormatVersion >= Class250.int_68)
     {
         this.vector3D_3 = reader.imethod_19();
         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);
     }
     else
     {
         this.class188_0      = (Class188) new Class189();
         this.class188_1      = (Class188) new Class189();
         this.class243_0.Type = Class647.Enum23.const_2;
         this.class243_1.Type = Class647.Enum23.const_2;
         this.vector3D_3      = this.vector3D_2;
         this.vector3D_3.Normalize();
     }
 }
Exemple #4
0
 public override void vmethod_0(Interface8 reader)
 {
     this.point3D_0  = reader.imethod_18();
     this.vector3D_0 = reader.imethod_19();
     this.vector3D_1 = reader.imethod_19();
     this.double_0   = reader.imethod_8();
     base.vmethod_0(reader);
 }
Exemple #5
0
 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);
 }
Exemple #6
0
        public override void imethod_0(Interface8 reader)
        {
            this.class242_0 = Class242.smethod_0(reader);
            Class245 class245 = new Class245();

            this.class242_1    = (Class242)class245;
            class245.Direction = reader.imethod_19();
            this.point3D_0     = class245.Position = reader.imethod_18();
            this.method_0(reader);
        }
Exemple #7
0
        internal override void vmethod_0(Interface8 reader)
        {
            base.vmethod_0(reader);
            int length = reader.imethod_5();

            this.point3D_0 = new Point3D[length];
            for (int index = 0; index < length; ++index)
            {
                this.point3D_0[index] = reader.imethod_18();
            }
            this.vector3D_0 = reader.imethod_19();
            this.vector3D_1 = reader.imethod_19();
            this.double_0   = reader.imethod_8();
        }
Exemple #8
0
 public virtual void imethod_0(Interface8 reader)
 {
     this.class188_0 = Class188.smethod_0(reader);
     this.class242_0 = Class242.smethod_0(reader);
     this.class243_0.vmethod_0(reader);
     this.point3D_0 = reader.imethod_18();
     this.int_0     = 0;
     if (reader.FileFormatVersion < Class250.int_68)
     {
         return;
     }
     this.class243_1.vmethod_0(reader);
     this.int_0 = reader.imethod_5();
     this.class243_2.vmethod_0(reader);
 }
Exemple #9
0
 public override void imethod_0(Interface8 reader)
 {
     this.point3D_0  = reader.imethod_18();
     this.vector3D_0 = reader.imethod_19();
     if (reader.FileFormatVersion >= Class250.int_4)
     {
         this.vector3D_1 = reader.imethod_19();
         this.class695_0 = new Class686.Class695(reader);
     }
     else
     {
         this.vector3D_1       = Vector3D.XAxis;
         this.class695_0.Value = false;
     }
     base.imethod_0(reader);
 }
Exemple #10
0
 public override void imethod_0(Interface8 reader)
 {
     this.class439_0 = new Class439(reader);
     this.class439_1 = new Class439(reader);
     this.class439_2 = new Class439(reader);
     this.point3D_0  = reader.imethod_18();
     this.vector3D_0 = reader.imethod_19();
     this.vector3D_1 = reader.imethod_19();
     this.vector3D_2 = reader.imethod_19();
     this.double_3   = reader.imethod_8();
     this.vector3D_3 = reader.imethod_19();
     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);
     this.vector3D_4 = reader.imethod_19();
 }
Exemple #11
0
 public override void imethod_0(Interface8 reader)
 {
     this.point3D_0  = reader.imethod_18();
     this.vector3D_0 = reader.imethod_19();
     this.double_0   = reader.imethod_8();
     this.double_1   = reader.imethod_8();
     if (reader.FileFormatVersion >= Class250.int_4)
     {
         this.vector3D_1 = reader.imethod_19();
         this.class695_0 = new Class686.Class695(reader);
         if (this.vector3D_1.GetLength() < 1E-10)
         {
             throw new Exception0("Invalid vector length : " + (object)this.vector3D_1.GetLength());
         }
     }
     base.imethod_0(reader);
 }
Exemple #12
0
 public override void imethod_0(Interface8 reader)
 {
     this.class242_0 = Class242.smethod_0(reader);
     this.point3D_0  = reader.imethod_18();
     this.vector3D_0 = reader.imethod_19();
     if (reader.FileFormatVersion < Class250.int_48)
     {
         this.class439_0 = new Class439(reader);
         this.class439_1 = new Class439(reader);
         if (reader.FileFormatVersion < Class250.int_36)
         {
             return;
         }
         this.class796_0 = new Class796(reader);
         this.class796_1 = new Class796(reader);
     }
     else
     {
         this.method_0(reader);
     }
 }
Exemple #13
0
 internal override void vmethod_0(Interface8 reader)
 {
     base.vmethod_0(reader);
     this.point3D_0 = reader.imethod_18();
 }
Exemple #14
0
 public override void vmethod_0(Interface8 reader)
 {
     this.point3D_0 = reader.imethod_18();
     base.vmethod_0(reader);
 }