示例#1
0
        public virtual void vmethod_5()
        {
            bool  flag  = false;
            bool  flag2 = false;
            Enum5 @enum = this.class107_0.method_8();

            do
            {
                for (int i = 0; i < this.int_0; i++)
                {
                    flag = this.class94_0[i].vmethod_2(this.class82_0);
                }
                do
                {
                    for (int i = 0; i < this.int_0; i++)
                    {
                        flag2 = this.class94_0[i].vmethod_3(this.enum4_0, this.class80_0, this.class80_1);
                    }
                    this.class80_0.method_22(this.class84_0);
                    if (this.enum4_0 == Enum4.const_0 && @enum != Enum5.const_3)
                    {
                        this.class80_1.method_22(this.class84_0);
                    }
                }while (!flag2);
            }while (!flag);
        }
示例#2
0
 // Token: 0x060011C1 RID: 4545 RVA: 0x00003BB4 File Offset: 0x00001DB4
 public void CdromBurnStateChange(GInterface5 pCdromBurn, Enum5 wmpbs)
 {
     if (this.delegate54_0 != null)
     {
         this.delegate54_0(pCdromBurn, wmpbs);
         return;
     }
 }
示例#3
0
    internal string Authorize()
    {
        if (this.string_1 != Class62.string_0)
        {
            return("100");
        }
        if (SecurityHelper.MD5String(Class62.string_1) != this.string_2)
        {
            return("101");
        }
        if (this.bool_2 && (DateTime.Now > this.dateTime_0))
        {
            return("102");
        }
        Enum5 enum2 = this.method_4();

        if (enum2 != ((Enum5)0))
        {
            return("106 - " + Class120.smethod_1(enum2));
        }
        if (this.bool_0)
        {
            bool flag = true;
            try
            {
                flag = this.AllowStartNewInstance("http://59.175.145.163/AuthorizeService.asmx");
            }
            catch
            {
                try
                {
                    flag = this.AllowStartNewInstance("http://ws.oraycn.com/AuthorizeService.asmx");
                }
                catch
                {
                }
            }
            if (!flag)
            {
                return("103");
            }
        }
        if ((this.enum3_0 == ((Enum3)1)) && !this.CheckToken(this.string_0))
        {
            return("104");
        }
        return(null);
    }
示例#4
0
 public virtual void imethod_0()
 {
     try
     {
         this.int_0 = this.class107_0.method_25();
         this.class94_0 = new Class92.Class94[32];
         this.enum5_0 = this.class107_0.method_8();
         this.vmethod_1();
         this.vmethod_2();
         this.vmethod_3();
         if (this.class101_0 != null || this.class107_0.method_12())
         {
             this.vmethod_4();
             this.vmethod_5();
         }
     }
     catch
     {
     }
 }
示例#5
0
 public static string smethod_1(Enum5 enum5_0)
 {
     if (enum5_0 == ((Enum5)0))
     {
         return("Succeed");
     }
     if (enum5_0 == ((Enum5)1))
     {
         return("ParseFail");
     }
     if (enum5_0 == ((Enum5)2))
     {
         return("ErrorSN");
     }
     if (enum5_0 == ((Enum5)3))
     {
         return("Expired");
     }
     return("");
 }
示例#6
0
文件: Class92.cs 项目: uwx/Open-GHTCP
 public virtual void imethod_0()
 {
     try
     {
         Int0     = Class1070.method_25();
         Class940 = new Class94[32];
         Enum50   = Class1070.method_8();
         vmethod_1();
         vmethod_2();
         vmethod_3();
         if (Class1010 != null || Class1070.method_12())
         {
             vmethod_4();
             vmethod_5();
         }
     }
     catch
     {
     }
 }
示例#7
0
 public virtual void imethod_0()
 {
     try
     {
         this.int_0     = this.class107_0.method_25();
         this.class94_0 = new Class92.Class94[32];
         this.enum5_0   = this.class107_0.method_8();
         this.vmethod_1();
         this.vmethod_2();
         this.vmethod_3();
         if (this.class101_0 != null || this.class107_0.method_12())
         {
             this.vmethod_4();
             this.vmethod_5();
         }
     }
     catch
     {
     }
 }
示例#8
0
        private void method_3(zzSoundClass class107_0)
        {
            Enum5 @enum = class107_0.method_8();

            class107_0.method_4();
            int num = (@enum == Enum5.const_3 || this.class104_1.method_0() != Enum4.const_0) ? 1 : 2;

            if (this.class84_0 == null)
            {
                this.class84_0 = new Class84(num);
            }
            float[] float_ = this.class105_0.method_0();
            this.class80_0 = new Class80(0, float_);
            if (num == 2)
            {
                this.class80_1 = new Class80(1, float_);
            }
            this.int_1  = num;
            this.int_0  = class107_0.method_7();
            this.bool_0 = true;
        }
示例#9
0
 private static extern uint GdipEmfToWmfBits(IntPtr intptr_0, uint uint_0, byte[] byte_0, int int_10, Enum5 enum5_0);
示例#10
0
 public void method_1(Class82 class82_0, Class101[] class101_1)
 {
     bool flag = false;
     while (true)
     {
         int num = class82_0.method_9(this.byte_0);
         this.int_14 = num;
         if (this.byte_0 == Class82.byte_1)
         {
             this.enum3_0 = (Enum3)(num >> 19 & 1);
             if ((num >> 20 & 1) == 0)
             {
                 if (this.enum3_0 != Enum3.const_0)
                 {
                     goto IL_1EE;
                 }
                 this.enum3_0 = Enum3.const_2;
             }
             if ((this.int_6 = (num >> 10 & 3)) == 3)
             {
                 goto Block_20;
             }
         }
         this.int_1 = (4 - (num >> 17) & 3);
         this.int_2 = (num >> 16 & 1);
         this.int_3 = (num >> 12 & 15);
         this.int_4 = (num >> 9 & 1);
         this.enum5_0 = (Enum5)(num >> 6 & 3);
         this.int_5 = (num >> 4 & 3);
         if (this.enum5_0 == Enum5.const_1)
         {
             this.int_8 = (this.int_5 << 2) + 4;
         }
         else
         {
             this.int_8 = 0;
         }
         if ((num >> 3 & 1) == 1)
         {
             this.bool_0 = true;
         }
         if ((num >> 2 & 1) == 1)
         {
             this.bool_1 = true;
         }
         if (this.int_1 == 1)
         {
             this.int_7 = 32;
         }
         else
         {
             int num2 = this.int_3;
             if (this.enum5_0 != Enum5.const_3)
             {
                 if (num2 == 4)
                 {
                     num2 = 1;
                 }
                 else
                 {
                     num2 -= 4;
                 }
             }
             if (num2 != 1)
             {
                 if (num2 != 2)
                 {
                     if (this.int_6 != 1 && (num2 < 3 || num2 > 5))
                     {
                         this.int_7 = 30;
                         goto IL_102;
                     }
                     this.int_7 = 27;
                     goto IL_102;
                 }
             }
             this.int_7 = ((this.int_6 == 2) ? 12 : 8);
         }
         IL_102:
         if (this.int_8 > this.int_7)
         {
             this.int_8 = this.int_7;
         }
         this.method_15();
         int num3 = class82_0.method_11(this.int_12);
         if (this.int_12 >= 0 && num3 != this.int_12)
         {
             break;
         }
         if (class82_0.method_8((int)this.byte_0))
         {
             if (this.byte_0 == Class82.byte_1)
             {
                 this.byte_0 = Class82.byte_2;
                 class82_0.method_14(num & -521024);
             }
             flag = true;
         }
         else
         {
             class82_0.method_6();
         }
         if (flag)
         {
             goto Block_17;
         }
     }
     throw new BitstreamException(BitstreamError.InvalidFrame);
     Block_17:
     class82_0.method_12();
     if (this.int_2 == 0)
     {
         this.short_0 = (short)class82_0.method_13(16);
         if (this.class101_0 == null)
         {
             this.class101_0 = new Class101();
         }
         int num=0;
         this.class101_0.method_0(num, 16);
         class101_1[0] = this.class101_0;
     }
     else
     {
         class101_1[0] = null;
     }
     return;
     Block_20:
     throw new BitstreamException(BitstreamError.UnknownError);
     IL_1EE:
     throw new BitstreamException(BitstreamError.UnknownError);
 }
示例#11
0
            public Struct18 method_0()
            {
                short  num   = this.method_1();
                Enum5  enum5 = Class820.smethod_2((int)num);
                object obj;

                switch (enum5)
                {
                case Enum5.const_1:
                    obj = (object)this.interface30_0.imethod_6();
                    break;

                case Enum5.const_2:
                    obj = (object)this.interface30_0.imethod_18();
                    break;

                case Enum5.const_3:
                    obj = (object)this.interface30_0.imethod_19((int)this.interface30_0.imethod_14());
                    break;

                case Enum5.const_4:
                    obj = (object)this.interface30_0.imethod_8();
                    break;

                case Enum5.const_5:
                    obj = (object)DxfHandledObject.Parse(this.interface30_1.ReadString());
                    break;

                case Enum5.const_6:
                    obj = (object)this.interface30_1.ReadString();
                    break;

                case Enum5.const_7:
                    throw new Exception("Object ID is not supported.");

                case Enum5.const_8:
                case Enum5.const_9:
                case Enum5.const_14:
                case Enum5.const_15:
                    obj = (object)this.list_0[this.int_0++].ObjectReference;
                    break;

                case Enum5.const_10:
                case Enum5.const_17:
                    obj = (object)this.interface30_0.imethod_14();
                    break;

                case Enum5.const_11:
                    obj = (object)this.interface30_0.imethod_11();
                    break;

                case Enum5.const_12:
                    obj = (object)this.interface30_0.imethod_12();
                    break;

                case Enum5.const_13:
                    obj = (object)this.interface30_0.imethod_39();
                    break;

                case Enum5.const_16:
                    obj = (object)this.interface30_1.ReadString();
                    break;

                default:
                    throw new Exception("Unsupported group value type " + (object)enum5 + ".");
                }
                return(new Struct18((int)num, obj));
            }
示例#12
0
        public override void Write(DxfWriter w)
        {
            base.Write(w);
            switch (this.DataType)
            {
            case Enum26.const_0:
                Enum5 enum5 = Class820.smethod_2(this.Data.Code);
                bool  flag;
                switch (enum5)
                {
                case Enum5.const_1:
                    flag = (bool)this.Data.Value;
                    break;

                case Enum5.const_10:
                case Enum5.const_17:
                    flag = this.Data.Int16 != (short)0;
                    break;

                default:
                    throw new Exception("Invalid group value type " + (object)enum5 + ".");
                }
                w.Write(291, (object)flag);
                break;

            case Enum26.const_1:
                w.Write(0, this.Data.Value);
                break;

            case Enum26.const_2:
                w.Write(281, this.Data.Value);
                break;

            case Enum26.const_3:
                w.Write(70, (object)this.Data.Int16);
                break;

            case Enum26.const_4:
                w.Write(92, this.Data.Value);
                break;

            case Enum26.const_5:
                w.Write(160, this.Data.Value);
                break;

            case Enum26.const_6:
                w.Write(282, this.Data.Value);
                break;

            case Enum26.const_7:
                w.Write(71, (object)this.Data.UInt16);
                break;

            case Enum26.const_8:
                w.Write(93, this.Data.Value);
                break;

            case Enum26.const_9:
                w.Write(320, this.Data.Value);
                break;

            case Enum26.const_10:
                w.Write(41, this.Data.Value);
                break;

            case Enum26.const_11:
                w.Write(40, this.Data.Value);
                break;

            case Enum26.const_12:
                throw new Exception();

            case Enum26.const_13:
            case Enum26.const_14:
                if (this.Data.Value == null)
                {
                    throw new Exception("No binary data");
                }
                byte[] numArray1 = this.Data.Value as byte[];
                if (numArray1 != null)
                {
                    w.Write(94, (object)numArray1.Length);
                    int    num       = numArray1.Length / (int)sbyte.MaxValue;
                    byte[] numArray2 = new byte[(int)sbyte.MaxValue];
                    for (int index = 0; index < num; ++index)
                    {
                        Array.Copy((Array)numArray1, index * (int)sbyte.MaxValue, (Array)numArray2, 0, (int)sbyte.MaxValue);
                        w.Write(310, (object)numArray2);
                    }
                    int    length    = numArray1.Length % (int)sbyte.MaxValue;
                    byte[] numArray3 = new byte[length];
                    Array.Copy((Array)numArray1, numArray1.Length - length, (Array)numArray3, 0, length);
                    w.Write(310, (object)numArray3);
                    break;
                }
                Stream stream = this.Data.Value as Stream;
                if (stream == null)
                {
                    throw new Exception("Unexpected binary data value type " + (object)this.Data.Value.GetType());
                }
                long position = stream.Position;
                stream.Position = 0L;
                w.Write(94, (object)(int)stream.Length);
                int    num1    = (int)stream.Length / (int)sbyte.MaxValue;
                byte[] buffer1 = new byte[(int)sbyte.MaxValue];
                for (int index = 0; index < num1; ++index)
                {
                    stream.Read(buffer1, 0, (int)sbyte.MaxValue);
                    w.Write(310, (object)buffer1);
                }
                int    count   = (int)stream.Length % (int)sbyte.MaxValue;
                byte[] buffer2 = new byte[count];
                stream.Read(buffer2, 0, count);
                w.Write(310, (object)buffer2);
                stream.Position = position;
                break;

            default:
                throw new Exception();
            }
        }
示例#13
0
            public void imethod_0(Struct18 group)
            {
                this.interface29_0.imethod_32((short)group.Code);
                Enum5 enum5 = Class820.smethod_2(group.Code);

                switch (enum5)
                {
                case Enum5.const_1:
                    this.interface29_0.imethod_14((bool)group.Value);
                    break;

                case Enum5.const_2:
                    this.interface29_0.imethod_11((byte)group.Value);
                    break;

                case Enum5.const_3:
                    byte[] bytes = (byte[])group.Value;
                    this.interface29_0.imethod_32((short)bytes.Length);
                    this.interface29_0.imethod_12(bytes);
                    break;

                case Enum5.const_4:
                    this.interface29_0.imethod_16((double)group.Value);
                    break;

                case Enum5.const_5:
                    this.interface29_0.imethod_37((byte)0, (ulong)group.Value);
                    break;

                case Enum5.const_6:
                    this.interface29_0.imethod_37((byte)0, DxfHandledObject.Parse((string)group.Value));
                    break;

                case Enum5.const_7:
                    throw new Exception("Object ID is not supported.");

                case Enum5.const_8:
                    this.interface29_0.imethod_41((DxfHandledObject)((DxfObjectReference)group.Value).Value);
                    break;

                case Enum5.const_9:
                    this.interface29_0.imethod_39((DxfHandledObject)((DxfObjectReference)group.Value).Value);
                    break;

                case Enum5.const_10:
                case Enum5.const_17:
                    this.interface29_0.imethod_32((short)group.Value);
                    break;

                case Enum5.const_11:
                    this.interface29_0.imethod_33((int)group.Value);
                    break;

                case Enum5.const_12:
                    this.interface29_0.imethod_34((long)group.Value);
                    break;

                case Enum5.const_13:
                    this.interface29_0.imethod_24((WW.Math.Point3D)group.Value);
                    break;

                case Enum5.const_14:
                    this.interface29_0.imethod_38((DxfHandledObject)((DxfObjectReference)group.Value).Value);
                    break;

                case Enum5.const_15:
                    this.interface29_0.imethod_40((DxfHandledObject)((DxfObjectReference)group.Value).Value);
                    break;

                case Enum5.const_16:
                    this.interface29_0.imethod_4((string)group.Value);
                    break;

                default:
                    throw new Exception("Unsupported group value type " + (object)enum5 + ".");
                }
            }
示例#14
0
        public void method_1(Class82 class82_0, Class101[] class101_1)
        {
            bool flag = false;

            while (true)
            {
                int num = class82_0.method_9(this.byte_0);
                this.int_14 = num;
                if (this.byte_0 == Class82.byte_1)
                {
                    this.enum3_0 = (Enum3)(num >> 19 & 1);
                    if ((num >> 20 & 1) == 0)
                    {
                        if (this.enum3_0 != Enum3.const_0)
                        {
                            goto IL_1EE;
                        }
                        this.enum3_0 = Enum3.const_2;
                    }
                    if ((this.int_6 = (num >> 10 & 3)) == 3)
                    {
                        goto Block_20;
                    }
                }
                this.int_1   = (4 - (num >> 17) & 3);
                this.int_2   = (num >> 16 & 1);
                this.int_3   = (num >> 12 & 15);
                this.int_4   = (num >> 9 & 1);
                this.enum5_0 = (Enum5)(num >> 6 & 3);
                this.int_5   = (num >> 4 & 3);
                if (this.enum5_0 == Enum5.const_1)
                {
                    this.int_8 = (this.int_5 << 2) + 4;
                }
                else
                {
                    this.int_8 = 0;
                }
                if ((num >> 3 & 1) == 1)
                {
                    this.bool_0 = true;
                }
                if ((num >> 2 & 1) == 1)
                {
                    this.bool_1 = true;
                }
                if (this.int_1 == 1)
                {
                    this.int_7 = 32;
                }
                else
                {
                    int num2 = this.int_3;
                    if (this.enum5_0 != Enum5.const_3)
                    {
                        if (num2 == 4)
                        {
                            num2 = 1;
                        }
                        else
                        {
                            num2 -= 4;
                        }
                    }
                    if (num2 != 1)
                    {
                        if (num2 != 2)
                        {
                            if (this.int_6 != 1 && (num2 < 3 || num2 > 5))
                            {
                                this.int_7 = 30;
                                goto IL_102;
                            }
                            this.int_7 = 27;
                            goto IL_102;
                        }
                    }
                    this.int_7 = ((this.int_6 == 2) ? 12 : 8);
                }
IL_102:
                if (this.int_8 > this.int_7)
                {
                    this.int_8 = this.int_7;
                }
                this.method_15();
                int num3 = class82_0.method_11(this.int_12);
                if (this.int_12 >= 0 && num3 != this.int_12)
                {
                    break;
                }
                if (class82_0.method_8((int)this.byte_0))
                {
                    if (this.byte_0 == Class82.byte_1)
                    {
                        this.byte_0 = Class82.byte_2;
                        class82_0.method_14(num & -521024);
                    }
                    flag = true;
                }
                else
                {
                    class82_0.method_6();
                }
                if (flag)
                {
                    goto Block_17;
                }
            }
            throw new BitstreamException(BitstreamError.InvalidFrame);
Block_17:
            class82_0.method_12();
            if (this.int_2 == 0)
            {
                this.short_0 = (short)class82_0.method_13(16);
                if (this.class101_0 == null)
                {
                    this.class101_0 = new Class101();
                }
                int num = 0;
                this.class101_0.method_0(num, 16);
                class101_1[0] = this.class101_0;
            }
            else
            {
                class101_1[0] = null;
            }
            return;

Block_20:
            throw new BitstreamException(BitstreamError.UnknownError);
IL_1EE:
            throw new BitstreamException(BitstreamError.UnknownError);
        }
 // Token: 0x060013BB RID: 5051 RVA: 0x00004DC0 File Offset: 0x00002FC0
 public Class54(GInterface5 ginterface5_1, Enum5 enum5_1)
 {
     this.ginterface5_0 = ginterface5_1;
     this.enum5_0       = enum5_1;
 }
示例#16
0
        // Token: 0x06001456 RID: 5206 RVA: 0x00025070 File Offset: 0x00023270
        public void CdromBurnStateChange(GInterface5 pCdromBurn, Enum5 wmpbs)
        {
            Class54 class54_ = new Class54(pCdromBurn, wmpbs);

            this.class24_0.method_34(this.class24_0, class54_);
        }
示例#17
0
        public void method_1(Class82 class820, Class101[] class1011)
        {
            var flag = false;

            while (true)
            {
                var num = class820.method_9(_byte0);
                _int14 = num;
                if (_byte0 == Class82.Byte1)
                {
                    _enum30 = (Enum3)(num >> 19 & 1);
                    if ((num >> 20 & 1) == 0)
                    {
                        if (_enum30 != Enum3.Const0)
                        {
                            goto IL_1EE;
                        }
                        _enum30 = Enum3.Const2;
                    }
                    if ((_int6 = (num >> 10 & 3)) == 3)
                    {
                        goto Block_20;
                    }
                }
                _int1   = (4 - (num >> 17) & 3);
                _int2   = (num >> 16 & 1);
                _int3   = (num >> 12 & 15);
                _int4   = (num >> 9 & 1);
                _enum50 = (Enum5)(num >> 6 & 3);
                _int5   = (num >> 4 & 3);
                if (_enum50 == Enum5.Const1)
                {
                    _int8 = (_int5 << 2) + 4;
                }
                else
                {
                    _int8 = 0;
                }
                if ((num >> 3 & 1) == 1)
                {
                    _bool0 = true;
                }
                if ((num >> 2 & 1) == 1)
                {
                    _bool1 = true;
                }
                if (_int1 == 1)
                {
                    _int7 = 32;
                }
                else
                {
                    var num2 = _int3;
                    if (_enum50 != Enum5.Const3)
                    {
                        if (num2 == 4)
                        {
                            num2 = 1;
                        }
                        else
                        {
                            num2 -= 4;
                        }
                    }
                    if (num2 != 1)
                    {
                        if (num2 != 2)
                        {
                            if (_int6 != 1 && (num2 < 3 || num2 > 5))
                            {
                                _int7 = 30;
                                goto IL_102;
                            }
                            _int7 = 27;
                            goto IL_102;
                        }
                    }
                    _int7 = ((_int6 == 2) ? 12 : 8);
                }
IL_102:
                if (_int8 > _int7)
                {
                    _int8 = _int7;
                }
                method_15();
                var num3 = class820.method_11(Int12);
                if (Int12 >= 0 && num3 != Int12)
                {
                    break;
                }
                if (class820.method_8(_byte0))
                {
                    if (_byte0 == Class82.Byte1)
                    {
                        _byte0 = Class82.Byte2;
                        class820.method_14(num & -521024);
                    }
                    flag = true;
                }
                else
                {
                    class820.method_6();
                }
                if (flag)
                {
                    goto Block_17;
                }
            }
            throw new BitstreamException(BitstreamError.InvalidFrame);
Block_17:
            class820.method_12();
            if (_int2 == 0)
            {
                Short0 = (short)class820.method_13(16);
                if (_class1010 == null)
                {
                    _class1010 = new Class101();
                }
                var num = 0;
                _class1010.method_0(num, 16);
                class1011[0] = _class1010;
            }
            else
            {
                class1011[0] = null;
            }
            return;

Block_20:
            throw new BitstreamException(BitstreamError.UnknownError);
IL_1EE:
            throw new BitstreamException(BitstreamError.UnknownError);
        }