Ejemplo n.º 1
0
    public void RegisterCallback(int int_2, int int_3, Delegate0 delegate0_0, object object_0)
    {
        string  str    = this.method_1(int_2, int_3);
        Class74 class2 = new Class74(str, delegate0_0, object_0);

        this.safeDictionary_0.Add(str, class2);
    }
Ejemplo n.º 2
0
    private void imethod_1(int A_0, Class74 A_1)
    {
        int      num    = base.method_8() + 1;
        Class286 class2 = new Class286(num, A_0, A_1);

        base.method_7().Add(class2);
    }
Ejemplo n.º 3
0
        protected internal override void vmethod_0(Class80 reader)
        {
            Class74 stream = reader.Stream;
            int     num1   = (int)stream.method_8();
            int     num2   = (int)stream.method_8();

            this.ushort_0 = stream.method_8();
            for (int index = 0; index < num2; ++index)
            {
                int num3         = (int)stream.method_8();
                int num4         = (int)stream.method_8();
                int num5         = (int)stream.method_8();
                int num6         = (int)stream.method_8();
                int length       = (int)stream.method_8();
                int stringOffset = (int)stream.method_8();
                if (num3 == 3 && (num4 == 0 || num4 == 1) && num5 == 1033)
                {
                    switch (num6)
                    {
                    case 1:
                        this.string_0 = this.method_0(stream, stringOffset, length);
                        break;

                    case 4:
                        this.string_1 = this.method_0(stream, stringOffset, length);
                        break;
                    }
                    if (this.string_0 != string.Empty && this.string_1 != string.Empty)
                    {
                        break;
                    }
                }
            }
        }
Ejemplo n.º 4
0
        protected internal override void vmethod_0(Class80 reader)
        {
            Class74 stream = reader.Stream;

            stream.method_25(2L);
            int num1 = (int)stream.method_8();

            for (int index1 = 0; index1 < num1; ++index1)
            {
                stream.method_25(2L);
                ushort num2 = stream.method_8();
                ushort num3 = stream.method_8();
                if (((int)num3 & 1) == 1 && ((int)num3 & 2) == 0 && (int)num3 >> 8 == 0)
                {
                    int numPairs = (int)stream.method_8();
                    this.bool_0    = true;
                    this.class77_0 = new Class77(numPairs);
                    stream.method_25(6L);
                    for (int index2 = 0; index2 < numPairs; ++index2)
                    {
                        this.class77_0.method_1(stream.method_8(), stream.method_8(), (int)stream.method_6());
                    }
                }
                else
                {
                    stream.method_25((long)((int)num2 - 6));
                }
            }
        }
Ejemplo n.º 5
0
 private string method_0(Class74 stream, int stringOffset, int length)
 {
     stream.method_26();
     stream.Position = (long)(this.Entry.Offset + (uint)this.ushort_0) + (long)stringOffset;
     byte[] numArray = new byte[length];
     stream.method_24(numArray, 0, length);
     stream.method_27();
     return(Encoding.BigEndianUnicode.GetString(numArray, 0, numArray.Length));
 }
Ejemplo n.º 6
0
        protected internal override void vmethod_1(Class79 writer)
        {
            Class74 stream = writer.Stream;

            foreach (Class57 class57 in (IEnumerable <Class57>) this.ilist_0)
            {
                stream.method_9((int)class57.AdvanceWidth);
                stream.method_5((int)class57.LeftSideBearing);
            }
        }
Ejemplo n.º 7
0
        protected internal override void vmethod_0(Class80 reader)
        {
            Class74 stream        = reader.Stream;
            bool    isShortFormat = reader.method_3().IsShortFormat;
            int     capacity      = reader.method_4().GlyphCount + 1;

            this.ilist_0 = (IList <uint>) new List <uint>(capacity);
            for (int index = 0; index < capacity; ++index)
            {
                this.ilist_0.Insert(index, isShortFormat ? (uint)stream.method_8() << 1 : stream.method_14());
            }
        }
Ejemplo n.º 8
0
        protected internal void method_0(Class74 stream)
        {
            stream.method_25(4L);
            int capacity = (int)stream.method_8();

            stream.method_25(6L);
            this.idictionary_0 = (IDictionary <string, Class41>) new Dictionary <string, Class41>(capacity);
            for (int index = 0; index < capacity; ++index)
            {
                Class41 class41 = new Class41(stream.method_20(), stream.method_14(), stream.method_14(), stream.method_14());
                this.idictionary_0.Add(class41.TableName, class41);
            }
        }
Ejemplo n.º 9
0
 public Class79(System.IO.Stream stream)
 {
     if (stream == null)
     {
         throw new ArgumentNullException(nameof(stream), "Supplied stream cannot be a null reference");
     }
     if (!stream.CanWrite)
     {
         throw new ArgumentException("The supplied stream is not writable", nameof(stream));
     }
     this.class74_0     = new Class74(stream);
     this.idictionary_0 = (IDictionary <string, Class0>) new Dictionary <string, Class0>();
 }
Ejemplo n.º 10
0
        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();
        }
Ejemplo n.º 11
0
    public void PushResponse(IMessageHandler interface37_0)
    {
        string  id     = this.method_1(interface37_0.Header.MessageType, interface37_0.Header.MessageID);
        Class74 class2 = this.safeDictionary_0.Get(id);

        if (class2 != null)
        {
            this.safeDictionary_0.Remove(id);
            if (class2.method_1() != null)
            {
                class2.method_1()(null, interface37_0, class2.method_2());
            }
        }
        else
        {
            this.safeDictionary_1.Add(id, new Class73(id, interface37_0, DateTime.Now));
        }
    }
Ejemplo n.º 12
0
 internal Class286(int A_0, int A_1, Class74 A_2) : this()
 {
     this.int_0 = A_0;
     this.int_3 = A_1;
     if (A_2 != null)
     {
         this.int_1 = A_2.int_0;
         this.int_2 = A_2.int_1;
         this.int_4 = A_2.int_2;
         this.int_5 = A_2.int_3;
     }
     else
     {
         this.int_1 = 0;
         this.int_2 = 0;
         this.int_4 = -1;
         this.int_5 = -1;
     }
 }
Ejemplo n.º 13
0
        protected internal override void vmethod_1(Class79 writer)
        {
            Class74 stream = writer.Stream;

            stream.method_17(this.int_0);
            stream.method_7((int)this.short_0);
            stream.method_7((int)this.short_1);
            stream.method_7((int)this.short_2);
            stream.method_11((int)this.ushort_0);
            stream.method_7((int)this.short_3);
            stream.method_7((int)this.short_4);
            stream.method_7((int)this.short_5);
            stream.method_5((int)this.short_6);
            stream.method_5((int)this.short_7);
            stream.method_5((int)this.short_8);
            stream.method_5(0);
            stream.method_5(0);
            stream.method_5(0);
            stream.method_5(0);
            stream.method_5((int)this.short_9);
            stream.method_9((int)this.ushort_1);
        }
Ejemplo n.º 14
0
        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();
        }
Ejemplo n.º 15
0
        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()));
            }
        }
Ejemplo n.º 16
0
        protected internal override void vmethod_1(Class79 writer)
        {
            Class74 stream = writer.Stream;

            stream.method_17(this.int_0);
            stream.method_9((int)this.ushort_0);
            if (this.int_0 != 65536)
            {
                return;
            }
            stream.method_9((int)this.ushort_1);
            stream.method_9((int)this.ushort_2);
            stream.method_9((int)this.ushort_3);
            stream.method_9((int)this.ushort_4);
            stream.method_9((int)this.ushort_5);
            stream.method_9((int)this.ushort_6);
            stream.method_9((int)this.ushort_7);
            stream.method_9((int)this.ushort_8);
            stream.method_9((int)this.ushort_9);
            stream.method_9((int)this.ushort_10);
            stream.method_9((int)this.ushort_11);
            stream.method_9((int)this.ushort_12);
            stream.method_9((int)this.ushort_13);
        }
Ejemplo n.º 17
0
        protected internal override void vmethod_0(Class80 reader)
        {
            Class74 stream = reader.Stream;

            this.int_0    = stream.method_16();
            this.ushort_0 = stream.method_8();
            if (this.int_0 != 65536)
            {
                return;
            }
            this.ushort_1  = stream.method_8();
            this.ushort_2  = stream.method_8();
            this.ushort_3  = stream.method_8();
            this.ushort_4  = stream.method_8();
            this.ushort_5  = stream.method_8();
            this.ushort_6  = stream.method_8();
            this.ushort_7  = stream.method_8();
            this.ushort_8  = stream.method_8();
            this.ushort_9  = stream.method_8();
            this.ushort_10 = stream.method_8();
            this.ushort_11 = stream.method_8();
            this.ushort_12 = stream.method_8();
            this.ushort_13 = stream.method_8();
        }