NetworkBehaviour: removed unused ContainsCommandDelegate function

This commit is contained in:
vis2k 2018-12-30 17:24:36 +01:00
parent a1e3d94f2f
commit 113eb2a8f0

View File

@ -294,11 +294,6 @@ static bool GetInvokerForHash(int cmdHash, UNetInvokeType invokeType, out CmdDel
return true;
}
internal bool ContainsCommandDelegate(int cmdHash)
{
return s_CmdHandlerDelegates.ContainsKey(cmdHash);
}
internal bool InvokeCommandDelegate(int cmdHash, NetworkReader reader)
{
if (!s_CmdHandlerDelegates.ContainsKey(cmdHash))