From 97c05ac91d16fc395eec0f41201d3e96a6ab711d Mon Sep 17 00:00:00 2001 From: Paul Pacheco Date: Mon, 8 Oct 2018 09:13:21 -0500 Subject: [PATCH] Remove unused method --- Mirror/Weaver/UNetBehaviourProcessor.cs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Mirror/Weaver/UNetBehaviourProcessor.cs b/Mirror/Weaver/UNetBehaviourProcessor.cs index 97e707bdb..c6de2ef1c 100644 --- a/Mirror/Weaver/UNetBehaviourProcessor.cs +++ b/Mirror/Weaver/UNetBehaviourProcessor.cs @@ -113,15 +113,6 @@ static void WriteCreateWriter(ILProcessor worker) worker.Append(worker.Create(OpCodes.Stloc_0)); } - static void WriteMessageId(ILProcessor worker, int msgId) - { - // write msg id - worker.Append(worker.Create(OpCodes.Ldloc_0)); // load 'writer.' - worker.Append(worker.Create(OpCodes.Ldc_I4, msgId)); - worker.Append(worker.Create(OpCodes.Conv_U2)); - worker.Append(worker.Create(OpCodes.Callvirt, Weaver.NetworkWriterWriteInt16)); - } - static bool WriteArguments(ILProcessor worker, MethodDefinition md, string errString, bool skipFirst) { // write each argument