mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
NetworkBehaviour: removed unused ContainsCommandDelegate function
This commit is contained in:
parent
a1e3d94f2f
commit
113eb2a8f0
@ -294,11 +294,6 @@ static bool GetInvokerForHash(int cmdHash, UNetInvokeType invokeType, out CmdDel
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
internal bool ContainsCommandDelegate(int cmdHash)
|
|
||||||
{
|
|
||||||
return s_CmdHandlerDelegates.ContainsKey(cmdHash);
|
|
||||||
}
|
|
||||||
|
|
||||||
internal bool InvokeCommandDelegate(int cmdHash, NetworkReader reader)
|
internal bool InvokeCommandDelegate(int cmdHash, NetworkReader reader)
|
||||||
{
|
{
|
||||||
if (!s_CmdHandlerDelegates.ContainsKey(cmdHash))
|
if (!s_CmdHandlerDelegates.ContainsKey(cmdHash))
|
||||||
|
Loading…
Reference in New Issue
Block a user