Beispiel #1
0
 public override void imethod_0(Interface8 reader)
 {
     base.imethod_0(reader);
     this.class242_0 = Class242.smethod_0(reader);
     this.double_0   = reader.imethod_8();
     this.double_1   = reader.imethod_8();
 }
Beispiel #2
0
        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);
        }
Beispiel #3
0
        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;
                }
            }
        }
Beispiel #4
0
 public override void imethod_0(Interface8 reader)
 {
     base.imethod_0(reader);
     this.class188_0 = Class188.smethod_0(reader);
     this.class439_0 = new Class439(reader);
     this.class439_1 = new Class439(reader);
 }
Beispiel #5
0
        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;
                }
            }
        }
Beispiel #6
0
    private void method_3(Table A_0)
    {
        if ((A_0.FirstRow == null) || (A_0.FirstRow.RowFormat.method_31(0xfa5) == null))
        {
            return;
        }
        int    num = (int)A_0.FirstRow.RowFormat.method_31(0xfa5);
        string str = string.Empty;

        using (Dictionary <string, int> .Enumerator enumerator = this.class764_0.method_47().GetEnumerator())
        {
            KeyValuePair <string, int> current;
            while (enumerator.MoveNext())
            {
                current = enumerator.Current;
                if (current.Value == num)
                {
                    goto Label_007A;
                }
            }
            goto Label_0092;
Label_007A:
            str = current.Key;
        }
Label_0092:
        if (this.document_0.StyleNameIds.ContainsValue(str))
        {
            Interface8 interface2 = this.document_0.Styles.FindByName(str, StyleType.TableStyle) as Interface8;
            if (interface2 != null)
            {
                A_0.method_44(interface2);
            }
        }
    }
Beispiel #7
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();
     }
 }
Beispiel #8
0
 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);
   }
 }
Beispiel #9
0
        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;
        }
Beispiel #10
0
        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;
            }
        }
Beispiel #11
0
        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);
        }
Beispiel #12
0
 // Token: 0x060004D8 RID: 1240 RVA: 0x000053F6 File Offset: 0x000035F6
 public Class66(Interface6 interface6_1, Interface8 interface8_1)
 {
     this.interface6_0 = interface6_1;
     this.interface8_0 = interface8_1;
     this.byte_1       = new byte[interface6_1.imethod_2()];
     this.int_0        = 0;
 }
Beispiel #13
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);
 }
Beispiel #14
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);
            }
        }
Beispiel #15
0
        internal override void vmethod_0(Interface8 reader)
        {
            base.vmethod_0(reader);
            int index1 = reader.imethod_7();

            if (index1 < 0)
            {
                this.class95_0 = (Class95)null;
            }
            else
            {
                reader.imethod_0(index1, (Delegate10)(entity => this.class95_0 = (Class95)entity));
            }
            reader.imethod_0(reader.imethod_7(), (Delegate10)(entity => this.class107_0 = (Class107)entity));
            int index2 = reader.imethod_7();

            if (index2 < 0)
            {
                this.class101_0 = (Class101)null;
            }
            else
            {
                this.class101_0 = (Class101)reader[index2];
                if (this.class101_0 != null)
                {
                    return;
                }
                reader.imethod_0(index2, (Delegate10)(entity => this.class101_0 = (Class101)entity));
            }
        }
Beispiel #16
0
        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;
                }
            }
        }
Beispiel #17
0
        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);
        }
Beispiel #18
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);
        }
Beispiel #19
0
 internal override void vmethod_0(Interface8 reader)
 {
     base.vmethod_0(reader);
     this.vector3D_0.X = reader.imethod_8();
     this.vector3D_0.Y = reader.imethod_8();
     this.vector3D_0.Z = reader.imethod_8();
 }
Beispiel #20
0
 public override void imethod_0(Interface8 reader)
 {
     base.imethod_0(reader);
     this.vector3D_3 = reader.imethod_19();
     this.vector3D_1 = reader.imethod_19();
     this.vector3D_2 = reader.imethod_19();
 }
Beispiel #21
0
        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;
                }
            }
        }
Beispiel #22
0
 public virtual void imethod_0(Interface8 reader)
 {
     this.class690_0 = new Class686.Class690(reader);
     this.class238_0 = Class238.smethod_0(reader.imethod_20());
     this.double_0   = reader.imethod_8();
     this.double_1   = reader.imethod_8();
 }
Beispiel #23
0
 internal override void vmethod_0(Interface8 reader)
 {
     base.vmethod_0(reader);
     if (reader.FileFormatVersion < Class250.int_2)
     {
         int index = reader.imethod_7();
         if (index > 0)
         {
             reader.imethod_0(index, (Delegate10)(entity =>
             {
                 this.class93_0 = (Class93)entity;
                 this.class100_0 = new Class100(this, this.class93_0);
             }));
         }
         else
         {
             this.class93_0  = (Class93)null;
             this.class100_0 = (Class100)null;
         }
     }
     else
     {
         reader.imethod_0(reader.imethod_7(), (Delegate10)(entity => this.class100_0 = (Class100)entity));
     }
     reader.imethod_0(reader.imethod_7(), (Delegate10)(entity => this.class106_0 = (Class106)entity));
     reader.imethod_0(reader.imethod_7(), (Delegate10)(entity => this.class185_0 = (Class185)entity));
 }
Beispiel #24
0
        internal override void vmethod_0(Interface8 reader)
        {
            base.vmethod_0(reader);
            int index1 = reader.imethod_7();

            if (index1 < 0)
            {
                this.class96_0 = (Class96)null;
            }
            else
            {
                this.class96_0 = (Class96)reader[index1];
                if (this.class96_0 == null)
                {
                    reader.imethod_0(index1, (Delegate10)(entity => this.class96_0 = (Class96)entity));
                }
            }
            this.enum48_0 = reader.FileFormatVersion < Class250.int_67 ? Class102.Enum48.const_2 : (Class102.Enum48)reader.imethod_5();
            int index2 = reader.imethod_7();

            if (index2 < 0)
            {
                this.class105_0 = (Class105)null;
            }
            else
            {
                this.class105_0 = (Class105)reader[index2];
                if (this.class105_0 != null)
                {
                    return;
                }
                reader.imethod_0(index2, (Delegate10)(entity => this.class105_0 = (Class105)entity));
            }
        }
Beispiel #25
0
        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;
                            }
                        }
                    }));
                }
            }
        }
Beispiel #26
0
        public void imethod_0(Interface8 reader)
        {
            this.enum23_0 = Class647.smethod_0(reader);
            if (this.enum23_0 == Class647.Enum23.const_2)
            {
                return;
            }
            this.int_2 = reader.imethod_5();
            this.int_3 = reader.imethod_5();
            if (this.enum23_0 == Class647.Enum23.const_1)
            {
                this.enum2_0 = Class195.smethod_0(reader);
            }
            this.enum34_0 = Class883.smethod_0(reader);
            this.enum34_1 = Class883.smethod_0(reader);
            this.enum49_0 = Class1028.smethod_0(reader);
            this.enum49_1 = Class1028.smethod_0(reader);
            int length1 = reader.imethod_5();
            int length2 = reader.imethod_5();
            int num1    = 2;
            int num2    = 2;

            this.double_0 = new double[length1];
            this.int_0    = new int[length1];
            for (int index = 0; index < length1; ++index)
            {
                this.double_0[index] = reader.imethod_8();
                this.int_0[index]    = reader.imethod_5();
                num1 += this.int_0[index];
            }
            this.double_1 = new double[length2];
            this.int_1    = new int[length2];
            for (int index = 0; index < length2; ++index)
            {
                this.double_1[index] = reader.imethod_8();
                this.int_1[index]    = reader.imethod_5();
                num2 += this.int_1[index];
            }
            int num3 = num1 - this.int_2 - 1;
            int num4 = num2 - this.int_3 - 1;

            this.point3D_0 = new Point3D[num3 * num4];
            if (this.enum23_0 == Class647.Enum23.const_1)
            {
                this.double_2 = new double[num3 * num4];
                for (int index = 0; index < this.point3D_0.Length; ++index)
                {
                    this.point3D_0[index] = Class794.smethod_15(reader);
                    this.double_2[index]  = reader.imethod_8();
                }
            }
            else
            {
                for (int index = 0; index < this.point3D_0.Length; ++index)
                {
                    this.point3D_0[index] = Class794.smethod_15(reader);
                }
            }
        }
Beispiel #27
0
 internal override void vmethod_0(Interface8 reader)
 {
     base.vmethod_0(reader);
     this.class69_0 = ns8.Class69.smethod_0(reader);
     this.class69_1 = ns8.Class69.smethod_0(reader);
     this.class69_2 = ns8.Class69.smethod_0(reader);
     this.class69_3 = ns8.Class69.smethod_0(reader);
 }
Beispiel #28
0
 public override void imethod_0(Interface8 reader)
 {
     base.imethod_0(reader);
     this.class188_0 = Class188.smethod_0(reader);
     this.class243_0.vmethod_0(reader);
     this.class690_0 = new Class686.Class690(reader);
     this.double_1   = reader.imethod_8();
 }
Beispiel #29
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);
 }
Beispiel #30
0
 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();
 }
Beispiel #31
0
 public Class212()
 {
     this.interface8_0 = new Class185();
 }