Removed more unused variables

This commit is contained in:
Paul Pacheco 2019-08-30 21:49:26 -05:00
parent bd44d35bae
commit 702b183034

View File

@ -66,8 +66,6 @@ class Weaver
public static TypeReference NetworkWriterType;
public static MethodReference NetworkWriterCtor;
public static MethodReference NetworkReaderCtor;
public static MethodReference getComponentReference;
public static MethodReference getNetIdReference;
public static TypeReference NetworkIdentityType;
@ -300,14 +298,7 @@ static void SetupTargetTypes()
NetworkReaderType = NetAssembly.MainModule.GetType("Mirror.NetworkReader");
TypeDefinition NetworkReaderDef = NetworkReaderType.Resolve();
NetworkReaderCtor = Resolvers.ResolveMethod(NetworkReaderDef, CurrentAssembly, ".ctor");
NetworkWriterType = NetAssembly.MainModule.GetType("Mirror.NetworkWriter");
TypeDefinition NetworkWriterDef = NetworkWriterType.Resolve();
NetworkWriterCtor = Resolvers.ResolveMethod(NetworkWriterDef, CurrentAssembly, ".ctor");
NetworkServerGetActive = Resolvers.ResolveMethod(NetworkServerType, CurrentAssembly, "get_active");
NetworkServerGetLocalClientActive = Resolvers.ResolveMethod(NetworkServerType, CurrentAssembly, "get_localClientActive");