mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Removed more unused variables
This commit is contained in:
parent
bd44d35bae
commit
702b183034
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user