Sfoglia il codice sorgente

FIX: Compile time error. I forget what means of this function, commit it.

Xing Cheng 3 anni fa
parent
commit
b9f7ac064b
1 ha cambiato i file con 12 aggiunte e 12 eliminazioni
  1. 12 12
      ConnectionClient.cs

+ 12 - 12
ConnectionClient.cs

@@ -40,20 +40,20 @@ namespace Island.StandardLib
                     throw new PlayerSocketFatalException("client", PlayerSocketFatalExceptionType.InternalDuplicatePlayerThreadStart);
             clientLoop = new Thread(ClientLoop) { IsBackground = true };
             clientLoop.Start();
-            KeepConnect<int, object>()(default);
+            //KeepConnect<int, object>()(default);
         }
 
-        public Func<TIn, TOut> KeepConnect<TIn, TOut>() where TIn : struct where TOut : class
-        {
-            return t =>
-            {
-                KeepConnect();
-                Func<TOut> func = () =>
-                {
-                    return default(TOut);
-                };
-            };
-        }
+        //public Func<TIn, TOut> KeepConnect<TIn, TOut>() where TIn : struct where TOut : class
+        //{
+        //    return t =>
+        //    {
+        //        KeepConnect();
+        //        Func<TOut> func = () =>
+        //        {
+        //            return default(TOut);
+        //        };
+        //    };
+        //}
         
         public LoginResult ConnectAsLogin<RequestType>(RequestType request)
             where RequestType : ILoginOrRegisterRequest, IStorable, new()