mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Removed unused fields
This commit is contained in:
parent
072a049bfa
commit
1a26c78059
@ -93,9 +93,6 @@ class Weaver
|
|||||||
public static MethodReference NetworkWriterWritePackedInt32;
|
public static MethodReference NetworkWriterWritePackedInt32;
|
||||||
public static MethodReference NetworkReaderReadPackedUInt64;
|
public static MethodReference NetworkReaderReadPackedUInt64;
|
||||||
|
|
||||||
public static MethodReference NetworkReadUInt16;
|
|
||||||
public static MethodReference NetworkWriteUInt16;
|
|
||||||
|
|
||||||
// custom attribute types
|
// custom attribute types
|
||||||
public static TypeReference SyncVarType;
|
public static TypeReference SyncVarType;
|
||||||
public static TypeReference CommandType;
|
public static TypeReference CommandType;
|
||||||
@ -318,10 +315,6 @@ static void SetupTargetTypes()
|
|||||||
NetworkWriterWritePackedInt32 = Resolvers.ResolveMethod(NetworkWriterType, CurrentAssembly, "WritePackedInt32");
|
NetworkWriterWritePackedInt32 = Resolvers.ResolveMethod(NetworkWriterType, CurrentAssembly, "WritePackedInt32");
|
||||||
NetworkWriterWritePackedUInt64 = Resolvers.ResolveMethod(NetworkWriterType, CurrentAssembly, "WritePackedUInt64");
|
NetworkWriterWritePackedUInt64 = Resolvers.ResolveMethod(NetworkWriterType, CurrentAssembly, "WritePackedUInt64");
|
||||||
|
|
||||||
|
|
||||||
NetworkReadUInt16 = Resolvers.ResolveMethod(NetworkReaderType, CurrentAssembly, "ReadUInt16");
|
|
||||||
NetworkWriteUInt16 = Resolvers.ResolveMethodWithArg(NetworkWriterType, CurrentAssembly, "Write", uint16Type);
|
|
||||||
|
|
||||||
CmdDelegateReference = NetAssembly.MainModule.GetType("Mirror.NetworkBehaviour/CmdDelegate");
|
CmdDelegateReference = NetAssembly.MainModule.GetType("Mirror.NetworkBehaviour/CmdDelegate");
|
||||||
CmdDelegateConstructor = Resolvers.ResolveMethod(CmdDelegateReference, CurrentAssembly, ".ctor");
|
CmdDelegateConstructor = Resolvers.ResolveMethod(CmdDelegateReference, CurrentAssembly, ".ctor");
|
||||||
CurrentAssembly.MainModule.ImportReference(gameObjectType);
|
CurrentAssembly.MainModule.ImportReference(gameObjectType);
|
||||||
|
Loading…
Reference in New Issue
Block a user