private static IEnumerable <CodeInstruction> Transpiler(IEnumerable <CodeInstruction> codes) { return(Trans.ReplaceCall("InLobby", AccessTools.Method(typeof(JIPAcceptConn), "MaybeInLobby"), codes)); }
private static IEnumerable <CodeInstruction> Transpiler(IEnumerable <CodeInstruction> codes) { return(Trans.FieldReadModifier("m_match_has_started", AccessTools.Method(typeof(MPJoinInProgress), "MatchHasStartedMod"), codes)); }