コード例 #1
0
ファイル: Class741.cs プロジェクト: 15831944/WW
        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;
                }
            }
        }
コード例 #2
0
            internal override void Read(Class741.Class742 serializer)
            {
                base.Read(serializer);
                Class889 stream = serializer.Stream;
                uint     num    = stream.vmethod_10();

                for (int index = 0; (long)index < (long)num; ++index)
                {
                    Class46 class46 = new Class46();
                    class46.Read(stream);
                    this.list_0.Add(class46);
                }
            }