Пример #1
0
 internal static string GetInvoker(int cmdHash)
 {
     if (!NetworkBehaviour.s_CmdHandlerDelegates.ContainsKey(cmdHash))
     {
         return(null);
     }
     NetworkBehaviour.Invoker invoker = NetworkBehaviour.s_CmdHandlerDelegates[cmdHash];
     return(invoker.DebugString());
 }
        internal static string GetInvoker(int cmdHash)
        {
            string result;

            if (!NetworkBehaviour.s_CmdHandlerDelegates.ContainsKey(cmdHash))
            {
                result = null;
            }
            else
            {
                NetworkBehaviour.Invoker invoker = NetworkBehaviour.s_CmdHandlerDelegates[cmdHash];
                result = invoker.DebugString();
            }
            return(result);
        }