mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
refactor: remove unused parameter
This commit is contained in:
parent
81c9644a07
commit
683ada6bd1
@ -272,7 +272,7 @@ public static void RegisterWriteFunc(string name, MethodDefinition newWriterFunc
|
||||
WeaveLists.writeFuncs[name] = newWriterFunc;
|
||||
WeaveLists.generatedWriteFunctions.Add(newWriterFunc);
|
||||
|
||||
ConfirmGeneratedCodeClass(CurrentAssembly.MainModule);
|
||||
ConfirmGeneratedCodeClass();
|
||||
WeaveLists.generateContainerClass.Methods.Add(newWriterFunc);
|
||||
}
|
||||
|
||||
@ -337,7 +337,7 @@ public static void RegisterReadFunc(string name, MethodDefinition newReaderFunc)
|
||||
WeaveLists.readFuncs[name] = newReaderFunc;
|
||||
WeaveLists.generatedReadFunctions.Add(newReaderFunc);
|
||||
|
||||
ConfirmGeneratedCodeClass(CurrentAssembly.MainModule);
|
||||
ConfirmGeneratedCodeClass();
|
||||
WeaveLists.generateContainerClass.Methods.Add(newReaderFunc);
|
||||
}
|
||||
|
||||
@ -676,7 +676,7 @@ static MethodDefinition GenerateReadFunction(TypeReference variable)
|
||||
return readerFunc;
|
||||
}
|
||||
|
||||
static void ConfirmGeneratedCodeClass(ModuleDefinition moduleDef)
|
||||
static void ConfirmGeneratedCodeClass()
|
||||
{
|
||||
if (WeaveLists.generateContainerClass == null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user