Weaver: removed findLocalObjectReference because it's not needed anymore.

This commit is contained in:
vis2k 2019-01-15 16:41:03 +01:00
parent c96f44f73f
commit 434b778aa9

View File

@ -68,7 +68,6 @@ class Weaver
public static TypeReference IEnumeratorType;
public static TypeReference ClientSceneType;
public static MethodReference FindLocalObjectReference;
public static MethodReference ReadyConnectionReference;
public static TypeReference ComponentType;
@ -1137,7 +1136,6 @@ static void SetupTargetTypes()
ComponentType = m_UnityAssemblyDefinition.MainModule.GetType("UnityEngine.Component");
ClientSceneType = m_UNetAssemblyDefinition.MainModule.GetType("Mirror.ClientScene");
FindLocalObjectReference = Resolvers.ResolveMethod(ClientSceneType, scriptDef, "FindLocalObject");
ReadyConnectionReference = Resolvers.ResolveMethod(ClientSceneType, scriptDef, "get_readyConnection");
// get specialized GetComponent<NetworkIdentity>()