public void Write(Class889 w) { w.vmethod_7((ushort)this.list_0.Count); foreach (ulong num in this.list_0) { w.vmethod_15(num); } w.vmethod_7((ushort)this.list_2.Count); foreach (Class986 class986 in this.list_2) { class986.Write(w); } }
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); } }
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); } }