コード例 #1
0
ファイル: Class6.cs プロジェクト: 15831944/WW
        protected internal override void vmethod_0(Class80 reader)
        {
            Class74 stream       = reader.Stream;
            int     hmetricCount = reader.method_5().HMetricCount;
            int     glyphCount   = reader.method_4().GlyphCount;
            int     capacity     = glyphCount > hmetricCount ? glyphCount : hmetricCount;

            this.ilist_0 = (IList <Class57>) new List <Class57>(capacity);
            for (int index = 0; index < hmetricCount; ++index)
            {
                this.ilist_0.Add(new Class57(stream.method_8(), stream.method_4()));
            }
            if (hmetricCount >= capacity)
            {
                return;
            }
            Class57 class57 = this.ilist_0[this.ilist_0.Count - 1];

            for (int index = hmetricCount; index < glyphCount; ++index)
            {
                this.ilist_0.Add(new Class57(class57.AdvanceWidth, stream.method_4()));
            }
        }
コード例 #2
0
ファイル: Class8.cs プロジェクト: 15831944/WW
        protected internal override void vmethod_0(Class80 reader)
        {
            Class74 stream = reader.Stream;

            this.int_0    = stream.method_16();
            this.short_0  = stream.method_6();
            this.short_1  = stream.method_6();
            this.short_2  = stream.method_6();
            this.ushort_0 = stream.method_10();
            this.short_3  = stream.method_6();
            this.short_4  = stream.method_6();
            this.short_5  = stream.method_6();
            this.short_6  = stream.method_4();
            this.short_7  = stream.method_4();
            this.short_8  = stream.method_4();
            int num1 = (int)stream.method_4();
            int num2 = (int)stream.method_4();
            int num3 = (int)stream.method_4();
            int num4 = (int)stream.method_4();

            this.short_9  = stream.method_4();
            this.ushort_1 = stream.method_8();
        }
コード例 #3
0
ファイル: Class4.cs プロジェクト: 15831944/WW
        protected internal override void vmethod_0(Class80 reader)
        {
            Class74 stream = reader.Stream;

            this.ushort_0 = stream.method_8();
            this.short_0  = stream.method_4();
            this.ushort_1 = stream.method_8();
            this.ushort_2 = stream.method_8();
            this.ushort_3 = (ushort)((uint)stream.method_8() & 4294967294U);
            this.short_1  = stream.method_4();
            this.short_2  = stream.method_4();
            this.short_3  = stream.method_4();
            this.short_4  = stream.method_4();
            this.short_5  = stream.method_4();
            this.short_6  = stream.method_4();
            this.short_7  = stream.method_4();
            this.short_8  = stream.method_4();
            this.short_9  = stream.method_4();
            this.short_10 = stream.method_4();
            short num = stream.method_4();

            this.byte_0 = (byte)((uint)num >> 8);
            this.byte_1 = (byte)((uint)num & (uint)byte.MaxValue);
            stream.method_24(this.byte_2, 0, this.byte_2.Length);
            this.uint_0     = stream.method_14();
            this.uint_1     = stream.method_14();
            this.uint_2     = stream.method_14();
            this.uint_3     = stream.method_14();
            this.sbyte_0[0] = stream.method_2();
            this.sbyte_0[1] = stream.method_2();
            this.sbyte_0[2] = stream.method_2();
            this.sbyte_0[3] = stream.method_2();
            this.ushort_4   = stream.method_8();
            this.ushort_5   = stream.method_8();
            this.ushort_6   = stream.method_8();
            this.short_11   = stream.method_4();
            this.short_12   = stream.method_4();
            this.short_13   = stream.method_4();
            this.ushort_7   = stream.method_8();
            this.ushort_8   = stream.method_8();
            this.uint_4     = stream.method_14();
            this.uint_5     = stream.method_14();
            this.short_14   = stream.method_4();
            this.short_15   = stream.method_4();
            this.ushort_9   = stream.method_8();
            this.ushort_10  = stream.method_8();
            this.ushort_11  = stream.method_8();
        }