Пример #1
0
 public ReliableUdpEngine(IPv6UdpClient class164_0, int int_2, IAgileLogger iagileLogger_0, Interface18 interface18_0, string string_1)
 {
     this.object_0           = 0;
     this.emptyAgileLogger_0 = new EmptyAgileLogger();
     this.int_0 = 0x100000;
     this.int_1 = 100;
     this.eventSafeTrigger_0     = new EventSafeTrigger(new EmptyAgileLogger(), "NP0TGVBgJ9QwLAhYTKW.XpFDH2BqcL8UtxuLtNZ");
     this.safeDictionary_0       = new SafeDictionary <IPEndPoint, Class116>();
     this.safeDictionary_1       = new SafeDictionary <IPEndPoint, Class100>();
     this.string_0               = "";
     this.string_0               = string_1;
     this.object_1               = class164_0;
     this.object_1.DataReceived += new CbGeneric <IPEndPoint, byte[]>(this.udpClient_DataReceived);
     this.object_1.Initialize();
     this.int_0 = int_2;
     this.int_1 = this.int_0 / 500;
     this.emptyAgileLogger_0             = iagileLogger_0 ?? new EmptyAgileLogger();
     this.eventSafeTrigger_0.AgileLogger = this.emptyAgileLogger_0;
     this.class32_0 = interface18_0 ?? new Class32();
     this.class32_0.SynAckReceived          += new CbGeneric <IPEndPoint, string>(this.method_7);
     this.class32_0.FeedbackVacancyReceived += new CbGeneric <IPEndPoint, FeedbackVacancyBody>(this.method_6);
     this.class32_0.ExitReceived            += new CbGeneric <IPEndPoint>(this.method_2);
     this.class32_0.PMTUTestAckReceived     += new CbGeneric <IPEndPoint, string, ushort>(this.method_1);
     new CbGeneric(this.CircleQuickly).BeginInvoke(null, null);
     new CbGeneric(this.CircleQuickly2).BeginInvoke(null, null);
 }
Пример #2
0
 public void method_0(IPv6UdpClient class164_0, bool bool_3, Interface18 interface18_0, string string_2)
 {
     this.bool_1 = bool_3;
     class164_0.SetAgileLogger(this.emptyAgileLogger_0);
     class164_0.HandleExcetion += new CbGeneric <Exception>(this.OnException);
     class164_0.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.SendBuffer, this.int_1);
     class164_0.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReceiveBuffer, this.int_2);
     class164_0.IOControl(-1744830452, new byte[] { Convert.ToByte(false) }, null);
     this.int_0 = class164_0.method_2();
     if (!this.bool_0)
     {
         this.string_1 = class164_0.GetIPAddress().ToString();
     }
     if (this.bool_1)
     {
         ReliableUdpEngine class2 = new ReliableUdpEngine(class164_0, this.int_3, this.emptyAgileLogger_0, interface18_0, string_2);
         this.object_0 = class2;
     }
     else
     {
         class164_0.Initialize();
         this.object_0 = class164_0;
     }
     this.interface44_0          = Class128.smethod_0(this.enum6_0, this.interface8_0, this.int_3, this.string_0);
     this.object_0.DataReceived += new CbGeneric <IPEndPoint, byte[]>(this.udpClient_DataReceived);
 }
Пример #3
0
    private void method_16(Class196 A_0, RectangleF A_1, Interface18 A_2)
    {
        bool flag = false;
        int  num  = 0;

        A_1 = new RectangleF(new PointF(A_1.Location.X, A_1.Location.Y + 12f), new SizeF(A_1.Width, A_1.Height - 12f));
        foreach (Footnote footnote in A_0.method_127())
        {
            Class615 class2 = Class615.smethod_0(footnote.TextBody, this, A_1.Width);
            Class375 class3 = class2.vmethod_0(A_1);
            if (class2.method_15() || ((class2.method_1() == LayoutState.NotFitted) && (class2.method_0() != null)))
            {
                RectangleF ef;
                A_0.method_28().method_5().method_7(class3);
                A_2.imethod_1(out ef, out A_1, ref num, ref flag, true);
                A_1.Y += 12f;
                Interface3 interface2 = class2.method_0() as Interface3;
                class2 = Class615.smethod_0(interface2, this, A_1.Width);
                class3 = class2.vmethod_0(A_1);
            }
            A_0.method_28().method_5().method_7(class3);
            A_1 = class2.method_3().method_13();
        }
    }
Пример #4
0
 // Token: 0x06001CC7 RID: 7367
 // RVA: 0x0009A120 File Offset: 0x00098320
 public Class394(OsuString osuString_0, IEnumerable<Class557> ienumerable_1, Interface18 interface18_1, EventHandler eventHandler_1)
 {
     this.interface18_0 = interface18_1;
     Interface19 interface = interface18_1 as Interface19;
Пример #5
0
    public void method_15(Interface3 A_0, Interface18 A_1, Class196 A_2)
    {
        RectangleF ef;
        RectangleF ef2;

        this.bool_0 = A_0 is HeaderFooter;
        bool              flag       = false;
        bool              flag2      = true;
        Interface3        interface2 = A_0;
        List <Interface3> list       = new List <Interface3>();
        List <Class375>   list2      = new List <Class375>();

        this.class196_0 = A_2;
        this.class196_0.method_136(this.bool_0);
        this.class196_0.method_133(A_1);
        this.int_0 = 0;
        while (A_1.imethod_1(out ef, out ef2, ref this.int_0, ref flag, flag2))
        {
            if (ef2.Equals(RectangleF.Empty))
            {
                return;
            }
            this.rectangleF_1 = ef2;
            this.imethod_2(ef);
            Class615 class2 = Class615.smethod_0(interface2, this, ef2.Width);
            Class375 class3 = class2.vmethod_0(ef2);
            if (!flag)
            {
                list.Clear();
                list2.Clear();
                A_1.imethod_2(class3);
            }
            else
            {
                list.Insert(list.Count, interface2);
                list2.Insert(list2.Count, class3);
            }
            if (!class2.method_15() && (((class2.method_1() != LayoutState.NotFitted) || (class2.method_0() == null)) || (!(class2.method_0() is Class65) || !((class2.method_0() as Class65).imethod_4(0) is Section))))
            {
                if ((interface2 is Document) || ((interface2 is Class65) && ((interface2 as Class65).method_2() is Document)))
                {
                    this.method_16(A_2, class2.method_3().method_13(), A_1);
                    return;
                }
                break;
            }
            if ((class2.method_1() == LayoutState.NotFitted) && (class2.method_0() != null))
            {
                (this.delegate3_0.Target as Class195).method_36(true);
            }
            this.method_18(class2);
            Class65 class4 = class2.method_0() as Class65;
            bool    flag3  = flag;
            if (A_1.imethod_4(class4, class2.method_1(), class3, ref flag3))
            {
                if (flag3 && flag)
                {
                    int count = list2.Count;
                    for (int i = 0; i < count; i++)
                    {
                        A_1.imethod_2(list2[0]);
                        list.RemoveAt(0);
                        list2.RemoveAt(0);
                    }
                }
                else if (flag)
                {
                    A_1.imethod_3(class3);
                }
                interface2 = class4;
            }
            else
            {
                A_1.imethod_3(class3);
                if (list.Count > 0)
                {
                    interface2 = list[0];
                }
            }
        }
    }
Пример #6
0
 public ReliableUdpEngine(IPv6UdpClient class164_0, int int_2, IAgileLogger iagileLogger_0, Interface18 interface18_0) : this(class164_0, int_2, iagileLogger_0, interface18_0, "")
 {
 }