mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkBehaviour: removed unused GetInvoker function
This commit is contained in:
parent
9c21f76234
commit
c1f510882d
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user