protected static void RegisterSyncListDelegate(Type invokeClass, int cmdHash, NetworkBehaviour.CmdDelegate func)
 {
     if (!NetworkBehaviour.s_CmdHandlerDelegates.ContainsKey(cmdHash))
     {
         NetworkBehaviour.Invoker invoker = new NetworkBehaviour.Invoker();
         invoker.invokeType     = NetworkBehaviour.UNetInvokeType.SyncList;
         invoker.invokeClass    = invokeClass;
         invoker.invokeFunction = func;
         NetworkBehaviour.s_CmdHandlerDelegates[cmdHash] = invoker;
         if (LogFilter.logDev)
         {
             Debug.Log(string.Concat(new object[]
             {
                 "RegisterSyncListDelegate hash:",
                 cmdHash,
                 " ",
                 func.GetMethodName()
             }));
         }
     }
 }