// Token: 0x06001314 RID: 4884 RVA: 0x00004990 File Offset: 0x00002B90
 internal void method_46(object object_0, Class63 class63_0)
 {
     if (this.delegate158_0 != null)
     {
         this.delegate158_0(object_0, class63_0);
     }
 }
Esempio n. 2
0
        private void method_0(Class53 dc)
        {
            Class63 lpgs = new Class63();

            if (Class61.GetFontUnicodeRanges(dc.Handle, lpgs) == 0U)
            {
                throw new Exception("Unable to retrieve unicode ranges.");
            }
            this.class76_0 = new Class76[lpgs.uint_3];
            int index1 = 0;
            int num1   = 0;

            for (; (long)index1 < (long)lpgs.uint_3; ++index1)
            {
                byte[] byte0_1 = lpgs.byte_0;
                int    index2  = num1;
                int    num2    = index2 + 1;
                int    num3    = (int)byte0_1[index2];
                byte[] byte0_2 = lpgs.byte_0;
                int    index3  = num2;
                int    num4    = index3 + 1;
                int    num5    = (int)byte0_2[index3] << 8;
                ushort start   = (ushort)(num3 + num5);
                byte[] byte0_3 = lpgs.byte_0;
                int    index4  = num4;
                int    num6    = index4 + 1;
                int    num7    = (int)byte0_3[index4];
                byte[] byte0_4 = lpgs.byte_0;
                int    index5  = num6;
                num1 = index5 + 1;
                int    num8 = (int)byte0_4[index5] << 8;
                ushort num9 = (ushort)(num7 + num8);
                this.class76_0[index1] = new Class76(dc, start, (ushort)((int)start + (int)num9 - 1));
            }
        }