From f57b58a83e17b18144cdf362e4d1acc7a5d2c16c Mon Sep 17 00:00:00 2001 From: vis2k Date: Tue, 15 Jan 2019 23:33:28 +0100 Subject: [PATCH] Sort modifiers --- Assets/Mirror/Runtime/NetworkServer.cs | 2 +- Assets/Mirror/Weaver/Weaver.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Mirror/Runtime/NetworkServer.cs b/Assets/Mirror/Runtime/NetworkServer.cs index 164abacc5..abe55eb63 100644 --- a/Assets/Mirror/Runtime/NetworkServer.cs +++ b/Assets/Mirror/Runtime/NetworkServer.cs @@ -470,7 +470,7 @@ public static void RegisterHandler(short msgType, NetworkMessageDelegate handler handlers[msgType] = handler; } - static public void RegisterHandler(MsgType msgType, NetworkMessageDelegate handler) + public static void RegisterHandler(MsgType msgType, NetworkMessageDelegate handler) { RegisterHandler((short)msgType, handler); } diff --git a/Assets/Mirror/Weaver/Weaver.cs b/Assets/Mirror/Weaver/Weaver.cs index 873bb9c22..6c42fdda0 100644 --- a/Assets/Mirror/Weaver/Weaver.cs +++ b/Assets/Mirror/Weaver/Weaver.cs @@ -319,7 +319,7 @@ public static MethodReference GetReadFunc(TypeReference variable) return newReaderFunc; } - static public void RegisterReadFunc(string name, MethodDefinition newReaderFunc) + public static void RegisterReadFunc(string name, MethodDefinition newReaderFunc) { lists.readFuncs[name] = newReaderFunc; lists.generatedReadFunctions.Add(newReaderFunc);