mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Sort modifiers
This commit is contained in:
parent
7161126e67
commit
f57b58a83e
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user