mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Weaver: remove unused MemoryStreamType and Ctor
This commit is contained in:
parent
d31ad60a59
commit
d928817a3d
@ -68,8 +68,6 @@ class Weaver
|
||||
|
||||
public static MethodReference NetworkWriterCtor;
|
||||
public static MethodReference NetworkReaderCtor;
|
||||
public static TypeReference MemoryStreamType;
|
||||
public static MethodReference MemoryStreamCtor;
|
||||
public static MethodReference getComponentReference;
|
||||
public static MethodReference getUNetIdReference;
|
||||
public static TypeReference NetworkIdentityType;
|
||||
@ -1283,7 +1281,6 @@ static void SetupTargetTypes()
|
||||
valueTypeType = ImportCorLibType("System.ValueType");
|
||||
typeType = ImportCorLibType("System.Type");
|
||||
IEnumeratorType = ImportCorLibType("System.Collections.IEnumerator");
|
||||
MemoryStreamType = ImportCorLibType("System.IO.MemoryStream");
|
||||
guidType = ImportCorLibType("System.Guid");
|
||||
|
||||
NetworkReaderType = m_UNetAssemblyDefinition.MainModule.GetType("Mirror.NetworkReader");
|
||||
@ -1296,8 +1293,6 @@ static void SetupTargetTypes()
|
||||
|
||||
NetworkWriterCtor = ResolveMethod(NetworkWriterDef, ".ctor");
|
||||
|
||||
MemoryStreamCtor = ResolveMethod(MemoryStreamType, ".ctor");
|
||||
|
||||
NetworkServerGetActive = ResolveMethod(NetworkServerType, "get_active");
|
||||
NetworkServerGetLocalClientActive = ResolveMethod(NetworkServerType, "get_localClientActive");
|
||||
NetworkClientGetActive = ResolveMethod(NetworkClientType, "get_active");
|
||||
|
Loading…
Reference in New Issue
Block a user