NetworkBehaviour: removed unused GetCmdHashCmdName/RpcName/EventName functions

This commit is contained in:
vis2k 2018-12-30 17:26:31 +01:00
parent 113eb2a8f0
commit dd7915bf75

View File

@ -382,21 +382,6 @@ static string GetCmdHashPrefixName(int cmdHash, string prefix)
return name;
}
internal static string GetCmdHashCmdName(int cmdHash)
{
return GetCmdHashPrefixName(cmdHash, "InvokeCmd");
}
internal static string GetCmdHashRpcName(int cmdHash)
{
return GetCmdHashPrefixName(cmdHash, "InvokeRpc");
}
internal static string GetCmdHashEventName(int cmdHash)
{
return GetCmdHashPrefixName(cmdHash, "InvokeSyncEvent");
}
// ----------------------------- Helpers --------------------------------
[EditorBrowsable(EditorBrowsableState.Never)]