Esempio n. 1
0
 private void method_9(bool bool_1)
 {
     if (!this.bool_0 && bool_1)
     {
         this.bool_0 = true;
         try
         {
             base.Shutdown(SocketShutdown.Both);
             base.Close();
             base.Dispose();
         }
         catch
         {
         }
         Array.Clear(this.mDataBuffer, 0, this.mDataBuffer.Length);
         this.mDataBuffer                = null;
         this.mDataReceivedCallback      = null;
         this.mRouteReceivedDataCallback = null;
         GoldTree.smethod_14().method_6(this.uint_0);
         AntiDDosSystem.FreeConnection(this.string_0);
         if (GoldTree.GetConfig().data["emu.messages.connections"] == "1")
         {
             Console.WriteLine(string.Concat(new object[]
             {
                 ">> Connection Dropped [",
                 this.uint_0,
                 "] from [",
                 this.String_0,
                 "]"
             }));
         }
     }
 }
Esempio n. 2
0
        public void method_9(uint uint_0)
        {
            GameClient @class = this.method_7(uint_0);

            if (@class != null)
            {
                GoldTree.smethod_14().method_6(uint_0);
                @class.method_11();
                this.Session[(int)((UIntPtr)uint_0)] = null;
            }
        }