mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Weaver: ReaderWriterProcessor.ProcessReadersAndWriters renamed to Process for consistency
This commit is contained in:
parent
84602aace6
commit
16f8f05abe
@ -1,3 +1,4 @@
|
||||
// finds all readers and writers and register them
|
||||
using System.IO;
|
||||
using Mono.CecilX;
|
||||
using UnityEditor.Compilation;
|
||||
@ -6,8 +7,7 @@ namespace Mirror.Weaver
|
||||
{
|
||||
public static class ReaderWriterProcessor
|
||||
{
|
||||
// find all readers and writers and register them
|
||||
public static void ProcessReadersAndWriters(AssemblyDefinition CurrentAssembly)
|
||||
public static void Process(AssemblyDefinition CurrentAssembly)
|
||||
{
|
||||
Readers.Init();
|
||||
Writers.Init();
|
||||
|
@ -300,7 +300,7 @@ static bool Weave(string assName, AssemblyDefinition unityAssembly, AssemblyDefi
|
||||
|
||||
WeaverTypes.SetupTargetTypes(unityAssembly, mirrorAssembly, CurrentAssembly);
|
||||
System.Diagnostics.Stopwatch rwstopwatch = System.Diagnostics.Stopwatch.StartNew();
|
||||
ReaderWriterProcessor.ProcessReadersAndWriters(CurrentAssembly);
|
||||
ReaderWriterProcessor.Process(CurrentAssembly);
|
||||
rwstopwatch.Stop();
|
||||
Console.WriteLine("Find all reader and writers took " + rwstopwatch.ElapsedMilliseconds + " milliseconds");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user