NetworkBehaviour: removed unused GetInvoker function

This commit is contained in:
vis2k 2018-12-30 17:23:00 +01:00
parent 9c21f76234
commit c1f510882d

View File

@ -255,17 +255,6 @@ protected static void RegisterEventDelegate(Type invokeClass, string eventName,
if (LogFilter.Debug) { Debug.Log("RegisterEventDelegate hash:" + eventHash + " " + func.GetMethodName()); }
}
internal static string GetInvoker(int cmdHash)
{
if (!s_CmdHandlerDelegates.ContainsKey(cmdHash))
{
return null;
}
Invoker inv = s_CmdHandlerDelegates[cmdHash];
return inv.DebugString();
}
// wrapper fucntions for each type of network operation
internal static bool GetInvokerForHashCommand(int cmdHash, out CmdDelegate invokeFunction)
{