Ejemplo n.º 1
0
            internal override void vmethod_0(Class741.Class742 serializer)
            {
                Class889 stream = serializer.Stream;

                stream.vmethod_9(this.list_0.Count);
                stream.vmethod_9(0);
                foreach (Class49.Class54.Class64 class64 in this.list_0)
                {
                    class64.Write(stream);
                }
            }
Ejemplo n.º 2
0
            internal override void vmethod_0(Class741.Class742 serializer)
            {
                Class889 stream = serializer.Stream;

                stream.vmethod_15(this.ulong_1);
                stream.vmethod_15(this.ulong_2);
                stream.vmethod_9(this.int_2);
                stream.vmethod_9(this.int_3);
                stream.vmethod_15(this.ulong_3);
                StreamUtil.Forward(this.class882_0.Stream, this.class882_0.Offset, stream.Stream, this.class882_0.Length);
            }
Ejemplo n.º 3
0
 internal void Write(Class889 w)
 {
     w.vmethod_11(this.uint_1);
     if (this.uint_1 != 1685217642U)
     {
         throw new Exception("Unexpected signature value " + (object)this.uint_1 + "should be " + (object)1685217642U + ".");
     }
     w.vmethod_9(this.int_2);
     w.vmethod_9(this.int_3);
     if (this.int_3 != 2 && this.int_3 != 3)
     {
         throw new Exception("Unexpected value " + (object)this.int_3 + "should be 2 or 3.");
     }
     w.vmethod_9(this.int_4);
     if (this.int_4 != 2)
     {
         throw new Exception("Unexpected version value " + (object)this.int_4 + "should be " + (object)2 + ".");
     }
     w.vmethod_9(this.int_5);
     w.vmethod_9(this.int_6);
     w.vmethod_11(this.uint_2);
     w.vmethod_9(this.int_7);
     w.vmethod_9(this.int_8);
     w.vmethod_11(this.uint_3);
     w.vmethod_11(this.uint_4);
     w.vmethod_11(this.uint_5);
     w.vmethod_11(this.uint_6);
     w.vmethod_9(this.int_9);
 }
Ejemplo n.º 4
0
 internal void Write(Class889 w)
 {
     w.vmethod_9((int)this.enum52_0);
     if (this.uint_1 == uint.MaxValue)
     {
         throw new Exception("Uninitialized nameIndex.");
     }
     w.vmethod_11(this.uint_1);
     if ((this.enum52_0 & Enum52.flag_2) == Enum52.flag_0)
     {
         w.vmethod_11(this.uint_2);
         if (this.uint_2 == 14U)
         {
             w.vmethod_11(this.uint_3);
         }
     }
     if (this.enum52_0 == Enum52.flag_1)
     {
         w.vmethod_11(this.uint_5);
     }
     else if (this.enum52_0 == Enum52.flag_3)
     {
         w.vmethod_11(this.uint_6);
     }
     w.vmethod_7((ushort)this.list_0.Count);
     foreach (byte[] numArray in this.list_0)
     {
         w.vmethod_2(numArray, 0, (int)this.uint_4);
     }
 }
Ejemplo n.º 5
0
        internal void Write(Class741.Class742 serializer)
        {
            Class889 stream = serializer.Stream;

            stream.vmethod_7(this.ushort_0);
            if (this.byte_0 == null || this.byte_0.Length != 6)
            {
                throw new Exception("Name must be 6 bytes long.");
            }
            stream.vmethod_2(this.byte_0, 0, this.byte_0.Length);
            stream.vmethod_11(this.uint_0);
            stream.vmethod_9(this.int_1);
            stream.vmethod_11(this.uint_1);
            stream.vmethod_9(this.int_2);
            stream.vmethod_9(this.int_3);
            stream.vmethod_9(this.int_4);
            stream.vmethod_9(this.int_5);
            stream.vmethod_9(this.int_6);
            for (int index = 0; index < 8; ++index)
            {
                stream.vmethod_1((byte)85);
            }
        }