Example #1
0
        internal void Read(Class889 r)
        {
            this.uint_0 = r.vmethod_10();
            ulong num1 = r.vmethod_14();

            this.list_0.Capacity = (int)num1;
            for (ulong index = 0; index < num1; ++index)
            {
                this.list_0.Add(r.vmethod_14());
            }
            uint num2 = r.vmethod_10();

            if (num2 <= 0U)
            {
                return;
            }
            int num3 = (int)r.vmethod_10();

            this.class47_0 = new Class46.Class47[(IntPtr)num2][];
            for (int index1 = 0; (long)index1 < (long)num2; ++index1)
            {
                uint num4 = r.vmethod_10();
                this.class47_0[index1] = new Class46.Class47[(IntPtr)num4];
                for (int index2 = 0; (long)index2 < (long)num4; ++index2)
                {
                    Class46.Class47 class47 = new Class46.Class47();
                    class47.Read(r);
                    this.class47_0[index1][index2] = class47;
                }
            }
        }
Example #2
0
        private void method_8()
        {
            Class46 class46 = new Class46()
            {
                SchemaNameIndex = 0
            };
            ulong index = 0;

            class46.IdIndexesSet = new Class46.Class47[1][];
            int length = 0;

            foreach (KeyValuePair <Enum53, Class560> keyValuePair in this.dictionary_0)
            {
                length += keyValuePair.Value.Count;
            }
            class46.IdIndexesSet[0] = new Class46.Class47[length];
            foreach (KeyValuePair <Enum53, Class560> keyValuePair1 in this.dictionary_0)
            {
                foreach (KeyValuePair <ulong, List <Stream> > keyValuePair2 in (Dictionary <ulong, List <Stream> >)keyValuePair1.Value)
                {
                    Class46.Class47 class47 = new Class46.Class47()
                    {
                        Handle = keyValuePair2.Key
                    };
                    class47.Indexes.Add(index);
                    class46.IdIndexesSet[0][index] = class47;
                    ++index;
                }
            }
        }