Example #1
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);
            }
        }
Example #2
0
 public override void imethod_0(Interface8 reader)
 {
     this.class601_0 = Class601.smethod_0(reader);
     this.class601_1 = Class601.smethod_0(reader);
     this.class242_0 = Class242.smethod_0(reader);
     this.double_3   = reader.imethod_8();
     this.double_4   = reader.imethod_8();
     this.enum6_0    = (Class200.Enum6)reader.imethod_12(Class200.string_3, Class200.int_12);
     if (this.enum6_0 != Class200.Enum6.const_0)
     {
         this.class364_0 = Class364.smethod_0(reader);
         if (this.enum6_0 == Class200.Enum6.const_2)
         {
             this.class364_1 = Class364.smethod_0(reader);
         }
         this.class1029_0 = new Class1029();
         this.class1029_0.imethod_0(reader);
     }
     if (reader.FileFormatVersion >= Class250.int_48)
     {
         this.class439_2 = new Class439(reader);
     }
     else
     {
         this.class439_0 = new Class439(reader);
         this.class439_2 = new Class439(reader);
         this.class439_1 = new Class439(reader);
         this.int_5      = reader.imethod_5();
         this.int_6      = reader.imethod_5();
     }
     if (reader.FileFormatVersion >= Class250.int_75)
     {
         this.class439_3 = new Class439(reader);
         this.int_7      = reader.imethod_5();
         this.double_6   = reader.imethod_8();
         this.double_5   = reader.imethod_8();
         this.int_8      = reader.imethod_5();
     }
     if (reader.FileFormatVersion >= Class250.int_48)
     {
         this.method_0(reader);
     }
     base.vmethod_1(reader);
     this.int_11 = 0;
     this.int_10 = 0;
     this.int_9  = 0;
     if (reader.FileFormatVersion < Class250.int_68)
     {
         return;
     }
     this.int_9  = reader.imethod_5();
     this.int_10 = reader.imethod_5();
     this.int_11 = reader.imethod_5();
 }